Difference between revisions of "Template:Int"

Jump to navigation Jump to search
852 bytes added ,  18:03, 28 February 2021
Moved the documentation here.
>Tacsipacsi
(allow passing custom language (useful e.g. in Module:Assemble multilingual message, which expands all translations on one, mostly English page))
>Baris6161TURK
(Moved the documentation here.)
Line 1: Line 1:
{{#invoke:Int|renderIntMessage|{{{1|}}}|lang={{{lang|}}}}}<noinclude>
{{#invoke:Int|renderIntMessage|{{{1|}}}|lang={{{lang|}}}}}<noinclude>
{{Documentation}}
{{Documentation|content=
This template renders a MediaWiki message in the page language. Not to be confused with the <code><nowiki>{{int:}}</nowiki></code> [[Special:MyLanguage/Help:Magic words#int|magic word]], which uses the user interface language instead.
 
== Examples ==
* {{tlx|int|vector-view-history}}
{{int|vector-view-history}}
 
* {{tlx|int|Notification-link-text-expand-notice-count|1}}
{{int|Notification-link-text-expand-notice-count|1}}
* {{tlx|int|Notification-link-text-expand-notice-count|2}}
{{int|Notification-link-text-expand-notice-count|2}}
* {{tlx|int|Notification-link-text-expand-notice-count|5}}
{{int|Notification-link-text-expand-notice-count|5}}
* {{tlx|int|vector-view-history|lang{{=}}de}}</nowiki></code>
{{int|vector-view-history|lang=de}}
 
== TemplateData ==
{{Int/doc}}
[[Category:Internationalization templates{{#translation:}}]]
}}
</noinclude>
</noinclude>
Anonymous user

Navigation menu