Difference between revisions of "Template:Unofficial name/doc"
(→Usage: +Latvian and Russian cat links) |
(add subtemplates section) |
||
Line 38: | Line 38: | ||
* [[:Category:Card pages with an approximate Vietnamese name|Vietnamese]] | * [[:Category:Card pages with an approximate Vietnamese name|Vietnamese]] | ||
Unsupported input causes the page to instead be categorized under [[:Category:Card pages with a nonstandard approximate name]]. Support for additional languages is added on request on the [[Template talk:Approximate name|talk page]] or as encountered during deployment. | Unsupported input causes the page to instead be categorized under [[:Category:Card pages with a nonstandard approximate name]]. Support for additional languages is added on request on the [[Template talk:Approximate name|talk page]] or as encountered during deployment. | ||
+ | |||
+ | ==Subtemplates== | ||
+ | There are two subtemplates to this template: | ||
+ | |||
+ | * {{tl|Approximate name/category}} - handles the dirty details of categorizing card pages, so that the code doesn't have to be changed in 15 different places to add a single new language | ||
+ | * {{tl|Approximate name/cat header}} - a boilerplate header for the per-language subcategories of [[:Category:Card pages with an approximate name]], as listed above | ||
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
Revision as of 09:11, 26 November 2009
This is a documentation subpage for Template:Unofficial name. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
This template should be added to the top of articles using one or more approximated name, per the guidelines at Yu-Gi-Oh!:Arabic card names guidlines. It takes up to 15 unnamed parameters with one language name per parameter.
{{Approximate name|Arabic}}
results in
{{Approximate name|Arabic|Chinese}}
results in
{{Approximate name|Italian|Portuguese|Thai}}
results in
This template automatically categorizes pages into subcategories of Category:Card pages with an approximate name. The following languages are currently supported:
- Arabic
- Bulgarian
- Chinese
- Croatian
- French
- German
- Greek
- Irish
- Italian
- Japanese
- Korean
- Latvian
- Polish
- Portuguese
- Romanian
- Russian
- Thai
- Turkish
- Serbian
- Spanish
- Vietnamese
Unsupported input causes the page to instead be categorized under Category:Card pages with a nonstandard approximate name. Support for additional languages is added on request on the talk page or as encountered during deployment.
Subtemplates
There are two subtemplates to this template:
- {{Approximate name/category}} - handles the dirty details of categorizing card pages, so that the code doesn't have to be changed in 15 different places to add a single new language
- {{Approximate name/cat header}} - a boilerplate header for the per-language subcategories of Category:Card pages with an approximate name, as listed above