Difference between revisions of "Template:FAQ"

From SHA2017
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
A (frequently) asked question, and its answer.
 
A (frequently) asked question, and its answer.
<nowiki>
+
<pre><nowiki>
 
{{FAQ
 
{{FAQ
 
|q=
 
|q=
Line 9: Line 9:
 
|link=
 
|link=
 
|status=draft/example/public}}
 
|status=draft/example/public}}
</nowiki>
+
</nowiki></pre>
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)
+
todo: work out the status (draft/example/public are public to edit; an 'approved' should be set else for permission purposes)
 
</noinclude>
 
</noinclude>
 
<includeonly>
 
<includeonly>
 
{{#subobject:{{{q}}}
 
{{#subobject:{{{q}}}
 
|question={{{q}}}
 
|question={{{q}}}
|answer={{{a}}}
+
|answer={{{a|Waiting to be answered}}}
|team={{{team|}}}|+sep=,
+
|team={{{team|-}}}|+sep=,
|tag={{{tags|}}}|+sep=,
+
|tag={{{tags|-}}}|+sep=,
 
|link={{{link|}}}
 
|link={{{link|}}}
 
|status={{{status|-}}}
 
|status={{{status|-}}}
Line 23: Line 23:
 
=={{{q}}}==
 
=={{{q}}}==
 
<div class="answer">{{{a|''no answer yet given''}}}</div>
 
<div class="answer">{{{a|''no answer yet given''}}}</div>
{{#if:{{{link|}}}
+
{{#if:{{{link|}}}|: {{{link|}}}
: {{{link|}}}
+
}}{| class="extra-data "
}}
 
 
 
{| class="extra-data wikitable"
 
 
|-
 
|-
 
! Team
 
! Team

Revision as of 20:41, 2 October 2016

A (frequently) asked question, and its answer.

{{FAQ
|q=
|a=
|team=
|tags=
|link=
|status=draft/example/public}}

todo: work out the status (draft/example/public are public to edit; an 'approved' should be set else for permission purposes)