Difference between revisions of "Template:Expand language (non-Latin script)/doc"
Jump to navigation
Jump to search
imported>Calliopejen1 |
imported>Calliopejen1 |
||
| Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| − | === | + | === How to create a new daughter template using this template === |
This template is intended for use with languages that do not use the Latin script (that is, languages where the alternate article is unlikely to have the same title as the article in en.wiki). For other languages, see {{tl|Expand language}}. | This template is intended for use with languages that do not use the Latin script (that is, languages where the alternate article is unlikely to have the same title as the article in en.wiki). For other languages, see {{tl|Expand language}}. | ||
<pre> | <pre> | ||
| Line 11: | Line 11: | ||
|google=<--yes/no for link to google translate--> | |google=<--yes/no for link to google translate--> | ||
|googlelangcode=<!--optional override where google's code is not the same as wikipedia's code. rarely happens.--> | |googlelangcode=<!--optional override where google's code is not the same as wikipedia's code. rarely happens.--> | ||
| + | |||
<!--The rest of the fields should be left as they are, except for replacing LANGCODE as appropriate.--> | <!--The rest of the fields should be left as they are, except for replacing LANGCODE as appropriate.--> | ||
|googlelink={{#if:{{{1|}}}|&u=http://LANGCODE.wikipedia.org/wiki/{{urlencode:{{{1}}}}}&|}} | |googlelink={{#if:{{{1|}}}|&u=http://LANGCODE.wikipedia.org/wiki/{{urlencode:{{{1}}}}}&|}} | ||
Revision as of 23:11, 23 February 2009
| This is a documentation subpage for Template:Expand language (non-Latin script). It contains usage information, categories and other content that is not part of the original template page. |
How to create a new daughter template using this template
This template is intended for use with languages that do not use the Latin script (that is, languages where the alternate article is unlikely to have the same title as the article in en.wiki). For other languages, see {{Expand language}}.
{{Expand language (non-Latin script)
|language=
|langcode=
|mainpage=
|google=<--yes/no for link to google translate-->
|googlelangcode=<!--optional override where google's code is not the same as wikipedia's code. rarely happens.-->
<!--The rest of the fields should be left as they are, except for replacing LANGCODE as appropriate.-->
|googlelink={{#if:{{{1|}}}|&u=http://LANGCODE.wikipedia.org/wiki/{{urlencode:{{{1}}}}}&|}}
|otherarticle={{#if:{{{1|}}}|[[:LANGCODE:{{{1}}}|corresponding article]]|corresponding article}}
|notice={{#if:{{{1|}}}|<code><nowiki>{{Translated article|LANGCODE|</nowiki>{{{1}}}<nowiki>}}</nowiki></code>|{{tl|Translated article}}}}
|date={{{date|}}}
}}