Difference between revisions of "Template:Feature"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{| class="wikitable" align="right" | {| class="wikitable" align="right" | ||
|- | |- | ||
− | ! | + | ! {{{explains}}} |
|- | |- | ||
− | | | + | | {{{description}}} |
|- | |- | ||
| {{#if: {{{notes|}}} | Notes<br />{{{notes}}}<br /> | }}{{#if: {{{tests|}}} | Tests<br />{{{tests}}}<br /> | }}{{ #if: {{{examples|}}} | Examples<br />{{{examples}}} | }} | | {{#if: {{{notes|}}} | Notes<br />{{{notes}}}<br /> | }}{{#if: {{{tests|}}} | Tests<br />{{{tests}}}<br /> | }}{{ #if: {{{examples|}}} | Examples<br />{{{examples}}} | }} | ||
|} | |} | ||
+ | <!-- add a declare block --> | ||
+ | {{#declare:explainsFeature=explains|+sep=; | ||
+ | |featureDescription=description | ||
+ | }} | ||
<includeonly>[[Category:Feature]] [[Category:Wiki]]</includeonly> | <includeonly>[[Category:Feature]] [[Category:Wiki]]</includeonly> | ||
<noinclude> | <noinclude> |
Revision as of 15:30, 19 January 2016
{{{explains}}} |
---|
{{{description}}} |
Usage[edit source]
To use the template, please fill out the Feature form.
Note about implementation[edit source]
The declare block turns parameters into properties
The above documentation is transcluded from Template:Feature/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. |