Template:Infobox-Applicable-FSVersion/doc: Difference between revisions
m (Added FS versions) |
m (Updated Completed actions) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
{{Infobox-Applicable-FSVersion | {{Infobox-Applicable-FSVersion | ||
| | | MSFS2024 = unknown | ||
| MSFS2020 = unknown | |||
| FSXI = unknown | |||
| P3D5 = unknown | |||
| P3D4 = unknown | | P3D4 = unknown | ||
| P3D3 = | | P3D3 = unknown | ||
| P3D2 = | | P3D2 = true | ||
| P3D = | | P3D = unknown | ||
| FSW = unknown | | FSW = unknown | ||
| | | FSXSE = unknown | ||
| FSXA = unknown | | FSXA = unknown | ||
| FSX = unknown | | FSX = unknown | ||
Line 17: | Line 19: | ||
| XP10 = unknown | | XP10 = unknown | ||
| XP9 = unknown | | XP9 = unknown | ||
}} | }} | ||
The ''Infobox-Applicable-FSVersion'', (small box containing links, to right of this text), | The ''Infobox-Applicable-FSVersion'', (small box containing links, to right of this text), | ||
<br> | <br> | ||
provides ''at-a-glance'' indication of a page or category content's relevance to the various flight-simulator | provides ''at-a-glance'' indication of a page or category content's relevance to the various flight-simulator product versions. | ||
''For demonstration purposes'' - This current page's ''Infobox-Applicable-FSVersion'' is set to ''FS2002''. | Applicable == Green background | ||
<br> | |||
Not Applicable == Red background | |||
''For demonstration purposes'' - This current page's ''Infobox-Applicable-FSVersion'' is set to ''FS2002'' and ''LM P3D2''. | |||
== Purpose == | == Purpose == | ||
Line 34: | Line 41: | ||
* Instant recognition. | * Instant recognition. | ||
* Common reference point. | * Common reference point. | ||
* Direct links to FS-Version's | * Direct links to an FS-Version's relevant information. | ||
* Automatic footer generation of FS-Version ''Categories:'' links. | * Automatic footer generation of FS-Version ''Categories:'' links. | ||
* Simple to place & edit. | * Simple to place & edit. | ||
* Extensible to suport future FS-versions. | * Extensible to suport future FS-versions. | ||
== | == Usage == | ||
The box should be present on every page, (article or category). | The box should be present on every page, (article or category). | ||
Line 52: | Line 58: | ||
<pre> | <pre> | ||
{{Infobox-Applicable-FSVersion | {{Infobox-Applicable-FSVersion | ||
| MSFS2024 = unknown | |||
| MSFS2020 = unknown | |||
| FSXI = unknown | |||
| P3D5 = unknown | |||
| P3D4 = unknown | |||
| P3D3 = unknown | |||
| P3D2 = unknown | | P3D2 = unknown | ||
| P3D = unknown | | P3D = unknown | ||
| | | FSW = unknown | ||
| FSXSE = unknown | |||
| FSXA = unknown | | FSXA = unknown | ||
| FSX = unknown | | FSX = unknown | ||
| FS2004 = unknown | | FS2004 = unknown | ||
| FS2002 = unknown | | FS2002 = unknown | ||
| XP11 = unknown | |||
| XP10 = unknown | | XP10 = unknown | ||
| XP9 = unknown | | XP9 = unknown | ||
}} | }} | ||
</pre> | </pre> | ||
Line 71: | Line 86: | ||
* ''Show Preview'' to check elements display as intended. | * ''Show Preview'' to check elements display as intended. | ||
* ''Save Page'' to make your edits permanent. | * ''Save Page'' to make your edits permanent. | ||
=== Editing an existing Infobox === | === Editing an existing Infobox === | ||
Some older pages contain earlier versions of the infobox which do not include all the FS-Versions. | |||
To update an infobox to provide full FS-Version coverage, | To update an infobox to provide full FS-Version coverage, | ||
<br> | <br> | ||
copy & paste the required lines into the infobox. | copy & paste the required lines into the infobox. | ||
Or replace entirely, then edit accordingly. | |||
'''Do not delete any of the FS version ''categories'' '''. | |||
== Development == | == Development == | ||
Line 91: | Line 103: | ||
* 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 | * Automatically inserts the matching FS version '''Categories:''' into page footer entries. | ||
* Removed - FS2000 & FS98 - If not required '''anywhere in the entire Wiki''', I will then comment these out within the source template. | * Removed - FS2000 & FS98 - If not required '''anywhere in the entire Wiki''', I will then comment these out within the source template. | ||
* Reworked - FSXI as MS Flight | * FSXA referenced as a seperate version. | ||
* Added - XP10 | * Reworked - FSXI as MS Flight | ||
* Added - LM P3D | * Added - XP9, XP10, XP11 | ||
* Added - LM P3D through LM P3D v5 | |||
* Added - MSFS specific category | |||
* Replaced - MSFS with MSFS2020, to differentiate from MSFS2024, (updated entries on every ARTICLE and CATEGORY where MSFS = true) | |||
* Added - MSFS2024 specific category | |||
=== ToDo === | === ToDo === | ||
* Add category generation suppression option for pages like this. | * 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. |
Latest revision as of 17:09, 25 May 2024
This page is for any potential contributors, editors, and admins of the FSDeveloper Wiki. It is not about developing for flightsim. |
Applicable |
---|
MSFS2024 |
MSFS2020 |
MS Flight |
LM P3D5 |
LM P3D4 |
LM P3D3 |
LM P3D2 |
LM P3D |
FS World |
FSXSE |
FSXA |
FSX |
FS2004 |
FS2002 |
XP11 |
XP10 |
XP9 |
The Infobox-Applicable-FSVersion, (small box containing links, to right of this text),
provides at-a-glance indication of a page or category content's relevance to the various flight-simulator product versions.
Applicable == Green background
Not Applicable == Red background
For demonstration purposes - This current page's Infobox-Applicable-FSVersion is set to FS2002 and LM P3D2.
Purpose
Many wiki pages contained -
- No information relevant to current or recent FS versions.
- No mention as to which FS version they applied to.
- No footer category FS-version listing.
The Applicable FS-Version" infobox provides -
- Instant recognition.
- Common reference point.
- Direct links to an FS-Version's relevant information.
- Automatic footer generation of FS-Version Categories: links.
- Simple to place & edit.
- Extensible to suport future FS-versions.
Usage
The box should be present on every page, (article or category).
Positioning
The box should be positioned at the top of the page.
The box automatically aligns itself with the right-hand margin.
Installation
- Copy the following code to your clipboard.
{{Infobox-Applicable-FSVersion | MSFS2024 = unknown | MSFS2020 = unknown | FSXI = unknown | P3D5 = unknown | P3D4 = unknown | P3D3 = unknown | P3D2 = unknown | P3D = unknown | FSW = unknown | FSXSE = unknown | FSXA = unknown | FSX = unknown | FS2004 = unknown | FS2002 = unknown | XP11 = unknown | XP10 = unknown | XP9 = unknown }}
- Open the target page for insertion.
- Click the page's EDIT tab.
- Position the cursor in the top of the page's EDIT BOX, (before any text).
- Paste the code into the top line of the page.
- Edit the version applicability from unknown, to true or false, (case insensitive).
- Show Preview to check elements display as intended.
- Save Page to make your edits permanent.
Editing an existing Infobox
Some older pages contain earlier versions of the infobox which do not include all the FS-Versions.
To update an infobox to provide full FS-Version coverage,
copy & paste the required lines into the infobox.
Or replace entirely, then edit accordingly.
Do not delete any of the FS version categories .
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 inserts the matching FS version Categories: into page footer entries.
- Removed - FS2000 & FS98 - If not required anywhere in the entire Wiki, I will then comment these out within the source template.
- FSXA referenced as a seperate version.
- Reworked - FSXI as MS Flight
- Added - XP9, XP10, XP11
- Added - LM P3D through LM P3D v5
- Added - MSFS specific category
- Replaced - MSFS with MSFS2020, to differentiate from MSFS2024, (updated entries on every ARTICLE and CATEGORY where MSFS = true)
- Added - MSFS2024 specific category
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.