Template:FAQ/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(sync with devwiki. latest version for release 1.1) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
==Description== | ==Description== | ||
*This template | *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 | ||
| | |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. | |||
}} | }} | ||
</pre> | </pre><noinclude>[[Category:Template documentation]]</noinclude> | ||
<noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 13:05, 22 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 = <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. }}