Difference between revisions of "Template:FAQ/doc"

From blackwiki
Jump to navigation Jump to search
imported>Gadget850
m (Reverted edits by 78.40.255.8 (talk) to last version by Gadget850)
(Section headings)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
+
&lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
  
<includeonly>{{esoteric}}</includeonly>
+
&lt;includeonly>{{esoteric}}&lt;/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>
+
&lt;code>&lt;nowiki>{{FAQ}}&lt;/nowiki>&lt;/code>
 
{{FAQ}}
 
{{FAQ}}
  
  
<code><nowiki>{{FAQ|see also=[[Wikipedia:FAQ]]}}</nowiki></code>
+
&lt;code>&lt;nowiki>{{FAQ|see also=[[Wikipedia:FAQ]]}}&lt;/nowiki>&lt;/code>
 
{{FAQ|see also=[[Wikipedia:FAQ]]}}
 
{{FAQ|see also=[[Wikipedia:FAQ]]}}
  
  
<code><nowiki>{{FAQ|collapsed=yes}}</nowiki></code>
+
&lt;code>&lt;nowiki>{{FAQ|collapsed=yes}}&lt;/nowiki>&lt;/code>
 
{{FAQ|collapsed=yes}}
 
{{FAQ|collapsed=yes}}
  
  
<code><nowiki>{{FAQ|collapsed=no}}</nowiki></code>
+
&lt;code>&lt;nowiki>{{FAQ|collapsed=no}}&lt;/nowiki>&lt;/code>
 
{{FAQ|collapsed=no}}
 
{{FAQ|collapsed=no}}
  
  
<code><nowiki>{{FAQ|quickedit=no}}</nowiki></code>
+
&lt;code>&lt;nowiki>{{FAQ|quickedit=no}}&lt;/nowiki>&lt;/code>
 
{{FAQ|quickedit=no}}
 
{{FAQ|quickedit=no}}
  
<code><nowiki>{{FAQ|small=yes}}</nowiki></code>
+
&lt;code>&lt;nowiki>{{FAQ|small=yes}}&lt;/nowiki>&lt;/code>
 
{{FAQ|small=yes}}
 
{{FAQ|small=yes}}
  
  
<code><nowiki>{{FAQ}}</nowiki></code> (on a talk page)
+
&lt;code>&lt;nowiki>{{FAQ}}&lt;/nowiki>&lt;/code> (on a talk page)
 
{{FAQ|demospace=talk}}
 
{{FAQ|demospace=talk}}
  
  
<code><nowiki>{{FAQ|small=yes}}</nowiki></code> (on a talk page)
+
&lt;code>&lt;nowiki>{{FAQ|small=yes}}&lt;/nowiki>&lt;/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 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.)
+
Section headings should not normally be used within th
 
 
==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 12:27, 4 March 2013

<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->

<includeonly>

</includeonly>

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

Usage

<code><nowiki>

Frequently asked questions (FAQ)
Q:
A:

</nowiki></code>

Frequently asked questions (FAQ)
Q:
A:


<code><nowiki>

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

</nowiki></code>

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


<code><nowiki>

Frequently asked questions (FAQ)
Q:
A:

</nowiki></code>

Frequently asked questions (FAQ)
Q:
A:


<code><nowiki>

Frequently asked questions (FAQ)
Q:
A:

</nowiki></code>

Frequently asked questions (FAQ)
Q:
A:


<code><nowiki>

Frequently asked questions (FAQ)
Q:
A:

</nowiki></code>

Frequently asked questions (FAQ)
Q:
A:

<code><nowiki>

FAQ
Q:
A:

</nowiki></code>

FAQ
Q:
A:


<code><nowiki>

Frequently asked questions (FAQ)
Q:
A:

</nowiki></code> (on a talk page)

Frequently asked questions (FAQ)
Q:
A:


<code><nowiki>

FAQ
Q:
A:

</nowiki></code> (on a talk page)

FAQ
Q:
A:

Section headings

Section headings should not normally be used within th