Difference between revisions of "Template:Dictionary"

From Team Fortress Wiki
Jump to: navigation, search
m
m (Undo edit by Tiagoquix (Talk) (2933665))
(Tag: Undo)
Line 7: Line 7:
 
Please see the list above.
 
Please see the list above.
  
:{{c|info|Note}}: Don't make edits to individual string pages, e.g. [[Template:Dictionary/items/soldier's stash]], as any changes will be overwritten the next time the bot runs.  
+
:{{c|info|Note}}: Don't make edits to individual string pages, e.g. [[Template:Dictionary/items/soldier's_stash]], as any changes will be overwritten the next time the bot runs.  
  
 
=== System ===
 
=== System ===
 
The dictionary pages (listed above) are where strings are kept and maintained. As often as possible, this page is interpreted by [[User:WindBOT|a bot]] which then pushes all changes to the individual string pages. This system avoids the serious performance issues of the previous system but still keeps it easy for translators to add, update or otherwise alter language strings.
 
The dictionary pages (listed above) are where strings are kept and maintained. As often as possible, this page is interpreted by [[User:WindBOT|a bot]] which then pushes all changes to the individual string pages. This system avoids the serious performance issues of the previous system but still keeps it easy for translators to add, update or otherwise alter language strings.
  
For example, the names for the [[Soldier's Stash]] in multiple languages are kept in [[Template:Dictionary/items]] under the section 'Hats'. This whole page is then fetched by the bot and all translations of 'Soldier's Stash' are then copied to [[Template:Dictionary/items/soldier's stash]]. Then, simply on any page or nav template, you can autotranslate this by using the code {{tlx|item name|Soldier's Stash}}.
+
For example, the names for the [[Soldier's Stash]] in multiple languages are kept in [[Template:Dictionary/items]] under the section 'Hats'. This whole page is then fetched by the bot and all translations of 'Soldier's Stash' are then copied to [[Template:Dictionary/items/soldier's_stash]]. Then, simply on any page or nav template, you can autotranslate this by using the code {{tlx|item name|Soldier's Stash}}.
  
 
=== Help ===
 
=== Help ===
 
Please post on the [[Template talk:Dictionary|'''talk page''']] if you need any help editing.
 
Please post on the [[Template talk:Dictionary|'''talk page''']] if you need any help editing.
  
[[Category:Template dictionary]]
+
[[Category:Template dictionary| ]]
 
</noinclude>
 
</noinclude>

Revision as of 18:18, 31 January 2021

Documentation for Dictionary

Several strings of text are stored in multiple languages in a dictionary-like method spread across multiple subpages. This page acts as the central coordination page for all of them.

Where to edit?

Please see the list above.

Pictogram info.png Note: Don't make edits to individual string pages, e.g. Template:Dictionary/items/soldier's_stash, as any changes will be overwritten the next time the bot runs.

System

The dictionary pages (listed above) are where strings are kept and maintained. As often as possible, this page is interpreted by a bot which then pushes all changes to the individual string pages. This system avoids the serious performance issues of the previous system but still keeps it easy for translators to add, update or otherwise alter language strings.

For example, the names for the Soldier's Stash in multiple languages are kept in Template:Dictionary/items under the section 'Hats'. This whole page is then fetched by the bot and all translations of 'Soldier's Stash' are then copied to Template:Dictionary/items/soldier's_stash. Then, simply on any page or nav template, you can autotranslate this by using the code {{item name|Soldier's Stash}}.

Help

Please post on the talk page if you need any help editing.