Difference between revisions of "Template:Maths banner"
Jump to navigation
Jump to search
Unused parameters may be omitted.
imported>Wbm1058 (don't show an {{error}} when this is used on the talk page of a disambiguation page) |
imported>MSGJ (+image, tweak whitespace) |
||
| Line 15: | Line 15: | ||
|PORTAL = Mathematics | |PORTAL = Mathematics | ||
|note 1={{#ifeq:{{NAMESPACE}}|{{ns:1}}|yes}} | |note 1={{#ifeq:{{NAMESPACE}}|{{ns:1}}|yes}} | ||
| − | |NOTE_1_TEXT = | + | |NOTE_1_TEXT = {{#ifeq:{{#invoke:redirect|isRedirect|{{ARTICLEPAGENAME}}}}|yes| |
| − | + | |{{#ifeq:{{#invoke:Disambiguation|isDisambiguationPage|{{ARTICLEPAGENAME}}}}|yes| | |
| − | + | |<includeonly>{{error|Please do not use this template on article talk pages. Use [[Template:Maths rating]] instead, being sure to fill in the rating information.}}</includeonly> | |
| − | + | }} | |
| − | + | }} | |
|note 2={{{shortcut|}}} | |note 2={{{shortcut|}}} | ||
|NOTE_2_TEXT = '''Shortcut:''' [[{{{shortcut}}}]] | |NOTE_2_TEXT = '''Shortcut:''' [[{{{shortcut}}}]] | ||
| + | |NOTE_2_IMAGE = Double arrow blue.png | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> | <!-- Categories go on the /doc subpage, and interwikis go on Wikidata. --> | ||
</noinclude> | </noinclude> | ||
Revision as of 10:59, 13 October 2020
Usage
When you create or find a new non-article page within the scope of WikiProject Mathematics please add any of the following to the top of its talk page:{{Maths banner |class= }}
{{Maths banner |class= |shortcut= |small= |listas= }}
{{Maths banner
|class =
|shortcut =
|small =
|listas =
}}
It should not be used on articles or article talk pages. The template {{maths rating}} can be used on article talk pages to assign quality and importance ratings to articles.
Optional parameters
Template:WPBannerDoc Template:WPBannerDoc
- shortcut – creates a shortcut link, e.g.
|shortcut=WP:FOOwill add a shortcut notice linking to WP:FOO.
Template:WPBannerDoc Template:WPBannerDoc
| The above documentation is transcluded from Template:Maths banner/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |