Difference between revisions of "Template:Unofficial name/doc"
Dinoguy1000 (talk | contribs) (→Usage: +Phonetic and Swedish) |
Dinoguy1000 (talk | contribs) (→Usage: Danish --> Dutch) |
||
Line 22: | Line 22: | ||
* [[:Category:Card pages with an approximate Chinese name|Chinese]] | * [[:Category:Card pages with an approximate Chinese name|Chinese]] | ||
* [[:Category:Card pages with an approximate Croatian name|Croatian]] | * [[:Category:Card pages with an approximate Croatian name|Croatian]] | ||
− | * [[:Category:Card pages with an approximate | + | * [[:Category:Card pages with an approximate Dutch name|Dutch]] |
* [[:Category:Card pages with an approximate English name|English]] | * [[:Category:Card pages with an approximate English name|English]] | ||
* [[:Category:Card pages with an approximate Finnish name|Finnish]] | * [[:Category:Card pages with an approximate Finnish name|Finnish]] |
Revision as of 01:17, 18 June 2010
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 on cards which contain one or more approximate names (that is, card pages which list unofficial translations of the card's name), per the guidelines at Yu-Gi-Oh!:Arabic card names guidelines. 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
Order of the languages generally doesn't matter, but for maintenance reasons, alphabetical sorting is preferred.
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
- Dutch
- English
- Finnish
- French
- German
- Greek
- Irish
- Italian
- Japanese
- Korean
- Latvian
- Phonetic
- Polish
- Portuguese
- Romanian
- Russian
- Thai
- Turkish
- Serbian
- Spanish
- Swedish
- Vietnamese
Unsupported languages are displayed as entered and cause the page to 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