Difference between revisions of "Template:FAQ/doc"

From blackwiki
Jump to navigation Jump to search
imported>Gadget850
(Reverted 1 edit by 202.152.86.1 (talk) identified as vandalism to last revision by Psneog. (TW))
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 transc
+
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 a line by itself.  On the /FAQ content page itself, when not transcluded, it will have navigable headings as if it were a line reading <code><nowiki>==Heading name==</nowiki></code>.  When transcluded into the FAQ template (or elsewhere), it will have bold pseudo-headings, as if it were a line reading <code><nowiki>;Heading name</nowiki></code>. (This is a useful trick for long {{tl|Todo}} lists, too.)
 +
 
 +
==See also==
 +
{{FAQ templates see also}}
 +
 
 +
<includeonly><!--
 +
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
 +
[[Category:Talk header templates|{{PAGENAME}}]]
 +
[[as:Template:FAQ/doc]]
 +
[[mk:Шаблон:ЧПП]]
 +
[[ja:Template:FAQ]]
 +
[[th:แม่แบบ:FAQ]]
 +
</includeonly>

Revision as of 03:03, 16 December 2011


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: Wikipedia: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 a line by itself. On the /FAQ content page itself, when not transcluded, it will have navigable headings as if it were a line reading ==Heading name==. When transcluded into the FAQ template (or elsewhere), it will have bold pseudo-headings, as if it were a line reading ;Heading name. (This is a useful trick for long {{Todo}} lists, too.)

See also

Similar templates: