Template:Information page: Difference between revisions
meta>SMcCandlish borrowing code from Template:Supplement to be more specific; also, you can't supplement a practice. |
meta>SMcCandlish m code fix |
||
| Line 2: | Line 2: | ||
|type = notice | |type = notice | ||
|image = [[File:Info non-talk.svg|40px|link=]] | |image = [[File:Info non-talk.svg|40px|link=]] | ||
|text = '''This is an information page''' that describes communal [[WP:Consensus|consensus]] on some aspect of Wikipedia norms and practices. While it is not a [[Wikipedia:Policies and guidelines|policy or guideline]] itself, it is intended to supplement or clarify {{#if:{{{pages|}}}|<nowiki> </nowiki>the {{#ifexist:{{{pages}}}|[[{{{pages}}}]]|{{{pages|other Wikipedia guidelines and policies | |text = '''This is an information page''' that describes communal [[WP:Consensus|consensus]] on some aspect of Wikipedia norms and practices. While it is not a [[Wikipedia:Policies and guidelines|policy or guideline]] itself, it is intended to supplement or clarify {{#if:{{{pages|}}}|<nowiki> </nowiki>the {{#ifexist:{{{pages}}}|[[{{{pages}}}]]|{{{pages}}}|other Wikipedia guidelines and policies }} }}. Please defer to the relevant policy or guideline in case of inconsistency between that page and this one. | ||
|imageright = {{#if:{{{1<includeonly>|</includeonly>}}} | {{Ombox/shortcut|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}} }} }} | |imageright = {{#if:{{{1<includeonly>|</includeonly>}}} | {{Ombox/shortcut|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}} }} }} | ||
}}<includeonly>[[Category:Wikipedia information pages]]</includeonly><noinclude> | }}<includeonly>[[Category:Wikipedia information pages]]</includeonly><noinclude> | ||
Revision as of 18:43, 2 April 2014
| This is an information page that describes communal consensus on some aspect of Wikipedia norms and practices. While it is not a policy or guideline itself, it is intended to supplement or clarify . Please defer to the relevant policy or guideline in case of inconsistency between that page and this one. |
| This template adds an automatically generated short description when it is used in Wikipedia, Help, or User space. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
This is the page banner template for Wikipedia information pages.
It can be placed on top of administration pages (not-articles) when appropriate (see WP:INFOPAGES for details). This usually means pages in the "Wikipedia:" and "Help:" namespaces, but sometimes information pages also exist as user subpages.
Categorization
If a page that uses this template is in the "Wikipedia:" or "Help:" namespace, then this template adds Category:Wikipedia information pages to the page.
If the page is in the "User:" namespace, it will be put into Category:User essays. If your page is just a draft, please use the |nocat= parameter to prevent categorization, until it is finished.
If it is in some other namespace, it will not be auto-categorized, and it may be in the wrong place.
Usage
This template can be used as is, like this:
{{Information page}}
But it can also take up to three shortcuts as parameters. It then displays a small shortcut box inside it. Like this:
{{Information page|WP:SHORT|WP:LONG}}
Then it looks like this:
| This is an information page that describes communal consensus on some aspect of Wikipedia norms and practices. While it is not a policy or guideline itself, it is intended to supplement or clarify . Please defer to the relevant policy or guideline in case of inconsistency between that page and this one. |
| While this essay is not a policy or guideline itself, it is intended to supplement, which should be deferred to in case of inconsistency between that page and this one. |
If you want to feed more than one or two shortcuts then the shortcut box becomes too high, which doesn't look good. In such a case it is better to use a {{shortcut}} box directly below this template, like this:
Optional parameters
|1=or|sc1=,|shortcut1=,|shortcut=, or first unnamed parameter – First shortcut. Don't include[[...]]linking brackets in this or other shortcut parameters.|2=or|sc2=,|shortcut2=, or first unnamed parameter – Second shortcut|3=or|sc3=,|shortcut3=, or first unnamed parameter – Third shortcut (deprecated; please use separate Template:Shortcut for three or more)|interprets=or|page=or|pages=– Specify name of page (policy, process, etc.) that this essay provides advice about. For a single page, it is not necessary to include[[...]]linking brackets;. This will replace the wording "Wikipedia's norms and practices". If more than one page and/or any notes are intended, links must be manually coded, e.g.:|interprets=[[Wikipedia:Verifiability]] policy and the [[Wikipedia:Identifying reliable sources]] guideline|sort-by=– Specify a sort key for the category. For example, if the how-to page is Wikipedia:Producing maps with xplanet and you want it category-sorted to appear under "X", use|sort-by=Xplanet, Producing maps with. This has no effect on the user essays category.|category=– Specify a complete wikilink (i.e, do include the[[...]]linking brackets) to one or more categories to override the default Category:Wikipedia information pages. May include a category sort; example:[[Category:WikiProject Underwater Basketweaving|Article structure advice]]This parameter does not replace the Category:User essays categorization for pages in the "User:" namespace, but can be used to add them manually to Category:Wikipedia information pages, in addition to the automatic user category.|nocat=yor|demo=y– Bypass all categorization, when the template is used for demo purposes, e.g. in template documentation, on talk pages, etc.|style=– Pass arbitrary CSS to the Template:Ombox base template that this template uses.
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
This is the TemplateData for this template, used by TemplateWizard, VisualEditor and other tools.
TemplateData for Information page
| ||||||||||||||||||||||||||||||
See also
{{Wikipedia how-to}}– the banner template for pages that are more directly instructional than just informational like H:EDIT.{{Essay|interprets=}}– the banner template for pages that are more opinionated then instructional or technical; there are several parameters and variations.{{Supplement|interprets=}}– to tag a well-established page that adds something to a policy or guideline, to make up for a deficiency, and when it is referenced in the guideline or policy like WP:BRD.- Wikipedia:Template messages/Project namespace – for other "Wikipedia:"-namespace banner templates.
| While this essay is not a policy or guideline itself, it is intended to supplement, which should be deferred to in case of inconsistency between that page and this one. |
| This template adds an automatically generated short description when it is used in Wikipedia, Help, or User space. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
This is the page banner template for Wikipedia information pages.
It can be placed on top of administration pages (not-articles) when appropriate (see WP:INFOPAGES for details). This usually means pages in the "Wikipedia:" and "Help:" namespaces, but sometimes information pages also exist as user subpages.
Categorization
If a page that uses this template is in the "Wikipedia:" or "Help:" namespace, then this template adds Category:Wikipedia information pages to the page.
If the page is in the "User:" namespace, it will be put into Category:User essays. If your page is just a draft, please use the |nocat= parameter to prevent categorization, until it is finished.
If it is in some other namespace, it will not be auto-categorized, and it may be in the wrong place.
Usage
This template can be used as is, like this:
{{Information page}}
But it can also take up to three shortcuts as parameters. It then displays a small shortcut box inside it. Like this:
{{Information page|WP:SHORT|WP:LONG}}
Then it looks like this:
| This is an information page that describes communal consensus on some aspect of Wikipedia norms and practices. While it is not a policy or guideline itself, it is intended to supplement or clarify . Please defer to the relevant policy or guideline in case of inconsistency between that page and this one. |
| While this essay is not a policy or guideline itself, it is intended to supplement, which should be deferred to in case of inconsistency between that page and this one. |
If you want to feed more than one or two shortcuts then the shortcut box becomes too high, which doesn't look good. In such a case it is better to use a {{shortcut}} box directly below this template, like this:
Optional parameters
|1=or|sc1=,|shortcut1=,|shortcut=, or first unnamed parameter – First shortcut. Don't include[[...]]linking brackets in this or other shortcut parameters.|2=or|sc2=,|shortcut2=, or first unnamed parameter – Second shortcut|3=or|sc3=,|shortcut3=, or first unnamed parameter – Third shortcut (deprecated; please use separate Template:Shortcut for three or more)|interprets=or|page=or|pages=– Specify name of page (policy, process, etc.) that this essay provides advice about. For a single page, it is not necessary to include[[...]]linking brackets;. This will replace the wording "Wikipedia's norms and practices". If more than one page and/or any notes are intended, links must be manually coded, e.g.:|interprets=[[Wikipedia:Verifiability]] policy and the [[Wikipedia:Identifying reliable sources]] guideline|sort-by=– Specify a sort key for the category. For example, if the how-to page is Wikipedia:Producing maps with xplanet and you want it category-sorted to appear under "X", use|sort-by=Xplanet, Producing maps with. This has no effect on the user essays category.|category=– Specify a complete wikilink (i.e, do include the[[...]]linking brackets) to one or more categories to override the default Category:Wikipedia information pages. May include a category sort; example:[[Category:WikiProject Underwater Basketweaving|Article structure advice]]This parameter does not replace the Category:User essays categorization for pages in the "User:" namespace, but can be used to add them manually to Category:Wikipedia information pages, in addition to the automatic user category.|nocat=yor|demo=y– Bypass all categorization, when the template is used for demo purposes, e.g. in template documentation, on talk pages, etc.|style=– Pass arbitrary CSS to the Template:Ombox base template that this template uses.
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
This is the TemplateData for this template, used by TemplateWizard, VisualEditor and other tools.
TemplateData for Information page
| ||||||||||||||||||||||||||||||
See also
{{Wikipedia how-to}}– the banner template for pages that are more directly instructional than just informational like H:EDIT.{{Essay|interprets=}}– the banner template for pages that are more opinionated then instructional or technical; there are several parameters and variations.{{Supplement|interprets=}}– to tag a well-established page that adds something to a policy or guideline, to make up for a deficiency, and when it is referenced in the guideline or policy like WP:BRD.- Wikipedia:Template messages/Project namespace – for other "Wikipedia:"-namespace banner templates.