Template:Template Parameter: Difference between revisions

From HPC Wiki
Jump to:navigation Jump to:search
m (Protected "Template:Template Parameter" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
 
Line 1: Line 1:
<includeonly>| {{#switch: {{{1|}}}|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20=Anonymous parameter&nbsp;}}<code>{{{1}}}</code> || {{#ifeq: {{{required|no}}} | yes | {{Yes}} | {{No}}}} || {{#if: {{{default|}}} | <code>{{{default}}}</code> | ''(n/a)''}} || {{{2|''(description missing)''}}}
<includeonly>| {{#switch: {{{1|}}}|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20=Anonymous parameter&nbsp;}}<code>{{{1}}}</code> || {{#ifeq: {{{required|no}}} | yes | {{Yes}} | {{No}}}} || {{#if: {{{default|}}} | <code>{{{default}}}</code> | ''(n/a)''}} || {{{2|''(description missing)''}}}
|-</includeonly><noinclude>
|-</includeonly><noinclude>{{Documentation}}</noinclude>
{{Documentation}}
</noinclude>

Latest revision as of 01:51, 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.

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.

Single template parameter for documentation purposes.

Parameters

Parameter name Required? Default value Description
Anonymous parameter 1 Yes (n/a) Parameter name
Anonymous parameter 2 Yes (n/a) Parameter description
required No no Set to yes if the parameter is required
default No (n/a) Default value

Usage

See the template's testcases: Template:Template Parameter/testcases

See also

Note
The above documentation is transcluded from Template:Template Parameter/doc. (edit | history)
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.