Template:Expand language

From Official Gamemode 4 Wiki
Revision as of 13:05, 18 October 2018 by wikipedia>MSGJ (add deepl,com to message about machine translation, per suggestion at Template talk:Expand German#Deepl.com)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Typical usage

If you find an article in the English Wikipedia is much less complete than the corresponding article in another language, there are a series of templates you can use to announce this on the page. Do not use this template, but instead, please use the appropriate template in Category:Expand by language Wikipedia templates. If the language you are looking for doesn't already have a template, see below for instructions on how to make one.

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).)

For a list of all daughter templates, see Category:Expand by language Wikipedia templates.

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. [clarification needed]

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 there for Wikiprojects that may be interested.