Difference between revisions of "Template:FAQ page"

From blackwiki
Jump to navigation Jump to search
imported>SMcCandlish
(typo)
imported>Nardog
(support non-article namespaces)
Line 1: Line 1:
 
{{Tmbox
 
{{Tmbox
 
|type = notice
 
|type = notice
|text = This page is an [[FAQ]] {{em|about}} the corresponding page [[{{{page|{{BASEPAGENAME}}}}}]].<p>It provides responses for certain topics repeatedly brought up on the talk page. Providing similar answers each time a topic is brought up uses up many editors' time and energy. The FAQ addresses these common concerns, criticisms, and arguments, and answers various misconceptions behind them. {{crossref|(For information about the Wikipedia project itself, see [[Wikipedia:FAQ]].)}}<p>These FAQ answers reflect the decisions found in the talk page [[Wikipedia:How_to_archive_a_talk_page|archives]]. Please feel free to change them in light of new discussion.</p>
+
|text = This page is an [[FAQ]] {{em|about}} the corresponding page [[{{{page|{{#if:{{SUBJECTSPACE}}|{{SUBJECTSPACE}}:}}{{BASEPAGENAME}}}}}]].<p>It provides responses for certain topics repeatedly brought up on the talk page. Providing similar answers each time a topic is brought up uses up many editors' time and energy. The FAQ addresses these common concerns, criticisms, and arguments, and answers various misconceptions behind them. {{crossref|(For information about the Wikipedia project itself, see [[Wikipedia:FAQ]].)}}<p>These FAQ answers reflect the decisions found in the talk page [[Wikipedia:How_to_archive_a_talk_page|archives]]. Please feel free to change them in light of new discussion.</p>
 
|imageright = {{#if:{{{shortcut|{{{shortcut1|{{{sc1|{{{1<includeonly>|</includeonly>}}}}}}}}}}}} |{{shortcut|{{{shortcut|{{{shortcut1|{{{sc1|{{{1}}}}}}}}}}}}|{{{shortcut2|{{{sc2|{{{2|}}}}}}}}}|{{{shortcut3|{{{sc3|{{{3|}}}}}}}}}|{{{shortcut4|{{{sc4|{{{4|}}}}}}}}}|{{{shortcut5|{{{sc5|{{{5|}}}}}}}}}<noinclude>|category=no</noinclude>}} }}
 
|imageright = {{#if:{{{shortcut|{{{shortcut1|{{{sc1|{{{1<includeonly>|</includeonly>}}}}}}}}}}}} |{{shortcut|{{{shortcut|{{{shortcut1|{{{sc1|{{{1}}}}}}}}}}}}|{{{shortcut2|{{{sc2|{{{2|}}}}}}}}}|{{{shortcut3|{{{sc3|{{{3|}}}}}}}}}|{{{shortcut4|{{{sc4|{{{4|}}}}}}}}}|{{{shortcut5|{{{sc5|{{{5|}}}}}}}}}<noinclude>|category=no</noinclude>}} }}
 
}}{{#ifeq:{{{demo}}}|yes||<includeonly>{{#switch:{{NAMESPACE}}
 
}}{{#ifeq:{{{demo}}}|yes||<includeonly>{{#switch:{{NAMESPACE}}

Revision as of 11:10, 9 May 2018

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.