Module:WikiProjectBanner/Banner/doc

MyWikiBiz, Author Your Legacy — Sunday December 22, 2024
Jump to navigationJump to search

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>