Module:Box-header/doc explained

This module creates the header section for boxed content. It implements . It is intended to mainly be used in portals, but can also be used elsewhere.

Usage

<nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|boxHeader}}

For use in templates; calls _boxHeader with the parameters passed to the template as arguments.

<nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|_boxHeader|args}}

For use in modules; constructs the box header (and the start of the box body). The args are the parameters accepted by . (The output may need to be expanded, depending on the values in the args.)

<nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|autoColour}}

For use in templates; calls _autoColour with the parameters passed to the template as arguments.

<nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|_autoColour|args}}

For use in modules; calculates appropriate colours for the box header, and then constructs it using _boxHeader. The args are the parameters accepted by – the same as for, apart from those specifying colours and the title. (The output may need to be expanded, depending on the values in the args.)

See also