Template:Languages: Difference between revisions
No edit summary |
(Modified the template to be used without parameter on english pages.) |
||
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 == | ||
<nowiki>{{Languages}}</nowiki> | |||
on English pages or | |||
<nowiki>{{Languages|This Page}}</nowiki> | <nowiki>{{Languages|This Page}}</nowiki> | ||
on all other pages. | |||
== Correct Usage == | == Correct Usage == | ||
Line 37: | Line 41: | ||
== Wrong Usage == | == Wrong Usage == | ||
<nowiki>{{Languages}}</nowiki> | <nowiki>{{Languages}}</nowiki> | ||
Due to the restrictions of this mediawiki installation, the (English) page name is now a required parameter on all non-English pages. If you want to you do not want to specify the page name on an english page you can use the [[Template:Language|Language Template]]. | |||
Due to the restrictions of this mediawiki installation, the (English) page name is now a required parameter. If you want to you do not want to specify the page name on an english page you can use the [[Template:Language|Language Template]]. | |||
[[Category:Templates]] | [[Category:Templates]] |
Revision as of 19:54, 31 July 2010
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
{{Languages}}
on English pages or
{{Languages|This Page}}
on all other pages.
Correct Usage
{{Languages|This Page}}
Languages: |
English • Deutsch • Español • Français • עברית • Italiano • Nederlands • Polski • Português • Русский • 中文(繁體) | e |
Wrong Usage
{{Languages}}
Due to the restrictions of this mediawiki installation, the (English) page name is now a required parameter on all non-English pages. If you want to you do not want to specify the page name on an english page you can use the Language Template.