Template:FAQ: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(Update template to latest and greatest now correctly flowing boxes.)
(and promptly copy/pasted wrong...)
Line 4: Line 4:
|source    = https://wiki.descent-community.org
|source    = https://wiki.descent-community.org
|reference = I'm just a reference
|reference = I'm just a reference
}}<includeonly>{{ #vardefine: def_icon | {{#if: {{{icon|}}} | {{{icon|}}} | [[File:Icon_-_Descent.png|50px]]}}
}}</noinclude><includeonly>{{ #vardefine: def_icon | {{#if: {{{icon|}}} | {{{icon|}}} | [[File:Icon_-_Descent.png|50px]]}}
}}{{#if:{{{question|}}} |
}}{{#if:{{{question|}}} |
   {{#if:{{{answer|}}} |
   {{#if:{{{answer|}}} |

Revision as of 21:38, 19 April 2017

Am i a question?
Yes, this is an answer
Source[1] I'm just a reference
Template documentation (for the above template, sometimes hidden or invisible)

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

Visit Template:FAQ/doc to edit this text! (How does this work?)