Difference between revisions of "Template:FAQ/doc"
(Section headings) |
imported>HLwiKi m (Reverted 1 edit by 115.67.231.93 (talk) to last revision by Gadget850. (TW)) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | + | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> | |
| − | + | <includeonly>{{esoteric}}</includeonly> | |
This template includes an FAQ sub-page on an article or talk page. | This template includes an FAQ sub-page on an article or talk page. | ||
== Usage == | == Usage == | ||
| − | + | <code><nowiki>{{FAQ}}</nowiki></code> | |
{{FAQ}} | {{FAQ}} | ||
| − | + | <code><nowiki>{{FAQ|see also=[[Wikipedia:FAQ]]}}</nowiki></code> | |
{{FAQ|see also=[[Wikipedia:FAQ]]}} | {{FAQ|see also=[[Wikipedia:FAQ]]}} | ||
| − | + | <code><nowiki>{{FAQ|collapsed=yes}}</nowiki></code> | |
{{FAQ|collapsed=yes}} | {{FAQ|collapsed=yes}} | ||
| − | + | <code><nowiki>{{FAQ|collapsed=no}}</nowiki></code> | |
{{FAQ|collapsed=no}} | {{FAQ|collapsed=no}} | ||
| − | + | <code><nowiki>{{FAQ|quickedit=no}}</nowiki></code> | |
{{FAQ|quickedit=no}} | {{FAQ|quickedit=no}} | ||
| − | + | <code><nowiki>{{FAQ|small=yes}}</nowiki></code> | |
{{FAQ|small=yes}} | {{FAQ|small=yes}} | ||
| − | + | <code><nowiki>{{FAQ}}</nowiki></code> (on a talk page) | |
{{FAQ|demospace=talk}} | {{FAQ|demospace=talk}} | ||
| − | + | <code><nowiki>{{FAQ|small=yes}}</nowiki></code> (on a talk page) | |
{{FAQ|small=yes|demospace=talk}} | {{FAQ|small=yes|demospace=talk}} | ||
== Section headings == | == Section headings == | ||
| − | Section headings should not normally be used within th | + | 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:20, 14 March 2013
| This is a documentation subpage for Template:FAQ. It contains usage information, categories and other content that is not part of the original template page. |
This template includes an FAQ sub-page on an article or talk page.
Usage
{{FAQ}}
| ? edit | Frequently asked questions (FAQ) |
|---|---|
| |
{{FAQ|see also=[[Wikipedia:FAQ]]}}
| ? edit | Frequently asked questions (FAQ) (see also: Wikipedia:FAQ) |
|---|---|
| |
{{FAQ|collapsed=yes}}
| ? edit | Frequently asked questions (FAQ) |
|---|---|
| |
{{FAQ|collapsed=no}}
| ? edit | Frequently asked questions (FAQ) |
|---|---|
| |
{{FAQ|quickedit=no}}
| ? faq page | Frequently asked questions (FAQ) |
|---|---|
| |
{{FAQ|small=yes}}
| ? edit | FAQ |
|---|---|
| |
{{FAQ}} (on a talk page)
| ? edit | Frequently asked questions (FAQ) |
|---|---|
| |
{{FAQ|small=yes}} (on a talk page)
| ? edit | FAQ |
|---|---|
| |
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:
- {{FAQ}} – basic, non-collapsed list
- {{FAQ row}} – collapsed questions
- {{FAQ group begin}} – groups questions
- {{FAQ group end}} – groups questions
- {{FAQ page}} – message to be placed on top of separate FAQ pages
- {{Round in circles}} – not a FAQ (but will link to one); warns against rehashing debates
- {{Circular definition}}