More actions
*>Hydriz Fix |
*>Hydriz Revert that |
||
Line 1: | Line 1: | ||
<includeonly>(<span style="color:green;">''{{{1|{{{label|}}}}}}''</span>)<!-- | <includeonly>(<span style="color:green;">''{{{1|{{{label|}}}}}}''</span>)</includeonly><!-- | ||
-->{{#ifeq:{{NAMESPACE}}|Template| | -->{{#ifeq:{{NAMESPACE}}|Template|[[Category:Context labels|{{PAGENAME}}]]}}<noinclude> | ||
[[Category:Context labels|{{PAGENAME}}]]}} | |||
{{documentation}} | {{documentation}} | ||
<!-- Categories, interwikis and TemplateData goes to the /doc subpage --> | <!-- Categories, interwikis and TemplateData goes to the /doc subpage --> | ||
</noinclude> | </noinclude> |
Revision as of 13:53, 30 January 2014
This template is used to create context labels, such as {{countable}}.
Usage
{{context | 1 = Context label }}
There are also a couple of templates that uses this one and adds a separate category for those. This template by itself will not add any categories to entry pages.
TemplateData
This is the TemplateData documentation for the template used by the new VisualEditor.
Context
Template for adding context labels to entry pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Label | 1 label | The context label to use. | String | optional |
The above documentation is transcluded from Template:context/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |