Difference between revisions of "Template:Incubator/doc"

From blackwiki
Jump to navigation Jump to search
imported>GoingBatty
m (→‎Usage: typo(s) fixed: For example → For example, using AWB (11376))
imported>Dcljr
(makes no sense to use French in the example — change to a language that actually has a test wiki; other copyediting)
Line 6: Line 6:
  
 
* Type <code><nowiki>{{Incubator|languagecode}}</nowiki></code> for test Wikipedias
 
* Type <code><nowiki>{{Incubator|languagecode}}</nowiki></code> for test Wikipedias
* If the test is not a Wikipedia, type <code><nowiki>{{Incubator|languagecode|projectname}}</nowiki></code>
+
* If the test is not a Wikipedia, type <code><nowiki>{{Incubator|</nowiki>''languagecode''|''projectname''}}</code>
* If the language name is different to the name of the article, add <code>|lang= ''languagename''</code>
+
* If the language name differs from the name of the article, add <code>|lang=''languagename''</code>
  
For example, the French Wikibooks would be <code><nowiki>{{Incubator|fr|wikibooks}}</nowiki></code>.
+
For example, the Assamese Wikibooks would be <code><nowiki>{{Incubator|as|wikibooks}}</nowiki></code> or <code><nowiki>{{Incubator|as|wikibooks|lang=Assamese}}</nowiki></code>, depending on where the template is used.
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||

Revision as of 23:16, 6 August 2018

Usage

This is to be placed at the end of a language article (in the External links section, just before the first link), in the same way as the {{InterWiki}} template is used now, but for test Wikipedias on Incubator.

  • Type {{Incubator|languagecode}} for test Wikipedias
  • If the test is not a Wikipedia, type {{Incubator|languagecode|projectname}}
  • If the language name differs from the name of the article, add |lang=languagename

For example, the Assamese Wikibooks would be {{Incubator|as|wikibooks}} or {{Incubator|as|wikibooks|lang=Assamese}}, depending on where the template is used.