Template:WPBannerMeta/istemplate/doc

< Template:WPBannerMeta‎ | istemplate
Revision as of 10:34, 12 May 2010 by Cottrells (talk | contribs) (Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This {{tlx|WPBannerMeta}} subtemplate decides whether the banner instance is o…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This {{WPBannerMeta{{{2}}}{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}{{{10}}}{{{11}}}...}} 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


  1. Is the pagename the |BANNER_NAME=, or is the page a subpage of that page?
  2. 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.