Difference between revisions of "Template:FAQ"

From SHA2017
Jump to: navigation, search
Line 14: Line 14:
 
<includeonly>
 
<includeonly>
 
{{#subobject:{{{q}}}
 
{{#subobject:{{{q}}}
|q={{{q}}}
+
|question={{{q}}}
|a={{{a}}}
+
|answer={{{a}}}
 
|team={{{team|}}}|+sep=,
 
|team={{{team|}}}|+sep=,
 
|tag={{{tags|}}}|+sep=,
 
|tag={{{tags|}}}|+sep=,
 
|link={{{link|}}}
 
|link={{{link|}}}
 +
|status={{{status|-}}}
 +
|IDtest={{{FULLPAGENAME}}}
 
}}
 
}}
 
=={{{q}}}==
 
=={{{q}}}==
 
<div class="answer">{{{a|''no answer yet given''}}}</div>
 
<div class="answer">{{{a|''no answer yet given''}}}</div>
 +
{{#if:{{{link|}}}
 +
: {{{link|}}}
 +
}}
 +
{{#if:{{{team|}}}{{{tags|}}}
 
{| class="extra-data wikitable"
 
{| class="extra-data wikitable"
 
|-
 
|-
Line 30: Line 36:
 
| {{{tags|}}}
 
| {{{tags|}}}
 
|}
 
|}
{{#if:{{{link|}}} }}
+
}}
: {{{link|}}}
 
 
</includeonly>
 
</includeonly>

Revision as of 20:53, 25 August 2016

A (frequently) asked question, and its answer. {{FAQ |q= |a= |team= |tags= |link= |status=draft/example/public}} todo: set value for 'none given' (to make querying for empty values possible), work out the status (draft/example/public are public to edit; an 'approved' should be set else for permission purposes)