v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Msg/doc"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (oops)
m (→‎Usage: explain defaults)
Line 11: Line 11:
 
* [{{fullurl:Template:Msg|uselang=en}} English], located at {{tl|msg/example/en}}
 
* [{{fullurl:Template:Msg|uselang=en}} English], located at {{tl|msg/example/en}}
 
* [{{fullurl:Template:Msg|uselang=es}} Spanish], located at {{tl|msg/example/en}}
 
* [{{fullurl:Template:Msg|uselang=es}} Spanish], located at {{tl|msg/example/en}}
* [{{fullurl:Template:Msg|uselang=da}} Danish], located at {{tl|msg/example/da}}
+
* [{{fullurl:Template:Msg|uselang=da}} Danish], located at {{tl|msg/example/da}}. Since this page doesn't exist (yet), the English message is displayed instead.

Revision as of 23:10, 22 September 2013

Alternative to using {{int:}} for translations (which requires admin rights to edit messages).

Usage

Messages should go in a subpage of Template:Msg:

Template:Msg/message name/language code

For example:

{{msg|example}}

gives: This is an example message.

An English message is shown by default (assuming your language preferences are set to English).