Difference between revisions of "Template:Translation"

From Nookipedia, the Animal Crossing wiki
(Correcting hovertext)
(Adding template category)
Line 58: Line 58:
 
* <code>spacing</code> can be used to adjust the padding in between the translation columns.
 
* <code>spacing</code> can be used to adjust the padding in between the translation columns.
 
* <code>max-length</code> can be used to change the character count/force the 2-column or 3-column display. The default value is 30. Increasing the value creates a tendency towards a 3-column display, decreasing it, a 2-column display.
 
* <code>max-length</code> can be used to change the character count/force the 2-column or 3-column display. The default value is 30. Increasing the value creates a tendency towards a 3-column display, decreasing it, a 2-column display.
 +
 +
[[Category:Templates]]</noinclude>

Revision as of 10:35, July 18, 2020

Japanese Unknown
Korean Unknown
Italian Unknown
German Unknown

Simplified Chinese Unknown
French Unknown
Spanish Unknown
Dutch Unknown

Traditional Chinese Unknown
Quebec French Unknown
Latin American Spanish Unknown
Russian Unknown

Usage

{{Translation
| name     = <optional>
| color    = <hexcode (no preceding '#')>
| length   = <optional>
| spacing  = <optional>
| ja-name  = <japanese>
| ko-name  = <korean>
| zh-name  = <chinese (simplified)>
| zht-name = <chinese (traditional)>
| fr-name  = <french>
| frq-name = <french (quebec)> 
| es-name  = <spanish>
| esl-name = <spanish (latin america)>
| it-name  = <italian>
| de-name  = <german>
| nl-name  = <dutch>
| ru-name  = <russian>
}}

For use in Infobox-style templates to display translation information. Will appear as two columns if the length of the page or the name parameter is greater than 12 characters.

  • spacing can be used to adjust the padding in between the translation columns.
  • max-length can be used to change the character count/force the 2-column or 3-column display. The default value is 30. Increasing the value creates a tendency towards a 3-column display, decreasing it, a 2-column display.