Difference between revisions of "Template:Expand language (non-Latin script)/doc"

From blackwiki
Jump to navigation Jump to search
imported>Calliopejen1
imported>Calliopejen1
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
This template is intended for use with languages that use Latin scripts (that is, languages where the alternate article is somewhat likely to have the same title as the article in en.wiki). For other languages, see {{tl|Expand language (non-Latin script)}}.
+
This template is intended for use with languages that use Latin scripts (that is, languages where the alternate article is somewhat likely to have the same title as the article in en.wiki). For other languages, see {{tl|Expand language}}.
 
<pre>
 
<pre>
{{Expand language
+
{{Expand language (non-Latin script)
 
|language=
 
|language=
 
|langcode=
 
|langcode=
 
|mainpage=
 
|mainpage=
|google=<!--yes/no for Google Translate link-->
+
|google=<--yes/no for link to google translate-->
|googlelangcode=<!--Google's language code: do a sample translation at translate.google.com to figure out what it is.-->
+
|googlelangcode=<!--optional override where google's code is not the same as wikipedia's code. rarely happens.-->
|otherarticle=[[:LANGCODE:{{{1|{{PAGENAME}}}}}|corresponding article]] <--keep this as it is except replace 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}}}}}&|}}
 +
|otherarticle={{#if:{{{1|}}}|[[:LANGCODE:{{{1}}}|corresponding article]]|corresponding article}}
 +
|notice={{#if:{{{1|}}}|<code><nowiki><nowiki>{{Translated article|LANGCODE|</nowiki></nowiki>{{{1}}}<nowiki><nowiki>}}</nowiki></nowiki></code>|{{tl|Translated article}}}}
 +
|date={{{date|}}}
 
}}</pre>
 
}}</pre>

Revision as of 22:52, 23 February 2009

Usage

This template is intended for use with languages that use Latin scripts (that is, languages where the alternate article is somewhat likely 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|}}}
}}