Difference between revisions of "Template:Incubator/doc"
Jump to navigation
Jump to search
imported>Vanisaac |
imported>Amire80 (+ TemplateData) |
||
| Line 15: | Line 15: | ||
}}</includeonly> | }}</includeonly> | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "1": { | ||
| + | "label": "Language code", | ||
| + | "type": "line", | ||
| + | "required": true | ||
| + | }, | ||
| + | "2": { | ||
| + | "label": "Project", | ||
| + | "description": "Valid values: wikipedia, wiktionary, wikibooks, wikinews, wikiquote", | ||
| + | "type": "line" | ||
| + | }, | ||
| + | "lang": { | ||
| + | "description": "Language name, if different from the article name" | ||
| + | } | ||
| + | }, | ||
| + | "paramOrder": [ | ||
| + | "1", | ||
| + | "2", | ||
| + | "lang" | ||
| + | ] | ||
| + | } | ||
| + | </templatedata> | ||
Latest revision as of 09:29, 27 June 2020
| 40px | This is a documentation subpage for Template:Incubator. It contains usage information, categories and other content that is not part of the original template page. |
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.
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Language code | 1 | no description | Line | required |
| Project | 2 | Valid values: wikipedia, wiktionary, wikibooks, wikinews, wikiquote | Line | optional |
| Lang | lang | Language name, if different from the article name | Unknown | optional |