Template:Information page/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Moxy
m Reverted edits by Yuwanathun81 (talk) to last version by Oshwah
meta>Rohit Bhikhi
mNo edit summary
Line 6: Line 6:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE; INTERWIKIS GO IN WIKIDATA. -->
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE; INTERWIKIS GO IN WIKIDATA. -->
{{#if:{{{howto|}}}
{{#if:{{{howto|}
  |{{distinguish2|the article tone dispute tag, [[Template:Howto]]}}
  |{{distinguish2|the article tone dispute tag, [[Template:How
  |<!-- hatnote space for Template:Information_page/doc -->
  |<!-- hatnote space for Template:Information_pag/doc -->
}}
}


This is the page banner template for [[:Category:Wikipedia {{#if:{{{howto|}}}|how-to{{!}}Wikipedia how-to|information pages{{!}}Wikipedia information page}}]].
This is the page banner template for [[:Category:Wikipedia {{#if:{{{howto|}}}|how-to{{!}}Wikipedia how-to|information pages{{!}}Wikipedia information page}}]].
Line 18: Line 18:
If a page that uses this template is in the "Wikipedia:" or "Help:" [[WP:Namespace|namespace]], then this template adds [[:Category:Wikipedia {{#if:{{{howto|}}}|how-to|information pages}}]] to the page.
If a page that uses this template is in the "Wikipedia:" or "Help:" [[WP:Namespace|namespace]], then this template adds [[:Category:Wikipedia {{#if:{{{howto|}}}|how-to|information pages}}]] to the page.


If the page is in the [[WP:User pages|"User:"]] namespace, it will be put into [[:Category:User essays]].  If your page is just a draft, please use the {{para|nocat}} parameter to prevent categorization, until it is finished.
If the page is in the [[WP:User pages|"User:"]] namespace, it will be put into [[:Category:Use essays]].  If your page is just a draft, please use the {{para|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.
If it is in some other namespace, it will not be aut-categorized, and it may be in the wrong place.


== Usage ==
== Usage ==
Line 36: Line 36:
{{ {{BASEPAGENAME}}|WP:SHORT|WP:LONG|demo=y}}
{{ {{BASEPAGENAME}}|WP:SHORT|WP:LONG|demo=y}}


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 {{tlc|shortcut}} box directly {{em|below}} this template, like this:
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 us {{tlc|shortcut}} box directly {{em|below}} this template, like this:


{{blockindent|1=
{{blockindent|1=
Line 49: Line 49:
* {{para|interprets}} or {{para|page}} or {{para|pages}} – Specify name of page (policy, process, etc.) that this essay provides advice about. For a single page, it is not necessary to include <code><nowiki>[[...]]</nowiki></code> linking brackets;. This will replace the wording "{{#if:{{{howto|}}}|some aspect or aspects of Wikipedia's norms and practices|Wikipedia's norms and practices}}". If more than one page and/or any notes are intended, links must be manually coded, e.g.: {{para|interprets|<nowiki>[[Wikipedia:Verifiability]] policy and the [[Wikipedia:Identifying reliable sources]] guideline</nowiki>}}
* {{para|interprets}} or {{para|page}} or {{para|pages}} – Specify name of page (policy, process, etc.) that this essay provides advice about. For a single page, it is not necessary to include <code><nowiki>[[...]]</nowiki></code> linking brackets;. This will replace the wording "{{#if:{{{howto|}}}|some aspect or aspects of Wikipedia's norms and practices|Wikipedia's norms and practices}}". If more than one page and/or any notes are intended, links must be manually coded, e.g.: {{para|interprets|<nowiki>[[Wikipedia:Verifiability]] policy and the [[Wikipedia:Identifying reliable sources]] guideline</nowiki>}}
* {{para|sort-by}} – Specify a [[WP:Categorization#Sort keys|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 {{para|sort-by|Xplanet, Producing maps with}}. This has no effect on the user essays category.
* {{para|sort-by}} – Specify a [[WP:Categorization#Sort keys|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 {{para|sort-by|Xplanet, Producing maps with}}. This has no effect on the user essays category.
* {{para|category}} – Specify a complete wikilink (i.e, {{em|do}} include the <code><nowiki>[[...]]</nowiki></code> linking brackets) to one or more categories to override the default [[:Category:Wikipedia {{#if:{{{howto|}}}|how-to|information pages}}]]. May include a category sort; example: <code><nowiki>[[Category:WikiProject Underwater Basketweaving|Article structure advice]]</nowiki></code> 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 {{#if:{{{howto|}}}|how-to|information pages}}]], in addition to the automatic user category.
* {{para|category}} – Specify a complete wikilink (i.e, h{{em|do}} include the <code><nowiki>[[...]]</nowiki></code> linking brackets) to one or more categories to override the default [[:Category:Wikipedia {{#if:{{{howto|}}}|how-to|information pages}}]]. May include a category sort; example: <code><nowiki>[[Category:WikiProject Underwater Basketweaving|Article structure advice]]</nowiki></code> 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 {{#if:{{{howto|}}}|how-to|information pages}}]], in addition to the automatic user category.
* {{para|nocat|y}} or {{para|demo|y}} – Bypass all categorization, when the template is used for demo purposes, e.g. in template documentation, on talk pages, etc.
* {{para|nocat|y}} or {{para|demo|y}} – Bypass all categorization, when the template is used for demo purposes, e.g. in template documentation, on talk pages, etc.
* {{para|style}} – Pass arbitrary CSS to the [[Template:Ombox]] metatemplate that this template uses (this should never be necessary except in complicated [[WP:WikiProject|wikiproject]] layouts).
* {{para|style}} – Pass arbitrary CSS to the [[Template:Ombox]] metatemplate that this template uses (this should never be necessary except in complicated [[WP:WikiProject|wikiproject]] layouts).
Line 83: Line 83:
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Wikipedia header templates]]
[[Category:Wikipedia header templates]]
}}</includeonly>
}}</includeonlynam

Revision as of 09:23, 8 May 2017

{{#if:{{{howto|}

|{{distinguish2|the article tone dispute tag, [[Template:How
|

}

This is the page banner template for Wikipedia information page.

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:Use 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 aut-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:

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 us {{shortcut}} box directly below this template, like this:

Template:Blockindent

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, hdo 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=y or |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 metatemplate that this template uses (this should never be necessary except in complicated wikiproject layouts).

TemplateData

TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for Information page

Syntax error in JSON.

See also