Difference between revisions of "Template:Feature"

From Freephile Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{| class="wikitable" align="right"
 
{| class="wikitable" align="right"
 
|-
 
|-
! [[explainsFeature::{{{explains}}}]]
+
! {{{explains}}}
 
|-
 
|-
| [[featureDescription::{{{description}}}]]
+
| {{{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}}}


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