Difference between revisions of "Template:Feature"

From Freephile Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
{| class="wikitable" align="right" style="width:min-content;"
 
|-
 
|-
 
| [[{{{explains}}}]]
 
| [[{{{explains}}}]]
Line 5: Line 6:
 
| {{#if: {{{tests|}}} | {{{tests}}} }}
 
| {{#if: {{{tests|}}} | {{{tests}}} }}
 
| {{#if: {{{examples|}}} | {{{examples}}} }}
 
| {{#if: {{{examples|}}} | {{{examples}}} }}
<!-- add a declare block https://www.semantic-mediawiki.org/wiki/Help:Argument_declaration_in_templates -->
+
|}
 +
 
 
{{#declare:
 
{{#declare:
 
feature explanation=explains
 
feature explanation=explains
Line 17: Line 19:
 
{{documentation}}
 
{{documentation}}
 
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
 
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
 +
The [https://www.semantic-mediawiki.org/wiki/Help:Argument_declaration_in_templates declare block] turns parameters into properties
 +
 
</noinclude>
 
</noinclude>

Revision as of 14:08, 24 April 2020

[[{{{explains}}}]] {{{description}}} {{{notes}}}



Documentation icon Template documentation[view] [edit] [history] [purge]

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 declare block turns parameters into properties