Template:XMLtype: Difference between revisions
Jump to navigation
Jump to search
(added "display" parameter, just for WMM_) |
m (have to break this fake section link on account of ValBot's section link-checking script) |
||
Line 17: | Line 17: | ||
#Scope of resource in vanilla Oni. 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. | #Scope of resource in Anniversary Edition Oni. The AE globalizes certain resources. | ||
#Description. You can use a section link like < | #Description. You can use a section link like "[<span style="display:none">Don't mind me, just breaking this link in the raw markup for ValBot's sake.</span>[#BINA|BINA]]" 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 parameter "position=bottom" 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, one from the bottom of the row and one from the table itself. | #The optional parameter "position=bottom" 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, one from the bottom of the row and one from the table itself. | ||
#The optional "display" parameter allows you to specify a type name that does not match the location of the page on the wiki (this is used by "WMM_", which is at [[XML:WMM]] because MediaWiki does not let us create a page ending in an underscore). | #The optional "display" parameter allows you to specify a type name that does not match the location of the page on the wiki (this is used by "WMM_", which is at [[XML:WMM]] because MediaWiki does not let us create a page ending in an underscore). | ||
[[Category:Table templates]]</noinclude> | [[Category:Table templates]]</noinclude> |
Latest revision as of 16:25, 5 April 2021
This template is used to construct the tables on XML:File types.
Parameters (these are unnamed and order-dependent except for the last two):
- 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 parameter "position=bottom" 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, one from the bottom of the row and one from the table itself.
- The optional "display" parameter allows you to specify a type name that does not match the location of the page on the wiki (this is used by "WMM_", which is at XML:WMM because MediaWiki does not let us create a page ending in an underscore).