m (1 revision imported) |
No edit summary Tag: Reverted |
||
Line 15: | Line 15: | ||
The parameter header controls the text displayed at the top of the group. | The parameter header controls the text displayed at the top of the group. | ||
< | <syntaxhighlight lang="wikitext"> | ||
{{FAQ group begin|header=some text here}} | {{FAQ group begin|header=some text here}} | ||
Line 21: | Line 21: | ||
{{FAQ group end}} | {{FAQ group end}} | ||
</ | </syntaxhighlight> | ||
<div style="background:#fff; border:1px dashed #888; padding:10px; margin-top:4px;"> | <div style="background:#fff; border:1px dashed #888; padding:10px; margin-top:4px;"> | ||
Line 35: | Line 35: | ||
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". | 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". | ||
< | <syntaxhighlight lang="wikitext"> | ||
{{FAQ group begin|header=some text here|hide=yes}} | {{FAQ group begin|header=some text here|hide=yes}} | ||
Line 41: | Line 41: | ||
{{FAQ group end}} | {{FAQ group end}} | ||
</ | </syntaxhighlight> | ||
<div style="background:#fff; border:1px dashed #888; padding:10px; margin-top:4px;"> | <div style="background:#fff; border:1px dashed #888; padding:10px; margin-top:4px;"> | ||
Line 55: | Line 55: | ||
This template is often used with [[Template:FAQ row]] to provide a complete picture of its use. | This template is often used with [[Template:FAQ row]] to provide a complete picture of its use. | ||
< | <syntaxhighlight lang="wikitext"> | ||
{{FAQ group begin|header=Family and religious background}} | {{FAQ group begin|header=Family and religious background}} | ||
{{FAQ row | {{FAQ row | ||
Line 66: | Line 66: | ||
}} | }} | ||
{{FAQ group end}} | {{FAQ group end}} | ||
</ | </syntaxhighlight> | ||
<div style="background:#fff; border:1px dashed #888; padding:10px; margin-top:4px;"> | <div style="background:#fff; border:1px dashed #888; padding:10px; margin-top:4px;"> |
Revision as of 15:30, 23 November 2023
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
- REDIRECT Template:Template link
Template:Redirect category shell has no parameters.
- REDIRECT Template:Template link
Template:Redirect category shell has two parameters: header, and hide.
header
The parameter header controls the text displayed at the top of the group.
<syntaxhighlight lang="wikitext">
some filler text...
</syntaxhighlight>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
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".
<syntaxhighlight lang="wikitext">
some filler text...
</syntaxhighlight>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Example
This template is often used with Template:FAQ row to provide a complete picture of its use.
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
See also
Similar templates:
- REDIRECT Template:Template link
Template:Redirect category shell – basic, non-collapsed list
- REDIRECT Template:Template link
Template:Redirect category shell – collapsed questions
- REDIRECT Template:Template link
Template:Redirect category shell – groups questions
- REDIRECT Template:Template link
Template:Redirect category shell – groups questions
- REDIRECT Template:Template link
Template:Redirect category shell – message to be placed on top of separate FAQ pages
- REDIRECT Template:Template link
Template:Redirect category shell – not a FAQ (but will link to one); warns against rehashing debates
- REDIRECT Template:Template link