13,398
edits
m (WikiDwarf moved page Template:WPBannerMeta/templatepage to Template:BPBannerMeta/templatepage without leaving a redirect: Move to right target) |
m (clean up, replaced: WPBannerMeta → BPBannerMeta (34)) |
||
Line 1: | Line 1: | ||
{{#ifeq:{{lc:{{SUBPAGENAME}}}}|sandbox|{{Template sandbox notice}}}}<includeonly>{{ | {{#ifeq:{{lc:{{SUBPAGENAME}}}}|sandbox|{{Template sandbox notice}}}}<includeonly>{{BPBannerMeta/core | ||
|PROJECT = {{{PROJECT}}} | |PROJECT = {{{PROJECT}}} | ||
|BANNER_NAME = {{{BANNER_NAME|}}} | |BANNER_NAME = {{{BANNER_NAME|}}} | ||
Line 12: | Line 12: | ||
|{{#ifeq:{{{QUALITY_SCALE}}}|inline | |{{#ifeq:{{{QUALITY_SCALE}}}|inline | ||
|{{{class|}}} | |{{{class|}}} | ||
|{{ | |{{BPBannerMeta/class | ||
|BANNER_NAME={{{BANNER_NAME|}}} | |BANNER_NAME={{{BANNER_NAME|}}} | ||
|class=C | |class=C | ||
Line 118: | Line 118: | ||
|type=notice | |type=notice | ||
|image=[[File:Icon tools.svg|50px]] | |image=[[File:Icon tools.svg|50px]] | ||
|text=This [[:Category:WikiProject banner templates|WikiProject banner]] uses {{tlx| | |text=This [[:Category:WikiProject banner templates|WikiProject banner]] uses {{tlx|BPBannerMeta}}, a meta-template for easily creating and maintaining banners and talk-page notices. Please report any such errors or feature requests to [[Template talk:BPBannerMeta]]. Any information or warnings about the template are below:{{#ifexpr:{{#ifexist:{{{BANNER_NAME|}}}/class|{{PAGESIZE:{{{BANNER_NAME|}}}/class|R}}|0}} | ||
|<br/> | |<br/> | ||
{{#ifeq:{{{QUALITY_SCALE}}}|subpage | {{#ifeq:{{{QUALITY_SCALE}}}|subpage | ||
Line 147: | Line 147: | ||
|{{#if:{{{ASSESSMENT_LINK|}}} | |{{#if:{{{ASSESSMENT_LINK|}}} | ||
|<br/> | |<br/> | ||
*This project banner does not specify an assessment page but is using, by default, the page [[{{{ASSESSMENT_LINK}}}]]. Please check [[Template: | *This project banner does not specify an assessment page but is using, by default, the page [[{{{ASSESSMENT_LINK}}}]]. Please check [[Template:BPBannerMeta/Assessment link|here]] for more information and consider [{{fullurl:{{{BANNER_NAME}}}|action=edit&summary={{urlencode:Setting ASSESSMENT_LINK parameter}}}} adding] the ''ASSESSMENT_LINK'' parameter to the template. | ||
}} | }} | ||
}} | }} | ||
Line 161: | Line 161: | ||
|{{#iferror:{{#expr:0+{{{RAW_HOOK_COLLAPSED|¬}}}*1}} | |{{#iferror:{{#expr:0+{{{RAW_HOOK_COLLAPSED|¬}}}*1}} | ||
|<br/> | |<br/> | ||
*A hook is attached to the HOOK_NOTE parameter but no valid counter has been attached to HOOK_COLLAPSED. If the hook can output more than one row, you may like to add the [[Template: | *A hook is attached to the HOOK_NOTE parameter but no valid counter has been attached to HOOK_COLLAPSED. If the hook can output more than one row, you may like to add the [[Template:BPBannerMeta/hooks/notecounter|notecounter hook]] to ensure consistent collapsing behaviour.[[Category:WikiProject banners with formatting errors|Hook collapsed]] | ||
| | | | ||
}} | }} | ||
Line 167: | Line 167: | ||
}}{{#ifeq:{{{substcheck|}}}|¬ | }}{{#ifeq:{{{substcheck|}}}|¬ | ||
|<br/> | |<br/> | ||
*A feature for detecting incorrectly [[Bharatpedia:Template substitution|substituted]] project banners has not yet been implemented on this template. Please see the [[Template: | *A feature for detecting incorrectly [[Bharatpedia:Template substitution|substituted]] project banners has not yet been implemented on this template. Please see the [[Template:BPBannerMeta/doc#Simple options|documentation]] for how to set the ''substcheck'' parameter.<includeonly>[[Category:WikiProject banners with formatting errors|Check]]</includeonly> | ||
}}{{#if:{{{PORTAL|}}} | }}{{#if:{{{PORTAL|}}} | ||
|<br/> | |<br/> | ||
Line 194: | Line 194: | ||
-->{{ | -->{{BPBannerMeta/templatepage/checkcat | ||
|PROJECT={{{PROJECT}}} | |PROJECT={{{PROJECT}}} | ||
|ASSESSMENT_CAT={{{ASSESSMENT_CAT}}} | |ASSESSMENT_CAT={{{ASSESSMENT_CAT}}} | ||
Line 207: | Line 207: | ||
|IMPN={{{IMPN}}} | |IMPN={{{IMPN}}} | ||
}}{{#ifeq:{{{tf 1}}}|¬| | }}{{#ifeq:{{{tf 1}}}|¬| | ||
|{{ | |{{BPBannerMeta/templatepage/checkcat | ||
|PROJECT={{{PROJECT}}} | |PROJECT={{{PROJECT}}} | ||
|NAME={{{TF_1_NAME|}}} | |NAME={{{TF_1_NAME|}}} | ||
Line 223: | Line 223: | ||
}} | }} | ||
}}{{#ifeq:{{{tf 2}}}|¬| | }}{{#ifeq:{{{tf 2}}}|¬| | ||
|{{ | |{{BPBannerMeta/templatepage/checkcat | ||
|PROJECT={{{PROJECT}}} | |PROJECT={{{PROJECT}}} | ||
|NAME={{{TF_2_NAME|}}} | |NAME={{{TF_2_NAME|}}} | ||
Line 239: | Line 239: | ||
}} | }} | ||
}}{{#ifeq:{{{tf 3}}}|¬| | }}{{#ifeq:{{{tf 3}}}|¬| | ||
|{{ | |{{BPBannerMeta/templatepage/checkcat | ||
|PROJECT={{{PROJECT}}} | |PROJECT={{{PROJECT}}} | ||
|NAME={{{TF_3_NAME|}}} | |NAME={{{TF_3_NAME|}}} | ||
Line 255: | Line 255: | ||
}} | }} | ||
}}{{#ifeq:{{{tf 4}}}|¬| | }}{{#ifeq:{{{tf 4}}}|¬| | ||
|{{ | |{{BPBannerMeta/templatepage/checkcat | ||
|PROJECT={{{PROJECT}}} | |PROJECT={{{PROJECT}}} | ||
|NAME={{{TF_4_NAME|}}} | |NAME={{{TF_4_NAME|}}} | ||
Line 271: | Line 271: | ||
}} | }} | ||
}}{{#ifeq:{{{tf 5}}}|¬| | }}{{#ifeq:{{{tf 5}}}|¬| | ||
|{{ | |{{BPBannerMeta/templatepage/checkcat | ||
|PROJECT={{{PROJECT}}} | |PROJECT={{{PROJECT}}} | ||
|NAME={{{TF_5_NAME|}}} | |NAME={{{TF_5_NAME|}}} | ||
Line 306: | Line 306: | ||
|type=content | |type=content | ||
|image=[[File:Nuvola apps kfig.svg|50px]] | |image=[[File:Nuvola apps kfig.svg|50px]] | ||
|text=The following categories are required for the banner to work correctly. Please either create these categories or adjust the banner so that they are not required.{{#ifexpr:{{#ifeq:{{lc:{{SUBPAGENAME}}}}|sandbox|1|0}}+{{#ifeq:{{NAMESPACE}}|{{ns:2}}|1|0}}+{{#ifeq:{{BASEPAGENAME}}| | |text=The following categories are required for the banner to work correctly. Please either create these categories or adjust the banner so that they are not required.{{#ifexpr:{{#ifeq:{{lc:{{SUBPAGENAME}}}}|sandbox|1|0}}+{{#ifeq:{{NAMESPACE}}|{{ns:2}}|1|0}}+{{#ifeq:{{BASEPAGENAME}}|BPBannerMeta|1|0}}|<!--Don't categorise sandboxes-->|[[Category:WikiProject banners with formatting errors|Z{{{PROJECT}}}]]}} | ||
{{#ifeq:{{{attention}}}|¬||{{ | {{#ifeq:{{{attention}}}|¬||{{BPBannerMeta/templatepage/catother|CAT={{{ATTENTION_CAT}}}|PROJECT={{{PROJECT|}}}}} | ||
}}{{#ifeq:{{{infobox}}}|¬||{{ | }}{{#ifeq:{{{infobox}}}|¬||{{BPBannerMeta/templatepage/catother|CAT={{{INFOBOX_CAT}}}|PROJECT={{{PROJECT|}}}}} | ||
}}{{#ifeq:{{{auto}}}|¬||{{ | }}{{#ifeq:{{{auto}}}|¬||{{BPBannerMeta/templatepage/catother|CAT={{{AUTO_ASSESS_CAT}}}|PROJECT={{{PROJECT|}}}}} | ||
}}{{ | }}{{BPBannerMeta/templatepage/catother|CAT={{{N_1_CAT|}}}|PROJECT={{{PROJECT|}}} | ||
}}{{ | }}{{BPBannerMeta/templatepage/catother|CAT={{{N_2_CAT|}}}|PROJECT={{{PROJECT|}}} | ||
}}{{ | }}{{BPBannerMeta/templatepage/catother|CAT={{{N_3_CAT|}}}|PROJECT={{{PROJECT|}}} | ||
}}{{ | }}{{BPBannerMeta/templatepage/catother|CAT={{{N_4_CAT|}}}|PROJECT={{{PROJECT|}}} | ||
}}{{ | }}{{BPBannerMeta/templatepage/catother|CAT={{{N_5_CAT|}}}|PROJECT={{{PROJECT|}}} | ||
}}{{ | }}{{BPBannerMeta/templatepage/catother|CAT={{{TF_1_MAIN_CAT|}}}|PROJECT={{{PROJECT|}}} | ||
}}{{ | }}{{BPBannerMeta/templatepage/catother|CAT={{{TF_2_MAIN_CAT|}}}|PROJECT={{{PROJECT|}}} | ||
}}{{ | }}{{BPBannerMeta/templatepage/catother|CAT={{{TF_3_MAIN_CAT|}}}|PROJECT={{{PROJECT|}}} | ||
}}{{ | }}{{BPBannerMeta/templatepage/catother|CAT={{{TF_4_MAIN_CAT|}}}|PROJECT={{{PROJECT|}}} | ||
}}{{ | }}{{BPBannerMeta/templatepage/catother|CAT={{{TF_5_MAIN_CAT|}}}|PROJECT={{{PROJECT|}}} | ||
}}{{ | }}{{BPBannerMeta/templatepage/catother|CAT={{{MAIN_CAT|}}}|PROJECT={{{PROJECT|}}} | ||
}} | }} | ||
}} | }} | ||
Line 461: | Line 461: | ||
}}<nowiki>}}</nowiki></code> | }}<nowiki>}}</nowiki></code> | ||
produces | produces | ||
{{ | {{BPBannerMeta/core | ||
|PROJECT = {{{PROJECT}}} | |PROJECT = {{{PROJECT}}} | ||
|BANNER_NAME = {{{BANNER_NAME|}}} | |BANNER_NAME = {{{BANNER_NAME|}}} | ||
Line 474: | Line 474: | ||
|{{#ifeq:{{{QUALITY_SCALE}}}|inline | |{{#ifeq:{{{QUALITY_SCALE}}}|inline | ||
|GA | |GA | ||
|{{ | |{{BPBannerMeta/class|BANNER_NAME={{{BANNER_NAME|}}}|class=GA|QUALITY_SCALE={{{QUALITY_SCALE|}}}}} | ||
}} | }} | ||
}} | }} | ||
Line 510: | Line 510: | ||
}}<nowiki>}}</nowiki></code> | }}<nowiki>}}</nowiki></code> | ||
produces | produces | ||
{{ | {{BPBannerMeta/core | ||
|PROJECT = {{{PROJECT}}} | |PROJECT = {{{PROJECT}}} | ||
|BANNER_NAME = {{{BANNER_NAME|}}} | |BANNER_NAME = {{{BANNER_NAME|}}} | ||
Line 523: | Line 523: | ||
|{{#ifeq:{{{QUALITY_SCALE}}}|inline | |{{#ifeq:{{{QUALITY_SCALE}}}|inline | ||
|Stub | |Stub | ||
|{{ | |{{BPBannerMeta/class|BANNER_NAME={{{BANNER_NAME|}}}|class=Stub|QUALITY_SCALE={{{QUALITY_SCALE|}}}}} | ||
}} | }} | ||
}} | }} | ||
Line 550: | Line 550: | ||
}} | }} | ||
}} | }} | ||
|link box=This documentation is automatically generated by [[Template: | |link box=This documentation is automatically generated by [[Template:BPBannerMeta/templatepage]]{{#ifeq:{{lc:{{{DOC}}}}}|auto+custom | ||
|{{Ifexist not redirect|{{Documentation/docname}}| with additional content and categories from {{pagelinks|{{Documentation/docname}}}}}} | |{{Ifexist not redirect|{{Documentation/docname}}| with additional content and categories from {{pagelinks|{{Documentation/docname}}}}}} | ||
}}. | }}. | ||
Line 556: | Line 556: | ||
|custom={{Documentation}} | |custom={{Documentation}} | ||
}}<includeonly>[[Category:Exclude in print]]</includeonly><noinclude> | }}<includeonly>[[Category:Exclude in print]]</includeonly><noinclude> | ||
{{ | {{BPBannerMeta/subtemplatedoc|high-use=no}} | ||
</noinclude> | </noinclude> |
edits