Difference between revisions of "Template:Maths banner"

From blackwiki
Jump to navigation Jump to search
imported>Wbm1058
(don't show an {{error}} when this is used on the talk page of a redirect)
imported>Wbm1058
(don't show an {{error}} when this is used on the talk page of a disambiguation page)
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        = <includeonly>{{#ifeq:{{#invoke:redirect|isRedirect|{{ARTICLEPAGENAME}}}}|yes||{{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_1_TEXT        = <includeonly>{{#ifeq:{{#invoke:redirect|isRedirect|{{ARTICLEPAGENAME}}}}|yes||
 +
                                      {{#ifeq:{{#invoke:Disambiguation|isDisambiguationPage|{{ARTICLEPAGENAME}}}}|yes||
 +
                                        {{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}}}]]

Revision as of 13:28, 5 October 2020

Template:WPBannerMeta

Template documentation[view] [edit] [history] [purge]

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   = 
}}
Unused parameters may be omitted.

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:FOO will add a shortcut notice linking to WP:FOO.

Template:WPBannerDoc Template:WPBannerDoc