Template:Infobox-Applicable-FSVersion/doc: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
m (→‎Useage: MS Flight)
m (→‎Useage: Futureproofing for additional simulators)
Line 58: Line 58:
| FS2004 = false
| FS2004 = false
| FS2002 = false
| FS2002 = false
| XP10 = false
| XP9 = false
}}
}}
</pre>
</pre>
* Paste into the top line of the page.
* Paste into at the start of the top line of the page.
* Set the version applicability to '''true''', '''false''', or '''unknown''', (case insensitive).
* Set the version applicability to '''true''', '''false''', or '''unknown''', (case insensitive).
* '''Do not delete any of the FS version ''categories'' '''.
* '''Do not delete any of the FS version ''categories'' '''.

Revision as of 17:30, 9 August 2011

FS version applicability indicator for at-a-glance page content relevance.

This page is listed in the wiki's FS2002 category, as the Infobox-Applicable-FSVersion is set to FS2002.
It needed to be set to something as a demo.

Purpose

Many wiki pages contained -

  • No information relevant to current or recent FS versions.
  • No mention as to what version they applied to.
  • No footer category version listing.

The Applicable version infobox offers -

  • Instant recognition.
  • Common reference point.
  • Direct links to categories.
  • Automatic footer Categories: generation.
  • Simple to place & edit.
  • Support for future versions.
  • FSXA referenced as a seperate version, (~50 FSXA exclusive pages to be created).

Useage

  • Copy the following code.
{{Infobox-Applicable-FSVersion
| FSXI = false
| FSXA = false
| FSX = false
| FS2004 = false
| FS2002 = false
| XP10 = false 
| XP9 = false 
}}
  • Paste into at the start of the top line of the page.
  • Set the version applicability to true, false, or unknown, (case insensitive).
  • Do not delete any of the FS version categories .
  • FSXI, (MS Flight) - Placeholder, is commented out within the the downstream template, it will be activated on MS Flight release.

Development

Completed

  • Added links to FS version category pages.
  • Added link to this page.
  • Modified the <div> code to align it with top edge, (was displaced by 1em).
  • Automatically generates the matching FS version Categories: footer entries.
  • Removed - FS2000 & FS98 - If not required anywhere in the entire Wiki, I will then comment these out within the source template.

ToDo

  • Add category generation suppression option for pages like this.
  • Not sure if this is an issue - Modify <div> so that boxes for <code> and <pre> display correctly.

Test Code

Test - convert upper to all lower