Changes

Jump to navigation Jump to search
354 bytes added ,  08:16, 28 April 2020
revert Special:CreateTemplate and add a link in the doc block to the form
<noinclude>This is the "Feature" template.It should be called in the following format:<pre>{{Feature|explains=|description=|notes=|tests=|examples=}}</pre>Edit the page to see the template text.</noinclude><includeonly>{| class="wikitable"! Page or feature name| [[Feature explanationalign="right" style="width::{{{explains|}}}]]|min-! Description| [[Feature description::{{{description|}}}]]|-! Notes| [[Feature notes::{{{notes|}}}]]|-! Test it (after upgrade)| [[Feature tests::{{{tests|}}}]]content;"
|-
! Examples| [[{{{explains}}}]]| {{{description}}}| {{#if: {{{notes|add notes:[[Feature examples{{{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 /includeonlydoc 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>

Navigation menu