Template:Languages: Difference between revisions
No edit summary |
mNo edit summary |
||
(4 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
<onlyinclude>{{Article Information Box | <onlyinclude>{{Article Information Box | ||
| class name = Languages | | class name = Languages | ||
| table text align = | | table text align = middle | ||
| left cell bgcolor = #EEF3E2 | | left cell bgcolor = #EEF3E2 | ||
| left cell padding = 2px 1em 0 0.5em | | left cell padding = 2px 1em 0 0.5em | ||
Line 8: | Line 8: | ||
| left cell text = '''[[Project:Language policy|Languages]]:''' | | left cell text = '''[[Project:Language policy|Languages]]:''' | ||
| right cell bgcolor = #F6F9ED | | right cell bgcolor = #F6F9ED | ||
| right cell text = [[:{{{1}}}|English]] • [[:{{{1}}}/de|Deutsch]] • [[:{{{1}}}/es|Español]] • [[:{{{1}}}/fr|Français]] • [[:{{{1}}}/he|עברית]] • [[:{{{1}}}/it|Italiano]] • [[:{{{1}}}/nl|Nederlands]] • [[:{{{1}}}/pl|Polski]] • [[:{{{1}}}/pt|Português]] • [[:{{{1}}}/ru|Русский]] • [[:{{{1}}}/zh-hant|中文(繁體)]] }}</onlyinclude> | | right cell text = [[:{{{1|{{NAMESPACE}}:{{BASEPAGENAME}}}}}|English]] • [[:{{{1|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/de|Deutsch]] • [[:{{{1|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/es|Español]] • [[:{{{1|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/fr|Français]] • [[:{{{1|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/he|עברית]] • | ||
[[:{{{1|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/it|Italiano]] • [[:{{{1|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/nl|Nederlands]] • [[:{{{1|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/pl|Polski]] • [[:{{{1|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/pt|Português]] • [[:{{{1|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/ru|Русский]] • [[:{{{1|{{NAMESPACE}}:{{BASEPAGENAME}}}}}/zh-hant|中文(繁體)]] }}</onlyinclude> | |||
== Old Code == | == Old Code == | ||
Line 29: | Line 30: | ||
== Syntax == | == Syntax == | ||
Use | |||
<nowiki>{{Languages}}</nowiki> | |||
on English pages or | |||
<nowiki>{{Languages|This Page}}</nowiki> | <nowiki>{{Languages|This Page}}</nowiki> | ||
on pages of all other languages. | |||
== | == Wrong Usage == | ||
Due to the restrictions of this mediawiki installation, the English page name is now a required parameter on all non-English pages. It is not required, however, on English pages. The alternate [[Template:Language]] was previously used on English pages to not to have to use a parameter. It redirects to this page now. | |||
[[Category:Templates]] | [[Category:Templates]] |
Latest revision as of 19:31, 16 November 2023
Template
Languages: |
English • Deutsch • Español • Français • עברית • Italiano • Nederlands • Polski • Português • Русский • 中文(繁體) | e |
Old Code
Languages: |
[[:{{{1}}}|English]] • [[:{{{1}}}/de|Deutsch]] • [[:{{{1}}}/es|Español]] • [[:{{{1}}}/fr|Français]] • [[:{{{1}}}/he|עברית]] • [[:{{{1}}}/it|Italiano]] • [[:{{{1}}}/nl|Nederlands]] • [[:{{{1}}}/pl|Polski]] • [[:{{{1}}}/pt|Português]] • [[:{{{1}}}/ru|Русский]] • [[:{{{1}}}/zh-hant|中文(繁體)]] |
Syntax
Use
{{Languages}}
on English pages or
{{Languages|This Page}}
on pages of all other languages.
Wrong Usage
Due to the restrictions of this mediawiki installation, the English page name is now a required parameter on all non-English pages. It is not required, however, on English pages. The alternate Template:Language was previously used on English pages to not to have to use a parameter. It redirects to this page now.