Anonymous

Changes

From Open Educational Resources
m
1 revision imported
<noinclude>{{Protected}}</noinclude>

{{documentation subpage}}

{{TemplateBox
|1 = 1
|1label = text
|1d-en = Text to be displayed. Please proceed the text with "1=", otherwise any "=" characters in the text will break the template.
|1d-td-en = Text to be displayed. Please proceed the text with "1=", otherwise any "=" characters in the text will break the template.
|1type = string
|1def =
|1stat = required

|2 = 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 (i.e. that makes possible to put several descriptions side by side on a single line)
|2d-td-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 (i.e. that makes possible to put several descriptions side by side on a single line)
|2type =
|2def =
|2stat = optional-

|name = <includeonly>{{lc:{{PAGENAME}}}}</includeonly><noinclude>En</noinclude>
|desc = 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>}}.
|namespace = all
|usergroup = all
|placement =
|mustbesubst =
|relieson = {{tl|description}}
|usage-notes =
|shorthand =
|setscats = [[:Category:Language templates with no text displayed]] (if parameter #1 is empty)
|seealso =
* [[Commons:Localization]]
* {{x|language}} - Returns the local language name of a language code.
* {{tl|language}} - Returns the translated language name of a language code.
|type = formatting
|i18n-desc = It relies on [[mw:Help:Magic_words#Miscellaneous|<nowiki>{{#language:...}}</nowiki>]] parser function for localization.
|i18n-subpage =
|i18n-mediawiki-msg =
|i18n-method = -
|example = 1=Abcdefghijklmnopqrstuwxyz
|example-value = {{<includeonly>{{PAGENAME}}</includeonly><noinclude>En</noinclude>|Abcdefghijklmnopqrstuwxyz}}
|print = one
}}

== {{LangSwitch
|en=Other multi-lingual templates
|pl=Inne szablony multi-języczne
}} ==
{{I18n templates}}

<includeonly>
{{{localcat|{{#ifexist:Category:Commons-{{lc:{{BASEPAGENAME}}}}|[[Category:Commons-{{lc:{{BASEPAGENAME}}}}|{{PAGENAME}}]]}}}}}
[[Category:Language templates|{{PAGENAME}}]]
</includeonly>
<noinclude>
[[Category:Template namespace templates|{{PAGENAME}}]]
[[Category:Internationalization templates|{{PAGENAME}}]]
[[Category:Multi-template documentation|{{PAGENAME}}]]
</noinclude>