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 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        = <includeonly>{{#ifeq:{{#invoke:redirect|isRedirect|{{ARTICLEPAGENAME}}}}|yes||
+
  |NOTE_1_TEXT        = {{#ifeq:{{#invoke:redirect|isRedirect|{{ARTICLEPAGENAME}}}}|yes|
                                      {{#ifeq:{{#invoke:Disambiguation|isDisambiguationPage|{{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>{{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>
                                      }}
+
  }}
                                    }}</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

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