Difference between revisions of "Template:Translation templates"

From Team Fortress Wiki
Jump to: navigation, search
m (Moved {{common string}} to new "Other" column, as some strings include links.)
(Moved "Other" from bottom to right side; moved {{Used by}} to "Other"; added more templates; added "Documentation".)
 
Line 8: Line 8:
 
* {{tl|Quality name}}
 
* {{tl|Quality name}}
 
* {{tl|Update name}}
 
* {{tl|Update name}}
 +
<!-- Name templates without a link version -->
 +
* {{tl|Achievement name}}
 
* {{tl|Style name}}
 
* {{tl|Style name}}
 
</div><div style=display:inline-table>
 
</div><div style=display:inline-table>
Line 17: Line 19:
 
:* {{tl|Quality link}}
 
:* {{tl|Quality link}}
 
:* {{tl|Update link}}
 
:* {{tl|Update link}}
 +
<!-- Link templates without a name version -->
 +
</div><div style=display:inline-table>
 +
:;Other
 +
:* {{tl|Achiev type link}}
 +
:* {{tl|Attribute}}
 +
:* {{tl|Common string}}
 +
:* {{tl|DefaultKey}}{{md}}{{tl|DK}}
 +
:* {{tl|Disambigentry}}{{md}}{{tl|De}}
 +
:* {{tl|Item description}}
 +
:* {{tl|Table icon}}
 
:* {{tl|Used by}}
 
:* {{tl|Used by}}
</div>
+
</div><noinclude>{{Doc begin}}
;Other
+
This is a list of templates dedicated to automated translations.
* {{tl|Common string}}
+
 
<noinclude>
+
* '''Name templates''': Templates that translate the name of a thing, like an item or a map.
 +
* '''Link templates''': Templates that translate the name of a thing, like an item or a map, while also generating a link to its respective article in the appropriate language.
 +
* '''Other''': Templates that translate things other than names, like descriptions and frequently used terms, and/or that are meant to be used in other templates rather than in sentences in articles.
 +
 
 +
When updating this template:
 +
* Templates that have both a name and a link version (e.g.: <code><nowiki>{{item name}}</nowiki></code> and <code><nowiki>{{item link}}</nowiki></code>) should be inserted side by side and at the top in those columns.
 +
* Templates that only have a name ''or'' a link version should be inserted at the bottom of that column.
 +
* Multiple templates that serve the same purpose (e.g.: <code><nowiki>{{class link}}</nowiki></code> and <code><nowiki>{{cl}}</nowiki></code>) should be put together with <code><nowiki>{{md}}</nowiki></code> in-between them.
 +
* Templates should be listed alphabetically.
 +
 
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:36, 1 December 2024

See also

Name templates
Link templates
Other

Documentation for Translation templates

This is a list of templates dedicated to automated translations.

  • Name templates: Templates that translate the name of a thing, like an item or a map.
  • Link templates: Templates that translate the name of a thing, like an item or a map, while also generating a link to its respective article in the appropriate language.
  • Other: Templates that translate things other than names, like descriptions and frequently used terms, and/or that are meant to be used in other templates rather than in sentences in articles.

When updating this template:

  • Templates that have both a name and a link version (e.g.: {{item name}} and {{item link}}) should be inserted side by side and at the top in those columns.
  • Templates that only have a name or a link version should be inserted at the bottom of that column.
  • Multiple templates that serve the same purpose (e.g.: {{class link}} and {{cl}}) should be put together with {{md}} in-between them.
  • Templates should be listed alphabetically.