Template:NoteTA/doc: Difference between revisions
From Test Wiki
Content deleted Content added
No edit summary |
mediawiki>Aaron Liu make G1 mediawiki by default |
||
| Line 1: | Line 1: | ||
{{TemplateData header}} |
|||
{{Lua|Module:NoteTA}} |
|||
<templatedata> |
|||
{{TemplateBox |
|||
{ |
|||
|1 = <var>i</var> |
|||
"params": { |
|||
|1label-en= Terms of the conversion |
|||
"1": { |
|||
|1d-en = <!-- English description of the first parameter the template takes --> |
|||
"label": "1", |
|||
|1aliases = <!-- List of aliases, separated by / (a slash) --> |
|||
"type": "string", |
|||
|1type = <!-- number, string, string/wiki-user-name, string/wiki-page-name, string/line; unknown --> |
|||
"required": false, |
|||
|1def = <!-- default value for the parameter --> |
|||
"example": "zh-cn:陆;zh-hk:港;zh-sg:马;zh-tw:臺;" |
|||
|1stat = <!-- required, optional or optional-; optional- means it is optional and omitted in the usage-sample --> |
|||
}, |
|||
"2": { |
|||
|2 = d<var>i</var> |
|||
"label": "2", |
|||
|2label-en= Description of the conversion |
|||
"type": "string", |
|||
|2d-en = |
|||
"required": false |
|||
|2aliases = |
|||
}, |
|||
|2type = |
|||
"3": { |
|||
|2def = |
|||
"label": "3", |
|||
|2stat = |
|||
"type": "string", |
|||
"required": false |
|||
|3 = G<var>i</var> |
|||
}, |
|||
|3label-en= Public conversion group |
|||
"4": { |
|||
|3d-en = |
|||
"label": "4", |
|||
|3aliases = |
|||
"type": "string", |
|||
|3type = |
|||
"required": false |
|||
|3def = |
|||
}, |
|||
|3stat = |
|||
"5": { |
|||
"label": "5", |
|||
|4 = T |
|||
"type": "string", |
|||
|4label-en= The conversion of the title |
|||
"required": false |
|||
|4d-en = |
|||
}, |
|||
|4aliases = |
|||
"6": { |
|||
|4type = |
|||
"label": "6", |
|||
|4def = |
|||
"type": "string", |
|||
|4stat = |
|||
"required": false |
|||
}, |
|||
|5 = dt |
|||
"7": { |
|||
|5label-en= Summary of the conversion's description |
|||
"label": "7", |
|||
|5d-en = |
|||
"type": "string", |
|||
|5aliases = |
|||
"required": false |
|||
|5type = |
|||
}, |
|||
|5def = |
|||
"8": { |
|||
|5stat = |
|||
"label": "8", |
|||
"type": "string", |
|||
|name = NoteTA |
|||
"required": false |
|||
|desc = This template is used on pages translated into Chinese to set up automatic [[:mw:Writing systems#LanguageConverter|language conversion]] between different variants of the Chinese language. See [[:mw:Topic:V3gv274uzc5c4k5l#flow-post-v3hc5sfj1ig2mq0c|this discussion]] for more details. |
|||
}, |
|||
|usage-notes = Parameters <code><var>i</var></code>, <code>d<var>i</var></code> and <code>G<var>i</var></code> designate parameters that can be used up to 30 times, i.e. the actual parameter names are <code>1</code>, …, <code>30</code>; <code>d1</code>, …, <code>d30</code> and <code>G1</code>, …, <code>G30</code>. |
|||
"9": { |
|||
|namespace = |
|||
"label": "9", |
|||
|usergroup = |
|||
"type": "string", |
|||
|shorthand = |
|||
"required": false |
|||
|mustbesubst = |
|||
}, |
|||
|setscats = |
|||
"10": { |
|||
|placement = |
|||
"label": "10", |
|||
|example = |
|||
"type": "string", |
|||
|example-value = |
|||
"required": false |
|||
|relieson = |
|||
}, |
|||
|seealso = |
|||
"11": { |
|||
|print = |
|||
"label": "11", |
|||
|type = |
|||
"type": "string", |
|||
|i18n-method = - |
|||
"required": false |
|||
|i18n-desc = |
|||
}, |
|||
|i18n-subpage = |
|||
"12": { |
|||
|i18n-mediawiki-msg = |
|||
"label": "12", |
|||
|useTemplateData = |
|||
"type": "string", |
|||
}} |
|||
"required": false |
|||
}, |
|||
"13": { |
|||
"label": "13", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"14": { |
|||
"label": "14", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"15": { |
|||
"label": "15", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"16": { |
|||
"label": "16", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"17": { |
|||
"label": "17", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"18": { |
|||
"label": "18", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"19": { |
|||
"label": "19", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"20": { |
|||
"label": "20", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"21": { |
|||
"label": "21", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"22": { |
|||
"label": "22", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"23": { |
|||
"label": "23", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"24": { |
|||
"label": "24", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"25": { |
|||
"label": "25", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"26": { |
|||
"label": "26", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"27": { |
|||
"label": "27", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"28": { |
|||
"label": "28", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"29": { |
|||
"label": "29", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"30": { |
|||
"label": "30", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"T": { |
|||
"label": "T", |
|||
"type": "string", |
|||
"required": false, |
|||
"example": "zh-cn:大陆标题;zh-hk:港澳標題;zh-sg:马新标题;zh-tw:臺灣標題;" |
|||
}, |
|||
"G1": { |
|||
"label": "G1", |
|||
"type": "string", |
|||
"required": false, |
|||
"example": "IT", |
|||
"default": "MediaWiki" |
|||
}, |
|||
"G2": { |
|||
"label": "G2", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"G3": { |
|||
"label": "G3", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"G4": { |
|||
"label": "G4", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"G5": { |
|||
"label": "G5", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"G6": { |
|||
"label": "G6", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"G7": { |
|||
"label": "G7", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"G8": { |
|||
"label": "G8", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"G9": { |
|||
"label": "G9", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"G10": { |
|||
"label": "G10", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"F1": { |
|||
"label": "F1", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"F2": { |
|||
"label": "F2", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"F3": { |
|||
"label": "F3", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"F4": { |
|||
"label": "F4", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"F5": { |
|||
"label": "F5", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"F6": { |
|||
"label": "F6", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"F7": { |
|||
"label": "F7", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"F8": { |
|||
"label": "F8", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"F9": { |
|||
"label": "F9", |
|||
"type": "string", |
|||
"required": false |
|||
}, |
|||
"F10": { |
|||
"label": "F10", |
|||
"type": "string", |
|||
"required": false |
|||
} |
|||
}, |
|||
"paramOrder": [ |
|||
"T", |
|||
"G1", |
|||
"G2", |
|||
"G3", |
|||
"G4", |
|||
"G5", |
|||
"G6", |
|||
"G7", |
|||
"G8", |
|||
"G9", |
|||
"G10", |
|||
"F1", |
|||
"F2", |
|||
"F3", |
|||
"F4", |
|||
"F5", |
|||
"F6", |
|||
"F7", |
|||
"F8", |
|||
"F9", |
|||
"F10", |
|||
"1", |
|||
"2", |
|||
"3", |
|||
"4", |
|||
"5", |
|||
"6", |
|||
"7", |
|||
"8", |
|||
"9", |
|||
"10", |
|||
"11", |
|||
"12", |
|||
"13", |
|||
"14", |
|||
"15", |
|||
"16", |
|||
"17", |
|||
"18", |
|||
"19", |
|||
"20", |
|||
"21", |
|||
"22", |
|||
"23", |
|||
"24", |
|||
"25", |
|||
"26", |
|||
"27", |
|||
"28", |
|||
"29", |
|||
"30" |
|||
], |
|||
"format": "block" |
|||
} |
|||
</templatedata> |
|||