সাঁচ:WPBannerMeta/istemplate
This template is used on a very large number of pages. To avoid large-scale disruption and unnecessary server load, any changes should first be tested in this template's /sandbox or/testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. Please consider discussing any 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, eg "or"; this can be specified in the first unnamed parameter.
The above documentation is transcluded from সাঁচ:WPBannerMeta/istemplate/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |