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

From FSDeveloper Wiki
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 9: Line 9:
| FS98 = unknown
| FS98 = unknown
}}
}}
Proof of concept test page for Infobox-Applicable-FSVersion.
FS version indicator for page content relevance.
== Purpose ==
Many wiki pages contained -
* No information relevant to current or recent FS versions.
* No mention as to what version they applied to.
The only reference possibly being in the page footer category listing.


The '''Applicable''' ''infobox'' is intended to be placed at the top of '''all pages'''.
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).
<!--
HIDE -
template
applicable entries.
applicability
on the right-hand margin,
is to be placed at the top of '''all FS pages'''.
{{Infobox-Applicable-FSVersion
| FSXI = false
| FSXA = false
| FSX = false
| FS2004 = false
| FS2002 = false
| FS2000 = unknown
| FS98 = unknown
}}
<br>
<br>
It gives a clear indicator of page content's FS version applicability.
Contains links to the FS version categories. It also automatically generates the matching FS version '''Categories:''' footer entries.


FSXA is included as a seperate version as there'll be ~50 FSXA specific pages.
Infobox-Applicable-FSVersion.
-->
== Useage ==
== Useage ==
* Paste the following code into the required page.
* Copy the following code.
* It should be inserted as the top line in the page.
<pre>
<pre>
{{Infobox-Applicable-FSVersion
{{Infobox-Applicable-FSVersion
Line 28: Line 53:
| FS2004 = false
| FS2004 = false
| FS2002 = false
| FS2002 = false
| FS2000 = unknown
| FS98 = unknown
}}
}}
</pre>
</pre>
* Paste into 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'' '''.
* FSXI, (FS11) - Placeholder, is commented out within the source template, it will be activated on FS11 release.  
* FSXI, (FS11) - Placeholder, is commented out within the source template, it will be activated on FS11 release.  
* FS2000 & FS98 - If not required '''anywhere in the entire Wiki''', I will then comment these out within the source template.


== Completed ==
== Development ==
=== Completed ===
* Added links to FS version category pages.
* Added links to FS version category pages.
* Added link to this page.
* Added link to this page.
* Modified the <nowiki><div></nowiki> code to align it with top edge, (was displaced by 1em).
* Modified the <nowiki><div></nowiki> code to align it with top edge, (was displaced by 1em).
* Automatically generates the matching FS version '''Categories:''' footer entries.
* 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 ==
=== ToDo ===
* Add category generation suppression option for pages like this.
* Not sure if this is an issue - Modify <nowiki><div></nowiki> so that ''boxes'' for <nowiki><code></nowiki> and <nowiki><pre></nowiki> display correctly.
* Not sure if this is an issue - Modify <nowiki><div></nowiki> so that ''boxes'' for <nowiki><code></nowiki> and <nowiki><pre></nowiki> display correctly.


== Test Code ==
=== Test Code ===
Test - {{lc:Convert UPPER to all LoWeR}}
Test - {{lc:Convert UPPER to all LoWeR}}

Revision as of 11:52, 18 May 2008

FS version indicator for page content relevance.

Purpose

Many wiki pages contained -

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

The only reference possibly being in the page footer category 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