Difference between revisions of "Template:FAQ group begin"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(lose the borders and background colour so that this fits better into an {{FAQ}})
imported>Pigsonthewing
Line 1: Line 1:
<includeonly><div class="NavFrame {{#ifeq:{{{hide|}}}|no||{{#ifeq:{{{hide|}}}|yes|collapsed|{{#ifeq:{{{hide|}}}|conditional|{{#ifeq:{{Str find|{{FULLPAGENAME}}|/FAQ}}|-1|collapsed|}}|}} }} }}" style="border:none; margin:4px 0px 4px 0px; padding:0px;">
+
{{Template for discussion/dated|page=FAQ group begin|link=Wikipedia:Templates for discussion/Log/2015 July 28#Template:FAQ group begin|help=off}}<includeonly><div class="NavFrame {{#ifeq:{{{hide|}}}|no||{{#ifeq:{{{hide|}}}|yes|collapsed|{{#ifeq:{{{hide|}}}|conditional|{{#ifeq:{{Str find|{{FULLPAGENAME}}|/FAQ}}|-1|collapsed|}}|}} }} }}" style="border:none; margin:4px 0px 4px 0px; padding:0px;">
 
<div class="NavHead" style="background:transparent; height:auto; border:none; margin-bottom:-1px; padding:2px 30px 2px 2px; text-align:center; font-size:110%; font-weight:bold;">{{{header|<span class="error">Missing " header=''[header text]'' "</span>}}}</div>
 
<div class="NavHead" style="background:transparent; height:auto; border:none; margin-bottom:-1px; padding:2px 30px 2px 2px; text-align:center; font-size:110%; font-weight:bold;">{{{header|<span class="error">Missing " header=''[header text]'' "</span>}}}</div>
 
<div class="NavContent" style="padding:4px; font-size:105%; text-align:left;"></includeonly><noinclude>{{documentation}}</noinclude>
 
<div class="NavContent" style="padding:4px; font-size:105%; text-align:left;"></includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 10:02, 28 July 2015

Template:Template for discussion/dated

Template documentation[view] [edit] [history] [purge]

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}}
Template:Template for discussion/dated

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}}
Template:Template for discussion/dated

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}}
Template:Template for discussion/dated

See also

Similar templates: