Template:CatMask: Difference between revisions
From HPC Wiki
(Created page with "<includeonly>{{#if: {{{1|}}} |{{#ifeq: {{NAMESPACE}} | {{{2|Template}}} | | [[Category:{{{1|}}}]] }} |{{Error|CatMask|1. unnamed}} }}</includeonly><noinclude> {{Documentation}...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
|{{#ifeq: {{NAMESPACE}} | {{{2|Template}}} | | [[Category:{{{1|}}}]] }} | |{{#ifeq: {{NAMESPACE}} | {{{2|Template}}} | | [[Category:{{{1|}}}]] }} | ||
|{{Error|CatMask|1. unnamed}} | |{{Error|CatMask|1. unnamed}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude>{{Documentation}}</noinclude> | ||
{{Documentation}} | |||
</noinclude> |
Latest revision as of 00:46, 28 December 2016
[edit]
Documentation
Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.
As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.
Use this template to add a page to a category except if used in the mask namespace.
Parameters
- 1. unnamed
- Specify the category.
- 2. unnamed (optional)
- Specify the mask namespace (default: Template).
Usage
See the template's testcases:
Parameter: 1. unnamed | |
---|---|
Wiki code | {{CatMask|Software}}
|
Main version | |
Sandbox version |
Parameter: 1. unnamed, 2. unnamed | |
---|---|
Wiki code | {{CatMask|Software|Template}}
|
Main version | |
Sandbox version |
Note
The above documentation is transcluded from Template:CatMask/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.
The above documentation is transcluded from Template:CatMask/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.