Difference between revisions of "Template:Unofficial lore/doc"
Dinoguy1000 (talk | contribs) (→See also: {{Unknown name}}) |
Dinoguy1000 (talk | contribs) (update) |
||
Line 60: | Line 60: | ||
==Subtemplates== | ==Subtemplates== | ||
− | There | + | There is one subtemplate to this template: |
* {{tl|Unofficial lore/category}} - handles the dirty details of categorizing card pages, so that the code doesn't have to be changed in a million different places to add a single new language | * {{tl|Unofficial lore/category}} - handles the dirty details of categorizing card pages, so that the code doesn't have to be changed in a million different places to add a single new language | ||
− | |||
==See also== | ==See also== | ||
* {{tl|Unofficial name}} - a version of this template for unofficial translations of card names | * {{tl|Unofficial name}} - a version of this template for unofficial translations of card names | ||
+ | * {{tl|Unofficial name or lore cat header}} - a boilerplate header for the per-language subcategories of [[:Category:Card pages with an unofficial name]] and [[:Category:Card pages with an unofficial lore]] | ||
* {{tl|Unknown name}} - a template for non-card pages with unofficial (English) names | * {{tl|Unknown name}} - a template for non-card pages with unofficial (English) names | ||
* [[Template:CardTable2/doc/languages]] | * [[Template:CardTable2/doc/languages]] |
Revision as of 19:40, 16 June 2018
This is a documentation subpage for Template:Unofficial lore. It contains 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 unofficial lores (that is, card pages which list unofficial translations of the card's lore), per the guidelines at Yu-Gi-Oh!:Arabic card names guidelines. It takes up to 15 unnamed parameters with one language name per parameter.
{{Unofficial lore|Arabic}}
results in
{{Unofficial lore|Arabic|Chinese}}
results in
{{Unofficial lore|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 unofficial lore. The following languages are currently supported (note that not all corresponding categories may exist yet):
- Arabic
- Bengali
- Bulgarian
- Chinese
- Croatian
- Czech
- Danish
- Dutch
- English
- Estonian
- Finnish
- French
- German
- Greek
- Hawaiian
- Hebrew
- Hungarian
- Indonesian
- Irish
- Italian
- Japanese
- Korean
- Latvian
- Lithuanian
- Norwegian
- Persian
- Polish
- Portuguese
- Romanian
- Russian
- Serbian
- Slovak
- Slovene
- Spanish
- Swedish
- Thai
- Turkish
- Vietnamese
- Welsh
Unsupported languages are displayed as entered and cause the page to be categorized under Category:Card pages with a nonstandard unofficial lore. Support for additional languages is added on request on the talk page or as encountered during deployment.
Subtemplates
There is one subtemplate to this template:
- {{Unofficial lore/category}} - handles the dirty details of categorizing card pages, so that the code doesn't have to be changed in a million different places to add a single new language
See also
- {{Unofficial name}} - a version of this template for unofficial translations of card names
- {{Unofficial name or lore cat header}} - a boilerplate header for the per-language subcategories of Category:Card pages with an unofficial name and Category:Card pages with an unofficial lore
- {{Unknown name}} - a template for non-card pages with unofficial (English) names
- Template:CardTable2/doc/languages
- User:Dinoguy1000/languages