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.
Editing Template:Msg/doc
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | Alternative to using {{<nowiki/>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: | |
− | |||
− | |||
− | Template: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | For | ||
− | |||
− | |||
− | |||
<pre>{{msg|example}}</pre> | <pre>{{msg|example}}</pre> | ||
gives: {{msg|example}} | gives: {{msg|example}} | ||
− | + | The message above should appear in {{#language:{{INTERFACELANGUAGE}}}}, which is your current interface language setting. The following links can be used to change your language temporarily: | |
− | + | * [{{fullurl:Template:Msg|uselang=en}} English], located at {{tl|msg/example/en}} | |
− | + | * [{{fullurl:Template:Msg|uselang=es}} Spanish], located at {{tl|msg/example/es}} | |
− | + | * [{{fullurl:Template:Msg|uselang=da}} Danish], located at {{tl|msg/example/da}} (this will fall back to English unless [[Mediawiki:Language-code/da]] exists) | |
− | + | Note that this template relies ''heavily'' on [[Mediawiki:Language-code]] - if this is not defined for a certain language, all messages for that language will fall back to English. | |
− | |||
− | |||
− | |||
− | |||
− |