Template:WPBannerMeta/istemplate/doc
Jump to navigation
Jump to search
![]() | This is a documentation subpage for Template:WPBannerMeta/istemplate. It contains usage information, categories and other content that is not part of the original template page. |
![]() | This template is used on 7,020,000+ pages, which is ≈55750% of all pages. To avoid large-scale disruption and unnecessary server load, any changes to it should first be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can then be added to this page in a single edit. Please consider discussing changes on the talk page before implementing them. |
This {{WPBannerMeta}}
subtemplate decides whether the banner instance is on the main templatepage, that is, whether the banner should display in its 'demo' version with all options demonstrated. It performs two checks
Is the page the BANNER_NAME or subpage? | |||||
---|---|---|---|---|---|
No | Yes | No | Yes | ||
and | and not | ||||
Is category=no set? | No | yes | yes | ||
Yes |
- Is the pagename the
|BANNER_NAME=
, or is the page a subpage of that page? - Is the
|category=no
parameter set?
And then combines them together either with "and" (default) or another logical operator, e.g. "or"; this can be specified in the first unnamed parameter.
External links[edit source]
- Template:WPBannerMeta/istemplate/doc at Wikipedia, the free Terran-based encyclopedia that anyone can edit.