Template:XMLtype: Difference between revisions
Jump to navigation
Jump to search
m (/cat) |
(adding AE scope parameter) |
||
Line 6: | Line 6: | ||
|style="padding:5px 0px 0px 0px"|{{{4}}} | |style="padding:5px 0px 0px 0px"|{{{4}}} | ||
|style="padding:5px 0px 0px 0px"|{{{5}}} | |style="padding:5px 0px 0px 0px"|{{{5}}} | ||
|style="padding:5px 0px 0px 0px"|{{{6}}} | |||
|- | |- | ||
|style="border-style:solid; border-width:0px 0px {{#ifeq:{{{position}}}|bottom|0|1}}px 0px; border-bottom-color:#AAA" colspan="5"|{{{ | |style="border-style:solid; border-width:0px 0px {{#ifeq:{{{position}}}|bottom|0|1}}px 0px; border-bottom-color:#AAA" colspan="5"|{{{7}}}</includeonly><noinclude>This template is used to construct the tables on [[XML:File types]]. | ||
Parameters: | Parameters: | ||
Line 14: | Line 15: | ||
#Doc status. "yes" produces a [[Image:Aqua Dot-Green.png]], "no" produces a [[Image:Aqua Dot-Red.png]], and any other text, like "some", produces a [[Image:Aqua Dot-Yellow.png]]. | #Doc status. "yes" produces a [[Image:Aqua Dot-Green.png]], "no" produces a [[Image:Aqua Dot-Red.png]], and any other text, like "some", produces a [[Image:Aqua Dot-Yellow.png]]. | ||
#File name, e.g. "BINAEINOimpact_effects". | #File name, e.g. "BINAEINOimpact_effects". | ||
#Scope. You can write anything here, but typically this parameter is "global" or "local". | #Scope of resource in vanilla Oni. You can write anything here, but typically this parameter is "global" or "local". | ||
#Scope of resource in Anniversary Edition Oni. The AE globalizes certain resources. | |||
#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=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. | #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:Table templates]]</noinclude> | [[Category:Table templates]]</noinclude> |
Revision as of 21:19, 21 August 2016
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 of resource in vanilla Oni. You can write anything here, but typically this parameter is "global" or "local".
- Scope of resource in Anniversary Edition Oni. The AE globalizes certain resources.
- 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.