Template:FAQ: Difference between revisions
Jump to navigation
Jump to search
(Bleh. This doesn't work...) |
(Next attempt) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{version|}}} | <includeonly>{{#switch:{{{version|}}} | ||
|1.5 = {{#if:{{{page|}}} | {{FAQ_1.5 |page={{{page|}}} }} | {{FAQ_1.5}} }} [[Category:FAQProblems]] | |1.5 = {{#if:{{{page|}}} | ||
|1.6 = {{#if:{{{page|}}} | {{FAQ_1.6 |page={{{page|}}} }} | {{FAQ_1.6}} }} | | {{FAQ_1.5 | ||
|#default = {{#if:{{{page|}}} | {{FAQ_1.6 |page={{{page|}}} }} | {{FAQ_1.6}} }} [[Category: | |page={{{page|}}} | ||
}} | |||
| {{FAQ_1.5}} | |||
}} [[Category:FAQProblems]] | |||
|1.6 = {{#if:{{{page|}}} | |||
| {{FAQ_1.6 | |||
|page={{{page|}}} | |||
}} | |||
| {{FAQ_1.6}} | |||
}} [[Category:FAQ]] | |||
|#default = {{#if:{{{page|}}} | |||
| {{FAQ_1.6 | |||
|page={{{page|}}} [[Category:FAQ]] | |||
}} | |||
| {{FAQ_1.6}} | |||
}} [[Category:FAQ]] | |||
}}</includeonly> | }}</includeonly> | ||
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}</noinclude> |
Revision as of 17:33, 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?)