Template:FAQ group begin

From blackwiki
Revision as of 19:54, 5 January 2011 by 174.52.224.148 (talk) (small fix allowing one more condition)
Jump to navigation Jump to search

This template is used to group FAQ questions and answers. This template is used together with:

This template is usually used with Template:FAQ row, which contains the question and answer.

Parameters

{{FAQ group end}} has no parameters. {{FAQ group begin}} has two parameters: header, and hide.

header

The parameter header controls the text displayed at the top of the group.

{{FAQ group begin|header=some text here}}

some filler text...

{{FAQ group end}}

hide

The parameter "hide" is optional. The default is "hide=no". You may hide this box only on the talk page while having it open on the FAQ page by defining "hide=conditional". You may have this box always hidden by defining the condition "hide=yes".

{{FAQ group begin|header=some text here|hide=yes}}

some filler text...

{{FAQ group end}}

Example

This template is often used with Template:FAQ row to provide a complete picture of its use.

{{FAQ group begin|header=Family and religious background}}
{{FAQ row
|q=Q1: Why isn't...
|a='''A1''': the answer...
}}
{{FAQ row
|q=Q2: The article refers to him as...
|a='''A2''': the answer...
}}
{{FAQ group end}}

See also

Similar templates: