Difference between revisions of "Template:Languages"
Jump to navigation
Jump to search
m (1 revision(s)) |
(got rid of a bunch of stuff 'cause we don't need it) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
<table width="100%" style="clear: both; border: 1px solid #aaaaaa; border-collapse: collapse; padding: 0.2em; margin: 0; font-size: 85%; margin: 0 1px;"> | <table width="100%" style="clear: both; border: 1px solid #aaaaaa; border-collapse: collapse; padding: 0.2em; margin: 0; font-size: 85%; margin: 0 1px;"> | ||
<tr valign="top" style="background: #EEF3E2"> | <tr valign="top" style="background: #EEF3E2"> | ||
− | <td style="width: 25px; padding-left: 0.5em;"> | + | <td style="width: 25px; padding-left: 0.5em;"></td> |
<td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #aaaaaa;">'''[[Project:Language policy|Languages]]:''' </td><td style="padding: 1px 1em 0; background: #F6F9ED;"> | <td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #aaaaaa;">'''[[Project:Language policy|Languages]]:''' </td><td style="padding: 1px 1em 0; background: #F6F9ED;"> | ||
[[{{{1|{{#if: {{NAMESPACE}} | {{NAMESPACE}}:}}{{BASEPAGENAME}}}}}|English]] | [[{{{1|{{#if: {{NAMESPACE}} | {{NAMESPACE}}:}}{{BASEPAGENAME}}}}}|English]] | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</td></tr></table></div></onlyinclude> | </td></tr></table></div></onlyinclude> | ||
Line 25: | Line 12: | ||
<nowiki>{{{Languages|PageName}}}</nowiki> | <nowiki>{{{Languages|PageName}}}</nowiki> | ||
− | * '''PageName''' (optional) - the name of the page to display language links for. If omitted then the English version of the current page is used. This parameter can normally be omitted, as it is only required if you want to link to a page other than the one you place the template on, which is very uncommon. If this parameter is used on a sub-page make sure you supply the root name, not the full page name (e.g. on | + | * '''PageName''' (optional) - the name of the page to display language links for. If omitted then the English version of the current page is used. This parameter can normally be omitted, as it is only required if you want to link to a page other than the one you place the template on, which is very uncommon. If this parameter is used on a sub-page make sure you supply the root name, not the full page name (e.g. on Mediawiki(fr) you would need to use <code><nowiki>{{{Languages|MediaWiki}}}</nowiki></code> and not <code><nowiki>{{{Languages|MediaWiki/fr}}}</nowiki></code>). |
== Usage == | == Usage == | ||
− | + | There was all sorts of stuff here about the language template, but it doesn't apply. See our [[Project:Language policy]] for further details about translating pages. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | See [[Project:Language policy]] for further details about translating pages. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 20:23, January 3, 2007
Template
Languages: |
[[{{#if: Template | Template:}}Languages|English]] |
Syntax
{{{Languages|PageName}}}
- PageName (optional) - the name of the page to display language links for. If omitted then the English version of the current page is used. This parameter can normally be omitted, as it is only required if you want to link to a page other than the one you place the template on, which is very uncommon. If this parameter is used on a sub-page make sure you supply the root name, not the full page name (e.g. on Mediawiki(fr) you would need to use
{{{Languages|MediaWiki}}}
and not{{{Languages|MediaWiki/fr}}}
).
Usage
There was all sorts of stuff here about the language template, but it doesn't apply. See our Project:Language policy for further details about translating pages.