Difference between revisions of "Template:FAQ page"

From blackwiki
Jump to navigation Jump to search
imported>Anachronist
m (clearer statement of purpose)
imported>Andrybak
m (categorization: used in Main, Template, Wikipedia namespaces (i.e. not restricted to Wikipedia namespace) ⇒ move to parent Category:Header templates)
Line 48: Line 48:
 
* {{tl|FAQ}} – a template for transcluding a short, collapsible FAQ (with "Q&A" formatting) into talk pages.
 
* {{tl|FAQ}} – a template for transcluding a short, collapsible FAQ (with "Q&A" formatting) into talk pages.
  
[[Category:Wikipedia header templates ]]
+
[[Category:Header templates]]
[[Category:Wikipedia FAQs|Wikipedia FAQs]]
+
[[Category:Wikipedia FAQs|Template]]
 
}}
 
}}
 
</noinclude>
 
</noinclude>

Revision as of 11:34, 29 February 2020

Template documentation

This page-top banner template is for Wikipedia-internal FAQ pages.

Usage

For a stand-alone FAQ page: {{FAQ page}}

For such a page with shortcuts: {{FAQ page|WP:SC1|WP:SC2}}

For a FAQ that is intended to be transcluded into another page: <noinclude>{{FAQ page}}</noinclude> (this will suppress display of this banner in the transcluding page, but preserve it and its auto-categorization on the FAQ's own page).

This template categorizes pages into one of the following categories, depending on the namespace the template is used in:

It will not be categorized at all if mistakenly put into a namespace that should not contain such a page, e.g. the main (article) namespace, "Module", "File", "Mediawiki", and some others. It might be best if the template threw a big red error in such a case, but it is not presently coded to do so.

See also

  • {{FAQ}} – a template for transcluding a short, collapsible FAQ (with "Q&A" formatting) into talk pages.