Difference between revisions of "Template:Unofficial lore/doc"

From Yugipedia
Jump to: navigation, search
(See also: {{Unknown name}})
(update)
Line 60: Line 60:
  
 
==Subtemplates==
 
==Subtemplates==
There are two subtemplates to this template:
+
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
* {{tl|Unofficial lore/cat header}} - a boilerplate header for the per-language subcategories of [[:Category:Card pages with an unofficial lore]], as listed above
 
  
 
==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

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):

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