Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Internationalization template doc: Difference between revisions

Template page
m format
Fix whitespace error at e.g. Template:Gez
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:
{{TemplateBox
{{TemplateBox
|name = <includeonly>{{lc:{{PAGENAME}}}}</includeonly><noinclude>En</noinclude>
|name = <includeonly>{{lc:{{PAGENAME}}}}</includeonly><noinclude>En</noinclude>
|desc-en = Adds "''{{<includeonly>{{PAGENAME}}</includeonly><noinclude>En</noinclude>|''|inline=1}}" in front of the text written in {{language|<includeonly>{{PAGENAME}}</includeonly><noinclude>En</noinclude>}}. Also adds machine-readable tags identifying the text as being written in {{language|<includeonly>{{PAGENAME}}</includeonly><noinclude>En</noinclude>}}.
|desc-en = Adds "<i>{{trim|{{<includeonly>{{PAGENAME}}</includeonly><noinclude>En</noinclude>|<nowiki />|inline=1}}}}</i>" in front of the text written in {{language|<includeonly>{{PAGENAME}}</includeonly><noinclude>En</noinclude>}}. Also adds machine-readable tags identifying the text as being written in {{language|<includeonly>{{PAGENAME}}</includeonly><noinclude>En</noinclude>}}.
|desc-td-en = Adds "{{#language:<includeonly>{{PAGENAME}}</includeonly><noinclude>En</noinclude>}}" in front of the text written in {{language|<includeonly>{{PAGENAME}}</includeonly><noinclude>En</noinclude>}}. Also adds machine-readable tags identifying the text as being written in {{language|<includeonly>{{PAGENAME}}</includeonly><noinclude>En</noinclude>}}.
|desc-td-en = Adds "{{#language:<includeonly>{{PAGENAME}}</includeonly><noinclude>En</noinclude>}}" in front of the text written in {{language|<includeonly>{{PAGENAME}}</includeonly><noinclude>En</noinclude>}}. Also adds machine-readable tags identifying the text as being written in {{language|<includeonly>{{PAGENAME}}</includeonly><noinclude>En</noinclude>}}.
|namespace = all
|namespace = all
Line 30: Line 30:
|seealso =
|seealso =
* [[Commons:Localization]]
* [[Commons:Localization]]
* <tt>&#123;&#123;[[mw:Help:Magic_words#Miscellaneous|&#35;language]]&#125;&#125;</tt> - Returns the local language name of a language code.
* <code>&#123;&#123;[[mw:Help:Magic_words#Miscellaneous|&#35;language]]&#125;&#125;</code> - Returns the local language name of a language code.
* {{tl|language}} - Returns the translated language name of a language code.
* {{tl|language}} - Returns the translated language name of a language code.
|type = formatting
|type = formatting
Line 47: Line 47:
|1d-td-en = Text to be displayed. <!-- TemplateData is used by tools which know wikitext better than most users. They should prepend the "1=" when needed, so if the user enters one manually, the result will be {{en|1=1=text}}... -->
|1d-td-en = Text to be displayed. <!-- TemplateData is used by tools which know wikitext better than most users. They should prepend the "1=" when needed, so if the user enters one manually, the result will be {{en|1=1=text}}... -->
|1type = string
|1type = string
|1default={{red|**error**}}
|1default=<span class="error">(missing text)</span>
|1stat = required
|1stat = required
   
   
|2 = inline
|2 = inline
|2label = inline
|2label = inline
|2d-en = Optional, default is empty string. When set to any value different from an empty string, forces the template to be displayed inline, so that it does not break the current paragraph (that makes possible to put several descriptions side by side on a single line)
|2d-en = Optional boolean flag, false by default. When set to "true" (or "1", "t", "yes", "y", "on", etc. ), forces the template to be displayed inline, so that it does not break the current paragraph (that makes possible to put several descriptions side by side on a single line). Set to "false" (or "0", "f", "no", "n", "off", etc. ) or omit or leave blank, and each language will be in a separate line.
|2type = line
|2type = line
|2stat = optional-
|2stat = optional-
Cookies help us deliver our services. By using our services, you agree to our use of cookies.