Template:XMLtype: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(Anchor seems to mess up whatever it touches)
(will this manual anchor be any better?)
Line 1: Line 1:
<includeonly>
<includeonly>
{{Anchor|{{{1}}}}}
|-
|-
|style="vertical-align:center"|'''[[XML:{{{1}}}|{{{1}}}]]'''
|<span id="{{{1}}}">style="vertical-align:center"|'''[[XML:{{{1}}}|{{{1}}}]]'''
|style="vertical-align:center"|{{#ifeq:{{{3}}}|yes|[[Image:Aqua Dot-Green.png]]|{{#ifeq:{{{3}}}|no|[[Image:Aqua Dot-Red.png]]|[[Image:Aqua Dot-Yellow.png]]}}|}}
|style="vertical-align:center"|{{#ifeq:{{{3}}}|yes|[[Image:Aqua Dot-Green.png]]|{{#ifeq:{{{3}}}|no|[[Image:Aqua Dot-Red.png]]|[[Image:Aqua Dot-Yellow.png]]}}|}}
|style="vertical-align:center"|'''{{{2}}}'''
|style="vertical-align:center"|'''{{{2}}}'''
|style="vertical-align:center"|{{{4}}}
|style="vertical-align:center"|{{{4}}}
|style="vertical-align:center"|{{{5}}}
|style="vertical-align:center"|{{{5}}}</span>
|-
|-
|style="border-style:solid; border-width:0px 0px {{#ifeq:{{{position}}}|bottom|0|1}}px 0px; border-bottom-color:#AAA" colspan="5"|{{{6}}}</includeonly><noinclude>This template is used to construct the tables on [[XML:File types]].
|style="border-style:solid; border-width:0px 0px {{#ifeq:{{{position}}}|bottom|0|1}}px 0px; border-bottom-color:#AAA" colspan="5"|{{{6}}}</includeonly><noinclude>This template is used to construct the tables on [[XML:File types]].

Revision as of 22:16, 10 April 2014

This template is used to construct the tables on XML:File types.

Parameters:

  1. Tag, e.g. "ONCC". This will be turned into a link in the format [[XML:ONCC]].
  2. File type name, e.g. "Oni Character Class".
  3. Doc status. "yes" produces a Aqua Dot-Green.png, "no" produces a Aqua Dot-Red.png, and any other text, like "some", produces a Aqua Dot-Yellow.png.
  4. File name, e.g. "BINAEINOimpact_effects".
  5. Scope. You can write anything here, but typically this parameter is "global" or "local".
  6. Description. You can use a section link like "[[#BINA|BINA]]" in this text to allow the reader to jump to the section of the page that discusses BINA, as this template uses {{Anchor}} to place a HTML section anchor with the name that you pass in as parameter 1.
  • The optional "position=bottom" parameter removes the bottom border from the rows output by the template, for when you are placing this template as the last element in a table. Otherwise you get a double border, from the bottom of the row as well as the table itself.