Difference between revisions of "Template:FAQ/doc"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(→‎Section headers: Simple solution.)
imported>SMcCandlish
(typo)
Line 38: Line 38:
  
 
== Section headings ==
 
== Section headings ==
Section headings should not normally be used within the FAQ template since they will show in the table of contents of the page where the FAQ template is transcluded.  A way around this is to use markup like the following: <code><nowiki><includeonly>;</includeonly><noinclude>==</noinclude>Heading name<noinclude>==</noinclude>.  On the /FAQ content page itself, when not transcluded, it will have navigable headings.  When transcluded into the FAQ template (or elsewhere), it will have bold pseudo-headings. (This is a useful trick for long {{tl|Todo}} lists, too.)
+
Section headings should not normally be used within the FAQ template since they will show in the table of contents of the page where the FAQ template is transcluded.  A way around this is to use markup like the following: <code><nowiki><includeonly>;</includeonly><noinclude>==</noinclude>Heading name<noinclude>==</noinclude></nowiki></code>.  On the /FAQ content page itself, when not transcluded, it will have navigable headings.  When transcluded into the FAQ template (or elsewhere), it will have bold pseudo-headings. (This is a useful trick for long {{tl|Todo}} lists, too.)
  
 
==See also==
 
==See also==

Revision as of 12:02, 27 December 2009


This template includes an FAQ sub-page on an article or talk page.

Usage

{{FAQ}}

Frequently asked questions (FAQ)
Q:
A:


{{FAQ|see also=Wikipedia:FAQ}}

Frequently asked questions (FAQ) (see also: FAQ)
Q:
A:


{{FAQ|collapsed=yes}}

Frequently asked questions (FAQ)
Q:
A:


{{FAQ|collapsed=no}}

Frequently asked questions (FAQ)
Q:
A:


{{FAQ|quickedit=no}}

Frequently asked questions (FAQ)
Q:
A:

{{FAQ|small=yes}}

FAQ
Q:
A:


{{FAQ}} (on a talk page)

Frequently asked questions (FAQ)
Q:
A:


{{FAQ|small=yes}} (on a talk page)

FAQ
Q:
A:

Section headings

Section headings should not normally be used within the FAQ template since they will show in the table of contents of the page where the FAQ template is transcluded. A way around this is to use markup like the following: <includeonly>;</includeonly><noinclude>==</noinclude>Heading name<noinclude>==</noinclude>. On the /FAQ content page itself, when not transcluded, it will have navigable headings. When transcluded into the FAQ template (or elsewhere), it will have bold pseudo-headings. (This is a useful trick for long {{Todo}} lists, too.)

See also

Similar templates: