Template:Attrtype: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (This revision and previous are available under: CC BY-SA 3.0. See list of authors in previous history below.) |
||
Line 1: | Line 1: | ||
References a type in XML element definitions. See {{t|api}}, {{t|apif}}, {{t|widget}}, {{t|wowapi}}. | |||
;Usage | |||
:{{t|attrtype|type|default}} | |||
:1 - plain name of the xml attribute type | |||
:2 - default value | |||
[[Category:General wiki templates]][[Category:Interface customization templates]] | |||
---- | |||
;Template | |||
<onlyinclude><includeonly><!-- | |||
-->([[XML attribute types|{{{1}}}]])<!-- | |||
-->{{#if:{{{2|}}}|'' Default is <!-- | |||
-->{{#switch:{{{1}}}<!-- | |||
-->|string="{{{2}}}"<!-- | |||
-->|#default={{{2}}}<!-- | |||
-->}}.''|}}<!-- | |||
--></includeonly></onlyinclude> |