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

From FSDeveloper Wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
The '''Applicable''' ''infobox'' is intended to be placed in '''all mission ObjRef pages'''.
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
Line 15: 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 25: Line 38:
* 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.


=== Example ===
=== Examples ===


==== ???? ====
==== Not Validated ====
For ???
For content which is '''Not Validated'''
{{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 = 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 35: Line 54:
}}
}}


==== ???? ====
==== No Parent ====
For no parent
For nodes which can have '''No Parent'''.
{{Infobox-Applicable-Mission-ObjRef
{{Infobox-Applicable-Mission-ObjRef
| Content_Validated = true
| Nodes_Parent =  
| Nodes_Parent =  
| Nodes_Child = List of permissible child nodes
| Nodes_Child = List of permissible child nodes
Line 43: Line 63:
}}
}}


==== ???? ====
==== No Child ====
For no child
For nodes which can have '''No Child'''.
{{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
| Nodes_Parent = List of permissible parent nodes
| Nodes_Parent = List of permissible parent nodes
| Nodes_Child =  
| Nodes_Child =  
Line 61: 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