Template:Infobox-Applicable-Mission-ObjRef/doc: Difference between revisions

From FSDeveloper Wiki
Jump to navigationJump to search
m (New page: {{:Ambox-Wiki-Editors}} {{Infobox-Applicable-Mission-ObjRef | Nodes_Parent = List of permissible parent nodes | Nodes_Child = List of permissible child nodes | Nodes_Illegal = List of ille...)
 
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{:Ambox-Wiki-Editors}}
{{:Ambox-Wiki-Editors}}
Proof of concept test page for Infobox-Applicable-Mission-ObjRef.
The '''Applicable''' ''infobox'' is intended to be placed in '''all mission ObjRef pages'''.
== ??? ==
{{Infobox-Applicable-Mission-ObjRef
{{Infobox-Applicable-Mission-ObjRef
| name = {{{title|{{{name|{{PAGENAME}}}}}}}}
| state = {{{state|autocollapse}}}
| title = The title
| above = Text above
| below = Text below
| Content_Validated = true/false
| Nodes_Parent = List of permissible parent nodes
| Nodes_Parent = List of permissible parent nodes
| Nodes_Child = List of permissible child nodes
| Nodes_Child = List of permissible child nodes
| Nodes_Illegal = List of illegal child nodes
| Nodes_Illegal = List of illegal child nodes
}}
}}
Proof of concept test page for Infobox-Applicable-Mission-ObjRef.
The '''Applicable''' ''infobox'' is intended to be placed at the top of '''all pages'''.
<br>
It gives a clear indicator of page content's FS version applicability.
Contains links to the FS version categories.


FSXA is included as a seperate version as there'll be ~50 FSXA specific pages.
== Useage ==
== Useage ==
* Paste the following code into the required page.
* Paste the following code into the required page.
Line 19: Line 22:
<pre>
<pre>
{{Infobox-Applicable-Mission-ObjRef
{{Infobox-Applicable-Mission-ObjRef
| name = {{{title|{{{name|{{PAGENAME}}}}}}}}
| state = {{{state|autocollapse}}}
| title = The title
| above = Text above
| below = Text below
| Content_Validated = true/false
| Nodes_Parent = List of permissible parent nodes
| Nodes_Parent = List of permissible parent nodes
| Nodes_Child = List of permissible child nodes
| Nodes_Child = List of permissible child nodes
Line 28: Line 37:
* 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.
* FS2000 & FS98 - If not required '''anywhere in the entire Wiki''', I will then comment these out within the source template.
=== Examples ===
==== Not Validated ====
For content which is '''Not Validated'''
{{Infobox-Applicable-Mission-ObjRef
| name = {{{title|{{{name|{{PAGENAME}}}}}}}}
| state = {{{state|autocollapse}}}
| title = The title
| above = Text above
| below = Text below
| Content_Validated = false
| Nodes_Parent = List of permissible parent nodes
| Nodes_Child = List of permissible child nodes
| Nodes_Illegal = List of illegal child nodes
}}
==== No Parent ====
For nodes which can have '''No Parent'''.
{{Infobox-Applicable-Mission-ObjRef
| Content_Validated = true
| Nodes_Parent =
| Nodes_Child = List of permissible child nodes
| Nodes_Illegal = List of illegal child nodes
}}
==== No Child ====
For nodes which can have '''No Child'''.
{{Infobox-Applicable-Mission-ObjRef
| name = {{{title|{{{name|{{PAGENAME}}}}}}}}
| state = {{{state|autocollapse}}}
| title = The title
| above = Text above
| below = Text below
| Content_Validated = true
| Nodes_Parent = List of permissible parent nodes
| Nodes_Child =
| Nodes_Illegal = List of illegal child nodes
}}


== Completed ==
== Completed ==
Line 39: Line 87:
== Test Code ==
== Test Code ==
Test - {{lc:Convert UPPER to all LoWeR}}
Test - {{lc:Convert UPPER to all LoWeR}}
[[Category:Wiki-Documentation]]

Latest revision as of 06:49, 18 May 2008

Proof of concept test page for Infobox-Applicable-Mission-ObjRef.

The Applicable infobox is intended to be placed in all mission ObjRef pages.

???

Infobox-Applicable-Mission-ObjRef/doc
Link to Nodes -   Warning - This content has not been validated !  
Called By List of permissible parent nodes
Calls List of permissible child nodes
Illegal List of illegal child nodes

Useage

  • Paste the following code into the required page.
  • It should be inserted as the top line in the page.
{{Infobox-Applicable-Mission-ObjRef
| name = {{{title|{{{name|{{PAGENAME}}}}}}}}
| state = {{{state|autocollapse}}}
| title = The title
| above = Text above
| below = Text below
| Content_Validated = true/false
| Nodes_Parent = List of permissible parent nodes
| Nodes_Child = List of permissible child nodes
| Nodes_Illegal = List of illegal child nodes
}}
  • 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.
  • FS2000 & FS98 - If not required anywhere in the entire Wiki, I will then comment these out within the source template.

Examples

Not Validated

For content which is Not Validated

Infobox-Applicable-Mission-ObjRef/doc
Link to Nodes -   Warning - This content has not been validated !  
Called By List of permissible parent nodes
Calls List of permissible child nodes
Illegal List of illegal child nodes

No Parent

For nodes which can have No Parent.

Infobox-Applicable-Mission-ObjRef/doc
Link to Nodes
Called By Not applicable
Calls List of permissible child nodes
Illegal List of illegal child nodes

No Child

For nodes which can have No Child.

Infobox-Applicable-Mission-ObjRef/doc
Link to Nodes
Called By List of permissible parent nodes
Calls Not applicable
Illegal List of illegal child nodes

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).

ToDo

  • 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