Difference between revisions of "Template:Feature"
Jump to navigation
Jump to search
(unlink the image) |
(revert Special:CreateTemplate and add a link in the doc block to the form) Tag: Undo |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {| class="wikitable" align="right" style="width:min-content;" | |
− | + | |- | |
+ | | [[{{{explains}}}]] | ||
+ | | {{{description}}} | ||
+ | | {{#if: {{{notes|add notes:[[{{{explains}}}]]}}} | {{{notes}}} }} | ||
+ | | {{#if: {{{tests|}}} | {{{tests}}} }} | ||
+ | | {{#if: {{{examples|}}} | {{{examples}}} }} | ||
+ | | {{#formlink:form=|link text=edit|link type=post button|tooltip=Edit with Form|target={{PAGENAME}}|popup|reload|returnto=Features}} | ||
+ | |} | ||
− | + | {{#declare: | |
− | + | feature explanation=explains | |
− | + | |feature description=description | |
− | + | |feature notes=notes | |
− | + | |feature tests=tests | |
+ | |feature examples=examples | ||
}} | }} | ||
− | </ | + | <includeonly>[[Category:Feature]] [[Category:Wiki]]</includeonly> |
− | [[ | + | <noinclude> |
+ | {{documentation}} | ||
+ | <!-- Categories go in the /doc subpage, and interwikis go in Wikidata. --> | ||
+ | This is the Feature template. To use it, use the [[Form:Feature|Feature]] form. | ||
+ | The [https://www.semantic-mediawiki.org/wiki/Help:Argument_declaration_in_templates declare block] turns parameters into properties | ||
− | + | </noinclude> | |
− | </noinclude | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 07:16, 28 April 2020
[[{{{explains}}}]] | {{{description}}} | {{{notes}}} | Error: 'popup' and 'returnto' cannot be set in the same function.
|
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. |
This is the Feature template. To use it, use the Feature form. The declare block turns parameters into properties