Difference between revisions of "Template:Translation"
From Nookipedia, the Animal Crossing wiki
Dorsal Axe (talk | contribs) (Adding template category) |
(Moving usage info to documentation page) |
||
Line 33: | Line 33: | ||
[[File:Flag of Mexico.png|Latin American Spanish|link=|14px]] <span style="font-size:.75em;">{{#if:{{{esl-name|}}}|{{{esl-name|}}}|{{Colorshow|{{{color|ccc}}}|Unknown}}}}</span><br> | [[File:Flag of Mexico.png|Latin American Spanish|link=|14px]] <span style="font-size:.75em;">{{#if:{{{esl-name|}}}|{{{esl-name|}}}|{{Colorshow|{{{color|ccc}}}|Unknown}}}}</span><br> | ||
[[File:Flag of Russia.png|Russian|link=|14px]] <span style="font-size:.75em;">{{#if:{{{ru-name|}}}|{{{ru-name|}}}|{{Colorshow|{{{color|ccc}}}|Unknown}}}}</span> | [[File:Flag of Russia.png|Russian|link=|14px]] <span style="font-size:.75em;">{{#if:{{{ru-name|}}}|{{{ru-name|}}}|{{Colorshow|{{{color|ccc}}}|Unknown}}}}</span> | ||
− | </div>}}<noinclude> | + | </div>}}<noinclude>{{Documentation}} |
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 00:14, February 12, 2021
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Unknown
Template documentation (view)
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.
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> }}