Template:Internationalization template doc: Difference between revisions
Template page
More actions
fix misnested and deprecated HTML tags, use the actual error message as the default value of the first parameter |
Fix whitespace error at e.g. Template:Gez |
||
| (2 intermediate revisions by 2 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 " | |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 52: | Line 52: | ||
|2 = inline | |2 = inline | ||
|2label = inline | |2label = inline | ||
|2d-en = Optional, default | |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- | ||