Template:FAQ/doc: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(Add version 1.2)
No edit summary
Line 1: Line 1:
==Description==
==Description==
*This template returns the URL to the FAQ.
*This template is not intended to be used directly. It provides the formatting for FAQ entries.
*Please use the Templates: [[Template:UFAQ|UFAQ]] or [[Template:OFAQ|OFAQ]]


==Syntax==
==Syntax==
All parameters are required. The FAQ box will not be drawn if at least one of these parameters is missing.
<pre>
<pre>
{{FAQ
{{FAQ
|version=
| question  = The question.
|page=
| answer    = The answer to the question.
| source    = A link where the answer is from.
| reference = Who gave the answer.
}}
}}
</pre>
</pre>
==Parameters==
'''|version='''<br>
Allowed values are:
* |version = 1.2
* |version = 1.5
* |version = 1.6
If no version is specified then the template returns the newest version and the page is added to the category [[Category::FAQProblems]]<br>
If the specified version is not the newest version, it adds the page to the category [[Category::FAQProblems]]
'''|page='''<br>
This parameter is optional.<br>
Allowed values are:
* Number from 1 to whatever page exists in the FAQ.
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 16:17, 2 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  = The question.
| answer    = The answer to the question.
| source    = A link where the answer is from.
| reference = Who gave the answer.
}}