Template:Languages: Difference between revisions
No edit summary |
mNo edit summary |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
== Template == | == Template == | ||
<onlyinclude><div class="LanguageLinks"> | <onlyinclude>{{Article Information Box | ||
| class name = Languages | |||
| table text align = middle | |||
| left cell bgcolor = #EEF3E2 | |||
| left cell padding = 2px 1em 0 0.5em | |||
| left cell icon = [[File:GeoLogo.png]] | |||
| left cell text = '''[[Project:Language policy|Languages]]:''' | |||
| right cell bgcolor = #F6F9ED | |||
| 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 == | |||
<div class="LanguageLinks"> | |||
<table width="100%" style="border: 1px solid #aaaaaa;"> | <table width="100%" style="border: 1px solid #aaaaaa;"> | ||
<tr valign="top" style="background: #EEF3E2;"> | <tr valign="top" style="background: #EEF3E2;"> | ||
<td style="width: | <td style="width: {{PageTitleTemplatesLeftAreaWidth}}; white-space: nowrap; padding: 2px 1em 0 0.5em; border-right: 1px solid #aaaaaa; font-size: 12px;">[[File:GeoLogo.png]] '''[[Project:Language policy|Languages]]:''' </td><td style="padding: 1px 1em 0; background: #F6F9ED; font-size: 12px;"> | ||
[[{{{1}}}|English]] • | [[:{{{1}}}|English]] • | ||
[[{{{1}}}/de|Deutsch]] • | [[:{{{1}}}/de|Deutsch]] • | ||
[[{{{1}}}/es|Español]] • | [[:{{{1}}}/es|Español]] • | ||
[[{{{1}}}/fr|Français]] • | [[:{{{1}}}/fr|Français]] • | ||
[[{{{1}}}/he|עברית]] • | [[:{{{1}}}/he|עברית]] • | ||
[[{{{1}}}/it|Italiano]] • | [[:{{{1}}}/it|Italiano]] • | ||
[[{{{1}}}/nl|Nederlands]] • | [[:{{{1}}}/nl|Nederlands]] • | ||
[[{{{1}}}/pl|Polski]] • | [[:{{{1}}}/pl|Polski]] • | ||
[[{{{1}}}/pt|Português]] • | [[:{{{1}}}/pt|Português]] • | ||
[[{{{1}}}/ru|Русский]] • | [[:{{{1}}}/ru|Русский]] • | ||
[[{{{1}}}/zh-hant|中文(繁體)]] | [[:{{{1}}}/zh-hant|中文(繁體)]] | ||
</td></tr></table></div | </td></tr></table></div> | ||
== 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]] | |||
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.