Template:FAQ/doc: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
No edit summary
(sync with devwiki. latest version for release 1.1)
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
<pre>
<pre>
{{FAQ
{{FAQ
|question  = The question.
|question  = <mandatory> The question.
|answer    = The answer to the question.
|answer    = <mandatory> The answer to the question.
|source    = A link where the answer is from.
|source    = <mandatory> A link where the answer is from.
|reference = Who gave the answer.
|reference = <mandatory> Who gave the answer.
|icon      = <optional> The icon which is shown on the left side. Defaults to the descent D.
}}
}}
</pre>
</pre><noinclude>[[Category:Template documentation]]</noinclude>
{{FAQ
|question  = Am i a question?
|answer    = Yes, this is an answer
|source    = https://wiki.descent-community.org
|reference = I'm just a reference
}}
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 13:05, 22 April 2017

Description

  • This template is not intended to be used directly. It provides the formatting for FAQ entries.
  • Please use the Templates: UFAQ or OFAQ

Syntax

All parameters are required. The FAQ box will not be drawn if at least one of these parameters is missing.

{{FAQ
|question  = <mandatory> The question.
|answer    = <mandatory> The answer to the question.
|source    = <mandatory> A link where the answer is from.
|reference = <mandatory> Who gave the answer.
|icon      = <optional> The icon which is shown on the left side. Defaults to the descent D.
}}