Updated demo |
Import changes from sandbox; {{featured portal}} detection. |
||
Line 60: | Line 60: | ||
|NOTE_2_TEXT = This {{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||sub}}page is currently inactive and is retained for historical reference. |
|NOTE_2_TEXT = This {{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||sub}}page is currently inactive and is retained for historical reference. |
||
|NOTE_2_CAT = Historical Portal pages |
|NOTE_2_CAT = Historical Portal pages |
||
|note 3={{#ifeq:{{NAMESPACENUMBER}}|101|<!--PORTAL TALKPAGE:-->{{#invoke:Portal maintenance status| |
|note 3={{#ifeq:{{NAMESPACENUMBER}}|101|<!--PORTAL TALKPAGE:-->{{#invoke:Portal maintenance status|featured}}}}{{{featured|}}} |
||
|NOTE_3_IMAGE = |
|NOTE_3_IMAGE = Linecons big-star.svg |
||
|NOTE_3_TEXT = This page had been designated as a [[Wikipedia:Featured portals|featured portal]], before the process was retired in 2017. |
|||
⚫ |
| |
||
|NOTE_3_CAT = |
|||
|note 4={{#ifeq:{{NAMESPACENUMBER}}|101|<!--PORTAL TALKPAGE:-->{{#invoke:Portal maintenance status|main}}}} |
|||
|NOTE_4_IMAGE = Darkgreen flag waving.svg |
|||
⚫ |
|NOTE_4_TEXT = <div style="background-color: #FFFFCC; border: 1px solid #FFCC00; margin: 0.1em; padding: 0.2em 0.4em;">{{#invoke:Portal maintenance status|main<noinclude>|demo=Portal maintenance status{{!}}manual=yes{{!}}nonstandard=yes{{!}}incomplete=yes{{!}}subpages=checked{{!}}note=This is a test note.</noinclude>}}</div> |
||
}}<noinclude> |
}}<noinclude> |
||
{{Documentation}} |
{{Documentation}} |
Module:WikiProject banner/doc
This page is a
soft redirect.
![]() | This template has been replaced by Module:WikiProject banner |
![]() | This template uses Lua: |
{{WikiProject Portals |class= |importance= }}
{{WikiProject Portals |class= |importance= |historical= |featured= |listas= |maintenance= }}
{{WikiProject Portals
|class =
|importance =
|historical =
|featured =
|listas =
|maintenance =
}}
|class=
blank or omit the parameter.|featured=yes
if the page was designated as a
featured portal, before the process was retired in 2017.|historical=yes
if the page is currently inactive and is retained for historical reference.
|maintenance=na
to suppress the detection of a missing {{
Portal maintenance status}} template and the corresponding note.|importance=
blank or omit the parameter.|listas=Beatles, The
so that the talk page will show up in the B's and not the T's of the various assessment and administrative categories). This is important because it is one source used by those who set DEFAULTSORT on the article; consider also setting the DEFAULTSORT for the article when setting this parameter. For more information about this, please see
Wikipedia:Categorization of people § Ordering names in a category.|listas=
to that template instead of a project banner template. Putting the parameter on more than one template is not required.|category=no
if, and only if, a banner is being used for demonstration or testing purposes, to prevent unnecessary or undesirable categorization. Otherwise, omit this parameter.This template automatically detects the following maintenance templates on talk pages' related subject pages, and displays appropriate messages:
Banner for tagging and assessing pages related to WikiProject Portals
Parameter | Description | Type | Status | |
---|---|---|---|---|
Category | category | Suppress the page category
| Boolean | optional |
ListAs | listas | Name used to list the page in categories, if different from PAGENAME
| String | optional |
Class | class | Page quality rating on the assessment scale
| String | suggested |
Importance | importance | Page priority rating on the assessment scale
| String | suggested |
Historical | historical | Used to mark pages as historical (outside portal space, and when {{historical}} is not available)
| Boolean | optional |
Featured | featured | Mark portals that were designated as featured before the process was retired
| Boolean | optional |
Maintenance | maintenance | Suppress the detection of a missing {{Portal maintenance status}} template
| Boolean | optional |
Updated demo |
Import changes from sandbox; {{featured portal}} detection. |
||
Line 60: | Line 60: | ||
|NOTE_2_TEXT = This {{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||sub}}page is currently inactive and is retained for historical reference. |
|NOTE_2_TEXT = This {{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}||sub}}page is currently inactive and is retained for historical reference. |
||
|NOTE_2_CAT = Historical Portal pages |
|NOTE_2_CAT = Historical Portal pages |
||
|note 3={{#ifeq:{{NAMESPACENUMBER}}|101|<!--PORTAL TALKPAGE:-->{{#invoke:Portal maintenance status| |
|note 3={{#ifeq:{{NAMESPACENUMBER}}|101|<!--PORTAL TALKPAGE:-->{{#invoke:Portal maintenance status|featured}}}}{{{featured|}}} |
||
|NOTE_3_IMAGE = |
|NOTE_3_IMAGE = Linecons big-star.svg |
||
|NOTE_3_TEXT = This page had been designated as a [[Wikipedia:Featured portals|featured portal]], before the process was retired in 2017. |
|||
⚫ |
| |
||
|NOTE_3_CAT = |
|||
|note 4={{#ifeq:{{NAMESPACENUMBER}}|101|<!--PORTAL TALKPAGE:-->{{#invoke:Portal maintenance status|main}}}} |
|||
|NOTE_4_IMAGE = Darkgreen flag waving.svg |
|||
⚫ |
|NOTE_4_TEXT = <div style="background-color: #FFFFCC; border: 1px solid #FFCC00; margin: 0.1em; padding: 0.2em 0.4em;">{{#invoke:Portal maintenance status|main<noinclude>|demo=Portal maintenance status{{!}}manual=yes{{!}}nonstandard=yes{{!}}incomplete=yes{{!}}subpages=checked{{!}}note=This is a test note.</noinclude>}}</div> |
||
}}<noinclude> |
}}<noinclude> |
||
{{Documentation}} |
{{Documentation}} |
Module:WikiProject banner/doc
This page is a
soft redirect.
![]() | This template has been replaced by Module:WikiProject banner |
![]() | This template uses Lua: |
{{WikiProject Portals |class= |importance= }}
{{WikiProject Portals |class= |importance= |historical= |featured= |listas= |maintenance= }}
{{WikiProject Portals
|class =
|importance =
|historical =
|featured =
|listas =
|maintenance =
}}
|class=
blank or omit the parameter.|featured=yes
if the page was designated as a
featured portal, before the process was retired in 2017.|historical=yes
if the page is currently inactive and is retained for historical reference.
|maintenance=na
to suppress the detection of a missing {{
Portal maintenance status}} template and the corresponding note.|importance=
blank or omit the parameter.|listas=Beatles, The
so that the talk page will show up in the B's and not the T's of the various assessment and administrative categories). This is important because it is one source used by those who set DEFAULTSORT on the article; consider also setting the DEFAULTSORT for the article when setting this parameter. For more information about this, please see
Wikipedia:Categorization of people § Ordering names in a category.|listas=
to that template instead of a project banner template. Putting the parameter on more than one template is not required.|category=no
if, and only if, a banner is being used for demonstration or testing purposes, to prevent unnecessary or undesirable categorization. Otherwise, omit this parameter.This template automatically detects the following maintenance templates on talk pages' related subject pages, and displays appropriate messages:
Banner for tagging and assessing pages related to WikiProject Portals
Parameter | Description | Type | Status | |
---|---|---|---|---|
Category | category | Suppress the page category
| Boolean | optional |
ListAs | listas | Name used to list the page in categories, if different from PAGENAME
| String | optional |
Class | class | Page quality rating on the assessment scale
| String | suggested |
Importance | importance | Page priority rating on the assessment scale
| String | suggested |
Historical | historical | Used to mark pages as historical (outside portal space, and when {{historical}} is not available)
| Boolean | optional |
Featured | featured | Mark portals that were designated as featured before the process was retired
| Boolean | optional |
Maintenance | maintenance | Suppress the detection of a missing {{Portal maintenance status}} template
| Boolean | optional |