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

From Yugipedia
Jump to: navigation, search
(Usage: +Latvian and Russian cat links)
(add subtemplates section)
Line 38: Line 38:
 
* [[:Category:Card pages with an approximate Vietnamese name|Vietnamese]]
 
* [[:Category:Card pages with an approximate Vietnamese name|Vietnamese]]
 
Unsupported input causes the page to instead be categorized under [[:Category:Card pages with a nonstandard approximate name]]. Support for additional languages is added on request on the [[Template talk:Approximate name|talk page]] or as encountered during deployment.
 
Unsupported input causes the page to instead be categorized under [[:Category:Card pages with a nonstandard approximate name]]. Support for additional languages is added on request on the [[Template talk:Approximate name|talk page]] or as encountered during deployment.
 +
 +
==Subtemplates==
 +
There are two subtemplates to this template:
 +
 +
* {{tl|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
 +
* {{tl|Approximate name/cat header}} - a boilerplate header for the per-language subcategories of [[:Category:Card pages with an approximate name]], as listed above
  
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->

Revision as of 09:11, 26 November 2009

Usage

This template should be added to the top of articles using one or more approximated name, per the guidelines at Yu-Gi-Oh!:Arabic card names guidlines. 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

This template automatically categorizes pages into subcategories of Category:Card pages with an approximate name. The following languages are currently supported:

Unsupported input causes the page to instead 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: