Difference between revisions of "Template:FAQ page"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(see also)
imported>SMcCandlish
(typo)
Line 27: Line 27:
 
}}<noinclude>
 
}}<noinclude>
  
{{Documentation|content=This page-top banner template is for Wikipedia-internal [[FAQ]] pages.
+
{{Documentation|content=
 +
This page-top banner template is for Wikipedia-internal [[FAQ]] pages.
  
 
==Usage==
 
==Usage==
Line 34: Line 35:
 
For such a page with shortcuts: {{tnull|FAQ page|WP:SC1|WP:SC2}}
 
For such a page with shortcuts: {{tnull|FAQ page|WP:SC1|WP:SC2}}
  
For a FAQ that is intended to be transcluded into another page:  <code><nowiki><noinclude>{{FAQ page}}</noinclude></nowiki></code> (this will suppress display of this banner in the transcluding page, but preserve it and its auto-categorization on the FAQ's own page).
+
For a FAQ that is intended to be transcluded into another page:  <code><nowiki>&lt;noinclude&gt;{{FAQ page}}&lt;/noinclude&gt;</nowiki></code> (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 [[WP:NAMESPACE|namespace]] the template is used in:
 
This template categorizes pages into one of the following categories, depending on the [[WP:NAMESPACE|namespace]] the template is used in:

Revision as of 15:29, 10 January 2017

50px 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.