Template:FAQ/doc: Difference between revisions
Jump to navigation
Jump to search
(→Usage) |
(→Usage) |
||
Line 7: | Line 7: | ||
| Answer= | | Answer= | ||
}}</pre> | }}</pre> | ||
Must be used inside of a [[w:Wikipedia:Wikitable|wikitable]] as a row. In other words, start out with something like | |||
<pre>{|</pre> | |||
Place each FAQ Q/A inside an <nowiki>{{FAQ}}</nowiki> template and then end with | |||
<pre>|}</pre> | |||
Anchors (<code>1</code> through <code>10</code>) and <code>BGcolor</code> are optional. The template can hold up to ten Anchors. | Anchors (<code>1</code> through <code>10</code>) and <code>BGcolor</code> are optional. The template can hold up to ten Anchors. |
Revision as of 02:26, 5 November 2011
Usage
{{FAQ|1=ANCHOR|2=ANCHOR|3=ANCHOR (etc) | BGcolor= | Question= | Answer= }}
Must be used inside of a wikitable as a row. In other words, start out with something like
{|
Place each FAQ Q/A inside an {{FAQ}} template and then end with
|}
Anchors (1
through 10
) and BGcolor
are optional. The template can hold up to ten Anchors.