Difference between revisions of "Template:Expand language/doc"
Jump to navigation
Jump to search
imported>Psneog m |
imported>Psneog m |
||
| Line 53: | Line 53: | ||
[[Category:Expand by language Wikipedia templates| ]] | [[Category:Expand by language Wikipedia templates| ]] | ||
| − | [[as:Template:Expand language | + | [[as:Template:Expand language]] |
[[be-x-old:Шаблён:Паўнейшы артыкул]] | [[be-x-old:Шаблён:Паўнейшы артыкул]] | ||
[[ru:Шаблон:Перевести]] | [[ru:Шаблон:Перевести]] | ||
Revision as of 04:12, 17 September 2012
| This is a documentation subpage for Template:Expand language. It contains usage information, categories and other content that is not part of the original template page. |
| This template should not be placed on article pages directly. Instead, choose a language-specific template from Category:Expand by language Wikipedia templates. |
How to create a new daughter template using this template
{{Expand language
|langcode=
|otherarticle={{{1|}}}
|date={{{date|}}}
|fa={{{fa|}}}
|topic=
|nodoc={{{nodoc|}}}
|no interwiki={{{no interwiki|}}}
}}
Example for Spanish (see {{Expand Spanish}}):
{{Expand language
|langcode=es
|otherarticle={{{1|}}}
|date={{{date|}}}
|fa={{{fa|}}}
|topic={{{topic|}}}
}}
Uncommon override parameters:
|googlelangcode= <!--for where Google's language translation code is not the same as the Wikipedia language translation code-->
(Currently only used in Template:Expand Norwegian (Nynorsk) )
What else needs to be done after you set up the template
For all of these steps, replace XXXX with the name of the language you just created.
- 1. Create a template documentation page.
This is easy. Just go to Template:Expand XXXX/doc. There, you should paste {{Expand language/howto|XXXX}}.
- 2. Set up the category where articles to be translated will go.
Go to Category:Articles needing translation from XXXX Wikipedia. There, paste the following:
{{Transcat
|language=XXXX
|empty=y
}}
You can also add categories here for Wikiprojects that may be interested.