Template:FAQ: Difference between revisions
Jump to navigation
Jump to search
(Automatically add pages which have a reference to the FAQ to their own category) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{version|}}} | <includeonly>[[Category:FAQ]]{{#switch:{{{version|}}} | ||
|1.5 = {{#if:{{{page|}}} | {{FAQ_1.5 |page={{{page|}}} }} | {{FAQ_1.5}} }} [[Category:FAQProblems]] | |1.5 = {{#if:{{{page|}}} | {{FAQ_1.5 |page={{{page|}}} }} | {{FAQ_1.5}} }} [[Category:FAQProblems]] | ||
|1.6 = {{#if:{{{page|}}} | {{FAQ_1.6 |page={{{page|}}} }} | {{FAQ_1.6}} }} | |1.6 = {{#if:{{{page|}}} | {{FAQ_1.6 |page={{{page|}}} }} | {{FAQ_1.6}} }} | ||
|#default = {{#if:{{{page|}}} | {{FAQ_1.6 |page={{{page|}}} }} | {{FAQ_1.6}} }} [[Category:FAQProblems]] | |#default = {{#if:{{{page|}}} | {{FAQ_1.6 |page={{{page|}}} }} | {{FAQ_1.6}} }} [[Category:FAQProblems]] | ||
}} | }}</includeonly> | ||
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}</noinclude> |
Revision as of 17:25, 12 April 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?)