Template:XMLtype: Difference between revisions
Jump to navigation
Jump to search
(parameter 5 is now free text, since some types are not always global or always local) |
(adding position parameter for aesthetic improvement for top/bottom rows) |
||
Line 6: | Line 6: | ||
|{{{5}}} | |{{{5}}} | ||
|- | |- | ||
|style="border-style:solid; border-width:0px | |style="border-style:solid; border-width:{{#ifeq:{{{position}}}|top|1|0}}px 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]]. | ||
Parameters: | Parameters: | ||
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=top/bottom" parameter adjusts the border if you are placing this template as the first or last element in a table. | |||
[[Category:General table templates]]</noinclude> | [[Category:General table templates]]</noinclude> |
Revision as of 02:27, 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=top/bottom" parameter adjusts the border if you are placing this template as the first or last element in a table.