Difference between revisions of "Template:Feature"

From Freephile Wiki
Jump to navigation Jump to search
(updated to make rows conditional)
Line 4: Line 4:
 
|-
 
|-
 
| [[featureDescription::{{{description}}}]]
 
| [[featureDescription::{{{description}}}]]
|-
+
{{ #if: {{{notes|}}} |  
| Notes<br />{{{notes}}}
+
{{!}}-  
|-
+
{{!}} Notes<br /> {{{notes}}} | }}
| Tests<br />{{{tests}}}
+
{{ #if: {{{tests|}}} | 
|-
+
{{!}}-  
| Example<br />{{{examples}}}
+
{{!}} Tests<br /> {{{tests}}} | }}
 +
{{ #if: {{{examples|}}} | | }}
 +
{{!}}-  
 +
{{!}} Examples<br /> {{{examples}}} | }}
 
|}
 
|}
 
<noinclude>
 
<noinclude>

Revision as of 16:39, 18 January 2016

{{{explains}}}Property "ExplainsFeature" (as page type) with input value "{{{explains}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.
{{{description}}}Property "FeatureDescription" (as page type) with input value "{{{description}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.


}}
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