Template:FAQ: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(Add version 1.2)
(Simplify Category assignment. Add category Errata when using the FAQ template.)
Line 5: Line 5:
             }}  
             }}  
           | {{FAQ_1.2}}
           | {{FAQ_1.2}}
         }} [[Category:FAQProblems]][[Category:FAQ]]
         }} [[Category:FAQProblems]]
   |1.5 = {{#if:{{{page|}}}  
   |1.5 = {{#if:{{{page|}}}  
           | {{FAQ_1.5
           | {{FAQ_1.5
Line 11: Line 11:
             }}  
             }}  
           | {{FAQ_1.5}}
           | {{FAQ_1.5}}
         }} [[Category:FAQProblems]][[Category:FAQ]]
         }} [[Category:FAQProblems]]
   |1.6 = {{#if:{{{page|}}}
   |1.6 = {{#if:{{{page|}}}
           | {{FAQ_1.6
           | {{FAQ_1.6
Line 17: Line 17:
             }}
             }}
           | {{FAQ_1.6}}
           | {{FAQ_1.6}}
         }} [[Category:FAQ]]
         }}
   |#default  = {{#if:{{{page|}}}
   |#default  = {{#if:{{{page|}}}
                 | {{FAQ_1.6
                 | {{FAQ_1.6
                   |page={{{page|}}} [[Category:FAQ]]
                   |page={{{page|}}}
                   }}
                   }}
                 | {{FAQ_1.6}}
                 | {{FAQ_1.6}}
               }} [[Category:FAQ]]
               }}
}}</includeonly>
}}[[Category:FAQ]][[Category:Errata]]</includeonly>
<noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation}}</noinclude>

Revision as of 21:17, 7 May 2016

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?)