Difference between revisions of "Template:Unofficial name/doc"
(→Usage: +Latvian and Russian cat links) |
Dinoguy1000 (talk | contribs) (restore from the Internet Archive (November 26, 2022)) |
||
(21 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- | <!-- | ||
− | PLEASE ADD CATEGORIES | + | PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE |
--> | --> | ||
==Usage== | ==Usage== | ||
− | This template should be added to the top of articles | + | This template should be added to the top of articles on cards which contain one or more unofficial 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 a comma-delimited list of language names. |
− | ;<code><nowiki>{{ | + | ;<code><nowiki>{{Unofficial name|French}}</nowiki></code> |
− | results in {{ | + | results in {{Unofficial name|French}} |
− | ;<code><nowiki>{{ | + | ;<code><nowiki>{{Unofficial name|Chinese, French}}</nowiki></code> |
− | results in {{ | + | results in {{Unofficial name|Chinese, French}} |
− | ;<code><nowiki>{{ | + | ;<code><nowiki>{{Unofficial name|Italian, Portuguese, Spanish}}</nowiki></code> |
− | results in {{ | + | results in {{Unofficial name|Italian, Portuguese, Spanish}} |
− | + | Order of the languages generally doesn't matter, but for maintenance reasons, alphabetical sorting is preferred. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <includeonly><!-- CATEGORIES | + | This template automatically categorizes pages into subcategories of [[:Category:Card pages with an unofficial name]]. The following languages are currently supported: |
+ | {{ #arraydefine: @languages | Chinese, English, French, German, Italian, Japanese, Korean, Portuguese, Spanish }}{{ #arrayprint: @languages || $language | <nowiki/> | ||
+ | * [[:Category:Card pages with an unofficial $language name|$language]] ({{PAGESINCAT:Card pages with an unofficial $language name}}) }} | ||
+ | ==Metatemplate== | ||
+ | This template and {{tl|Unofficial lore}} are implemented using the {{tl|Unofficial name or lore}} metatemplate. | ||
+ | |||
+ | ==See also== | ||
+ | * {{tl|Unofficial lore}} - a version of this template for unofficial translations of card lores | ||
+ | * {{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 | ||
+ | * [[User:Dinoguy1000/languages]] | ||
+ | |||
+ | <includeonly><!-- CATEGORIES HERE, THANKS --> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</includeonly> | </includeonly> |
Latest revision as of 01:21, 16 September 2023
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[edit]
This template should be added to the top of articles on cards which contain one or more unofficial 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 a comma-delimited list of language names.
{{Unofficial name|French}}
results in
{{Unofficial name|Chinese, French}}
results in
{{Unofficial name|Italian, Portuguese, Spanish}}
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 name. The following languages are currently supported:
- Chinese (0)
- English (2,191)
- French (0)
- German (0)
- Italian (0)
- Japanese (0)
- Korean (0)
- Portuguese (1)
- Spanish (0)
Metatemplate[edit]
This template and {{Unofficial lore}} are implemented using the {{Unofficial name or lore}} metatemplate.
See also[edit]
- {{Unofficial lore}} - a version of this template for unofficial translations of card lores
- {{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
- User:Dinoguy1000/languages