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

From FSDeveloper Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
| FSXI = false
| FSXI = false
| FSXA = false
| FSXA = false
| FSX = true
| FSX = false
| FS2004 = false
| FS2004 = false
| FS2002 = false
| FS2002 = true
| FS2000 = unknown
| FS2000 = unknown
| FS98 = unknown
| FS98 = unknown
Line 11: Line 11:
FS version applicability indicator for ''at-a-glance'' page content relevance.
FS version applicability indicator for ''at-a-glance'' page content relevance.


This page is listed in the wiki's ''FSX category'', as the ''Infobox-Applicable-FSVersion'' is set to ''FSX''.
This page is listed in the wiki's ''FS2002 category'', as the ''Infobox-Applicable-FSVersion'' is set to ''FS2002''.
<br>
<br>
This is partially deliberate, so new page creators can easily find the code.
It needed to be set to something as a demo.
== Purpose ==
== Purpose ==
Many wiki pages contained -
Many wiki pages contained -

Revision as of 16:13, 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
}}
  • Paste into 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, (FS11) - Placeholder, is commented out within the source template, it will be activated on FS11 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