Difference between revisions of "Template:Unofficial name/doc"
Dinoguy1000 (talk | contribs) (→See also: {{Unknown name}}) |
Dinoguy1000 (talk | contribs) (restore from the Internet Archive (November 26, 2022)) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
--> | --> | ||
==Usage== | ==Usage== | ||
− | 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 | + | 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>{{Unofficial name| | + | ;<code><nowiki>{{Unofficial name|French}}</nowiki></code> |
− | results in {{Unofficial name| | + | results in {{Unofficial name|French}} |
− | ;<code><nowiki>{{Unofficial name | + | ;<code><nowiki>{{Unofficial name|Chinese, French}}</nowiki></code> |
− | results in {{Unofficial name | + | results in {{Unofficial name|Chinese, French}} |
− | ;<code><nowiki>{{Unofficial name|Italian | + | ;<code><nowiki>{{Unofficial name|Italian, Portuguese, Spanish}}</nowiki></code> |
− | results in {{Unofficial name|Italian | + | results in {{Unofficial name|Italian, Portuguese, Spanish}} |
Order of the languages generally doesn't matter, but for maintenance reasons, alphabetical sorting is preferred. | 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 | + | 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. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | * [[:Category:Card pages with an unofficial | ||
− | |||
− | |||
− | |||
− | == | ||
− | |||
− | |||
− | |||
− | |||
==See also== | ==See also== | ||
* {{tl|Unofficial lore}} - a version of this template for unofficial translations of card lores | * {{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 | * {{tl|Unknown name}} - a template for non-card pages with unofficial (English) names | ||
− | |||
* [[User:Dinoguy1000/languages]] | * [[User:Dinoguy1000/languages]] | ||
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