Template:FAQ/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(→Usage) |
||
Line 7: | Line 7: | ||
}}</pre> | }}</pre> | ||
Must be used inside of a [[w:Help:Wikitable|wikitable]] as a row. In other words, start out with | Must be used inside of a [[w:Help:Wikitable|wikitable]] as a row. In other words, start out with a table header tag: | ||
<pre>{|</pre> | <pre>{|</pre> | ||
Place each FAQ Q/A inside an <nowiki>{{FAQ}}</nowiki> template and then end with | Place each FAQ Q/A inside an <nowiki>{{FAQ}}</nowiki> template and then end with the closing table tag: | ||
<pre>|}</pre> | <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:28, 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 a table header tag:
{|
Place each FAQ Q/A inside an {{FAQ}} template and then end with the closing table tag:
|}
Anchors (1
through 10
) and BGcolor
are optional. The template can hold up to ten Anchors.