en>Tacsipacsi
(use mw-collapsible instead of this awful NavFrame, clean up a lot of now-unused CSS rules, move the remaining to CSS subpage; add id to the div instead of some span inside the title)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 15:18, 13 February 2021

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

Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab. Use this template on FAQ subpages.

Parameters

Use

There are three main features:

  1. "index", numbers a specific FAQ. You can link to each specific FAQ that has a unique index on a particular page. For example, to link to FAQ 2 for the Global warming FAQ page, "Talk:Global warming/FAQ#Q2". Follows the pattern "#Q{index}".
  2. "q", stands for question
  3. "a", stands for answer.
{{FAQ row
|index=1
|q=This is some question text...
|a=This is some answer text...
}}
Q1: This is some question text...
A1: This is some answer text...

Show

The box hides the answer on talk page and shows it on the /FAQ page. You may override this by adding "show=yes" so that the answer is always shown, or "show=no" so that the answer is always hidden.

{{FAQ row
|show=yes
|index=2
|q=This is some question text...
|a=This is some answer text...
}}
Q2: This is some question text...
A2: This is some answer text...

See also

Similar templates:

  1. REDIRECT Template:Template link

Template:Redirect category shell – basic, non-collapsed list

  1. REDIRECT Template:Template link

Template:Redirect category shell – collapsed questions

  1. REDIRECT Template:Template link

Template:Redirect category shell – groups questions

  1. REDIRECT Template:Template link

Template:Redirect category shell – groups questions

  1. REDIRECT Template:Template link

Template:Redirect category shell – message to be placed on top of separate FAQ pages

  1. REDIRECT Template:Template link

Template:Redirect category shell – not a FAQ (but will link to one); warns against rehashing debates

  1. REDIRECT Template:Template link

Template:Redirect category shell



Adds a new specific frequently asked question and answer combination.

Template parameters

ParameterDescriptionTypeStatus
FAQ unique identifierindex identifier unique ID unique number

Numbers a specific FAQ. You can link to each specific FAQ that has a unique index on a particular page.

Example
To link to FAQ 2 on the Global warming FAQ page, you could use "Global warming/FAQ#Q2". So the link follows the pattern of "#Q{index}".
Numberoptional
Always (not) show answer?show

The box hides the answer on Talk page and shows it on the normal/actual page. You may override this by setting to "yes" so that the answer is always shown, or "no" so that the answer is always hidden.

Suggested values
yes no
Stringoptional
Questionq

The actual frequently asked question

Stringrequired
Answera

The actual answer to the frequently asked question

Stringrequired
This page was last edited on 13 February 2021, at 15:18. Content is available under GPLv3 unless otherwise noted.