Module:WikiProjectBanner/Banner/doc

< Module:WikiProjectBanner‎ | Banner
Revision as of 07:58, 16 July 2021 by Zoran (talk | contribs) (Pywikibot 6.4.0)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:WikiProjectBanner/Banner

This is the Banner class of Module:WikiProjectBanner. It does all of the heavy lifting; it renders the banner, calls the row objects, and calls the hooks.

Hooks

This is the normal HTML structure. Everything that is not a tag or an HTML comment is an HTML object that you can add to.

<syntaxhighlight lang="html5"> preWrapper

headerName headerRating
preBlurb postBlurb postQuality postImportance postTaskForces postRequests postNotices postContent
blurbImageLeft blurbText blurbImageRight

postWrapper </syntaxhighlight>

This is the HTML structure if the requests and notices are collapsed.

<syntaxhighlight lang="html5"> preWrapper

headerName headerRating
preBlurb postBlurb postQuality postImportance postTaskForces postContent
blurbImageLeft blurbText blurbImageRight
preCollapsedContent postRequests postNotices

postWrapper </syntaxhighlight>