Template:XMLtype: Difference between revisions
Jump to navigation
Jump to search
(why isn't this working?) |
(forget it, I'll just give the table's top row a bottom border) |
||
Line 1: | Line 1: | ||
<includeonly>|- | <includeonly>|- | ||
| {{Anchor|{{{1}}}}}'''[[XML:{{{1}}}|{{{1}}}]]''' | |{{Anchor|{{{1}}}}}'''[[XML:{{{1}}}|{{{1}}}]]''' | ||
|'''{{{2}}}''' | |'''{{{2}}}''' | ||
|{{#ifeq:{{{3}}}|yes|[[Image:Aqua Dot-Green.png]]|{{#ifeq:{{{3}}}|no|[[Image:Aqua Dot-Red.png]]|[[Image:Aqua Dot-Yellow.png]]}}|}} | |{{#ifeq:{{{3}}}|yes|[[Image:Aqua Dot-Green.png]]|{{#ifeq:{{{3}}}|no|[[Image:Aqua Dot-Red.png]]|[[Image:Aqua Dot-Yellow.png]]}}|}} | ||
Line 15: | Line 15: | ||
#Scope. You can write anything here, but typically this parameter is "global" or "local". | #Scope. You can write anything here, but typically this parameter is "global" or "local". | ||
#Description. You can use a section link like <nowiki>"[[#BINA|BINA]]"</nowiki> in this text to allow the reader to jump to the section of the page that discusses BINA, as this template uses <nowiki>{{Anchor}}</nowiki> to place a HTML section anchor with the name that you pass in as parameter 1. | #Description. You can use a section link like <nowiki>"[[#BINA|BINA]]"</nowiki> in this text to allow the reader to jump to the section of the page that discusses BINA, as this template uses <nowiki>{{Anchor}}</nowiki> to place a HTML section anchor with the name that you pass in as parameter 1. | ||
*The optional "position= | *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. | ||
[[Category:General table templates]]</noinclude> | [[Category:General table templates]]</noinclude> |
Revision as of 02:40, 9 April 2014
This template is used to construct the tables on XML:File types.
Parameters:
- Tag, e.g. "ONCC". This will be turned into a link in the format [[XML:ONCC]].
- File type name, e.g. "Oni Character Class".
- Doc status. "yes" produces a , "no" produces a , and any other text, like "some", produces a .
- File name, e.g. "BINAEINOimpact_effects".
- Scope. You can write anything here, but typically this parameter is "global" or "local".
- 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.