Open main menu
Home
Random
Donate
Recent changes
Special pages
Community portal
Preferences
About Stockhub
Disclaimers
Search
User menu
Talk
Contributions
Create account
Log in
Editing
Module:Box-header/doc
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> {{Module rating|protected}} {{High-use|11169}} {{Lua|Module:Box-header/colours|Module:Color contrast}} This module creates the header section for boxed content. It implements {{tl|box-header}}. It is intended to mainly be used in portals, but can also be used elsewhere. == Usage == <code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|boxHeader}}</code> :For use in templates; calls <code>_boxHeader</code> with the parameters passed to the template as arguments. <code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|_boxHeader|args}}</code> :For use in modules; constructs the box header (and the start of the box body). The args are the parameters accepted by [[Template:Box-header]]. (The output may need to be expanded, depending on the values in the args.) <code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|autoColour}}</code> :For use in templates; calls <code>_autoColour</code> with the parameters passed to the template as arguments. <code><nowiki>{{</nowiki>#invoke:{{BASEPAGENAME}}|_autoColour|args}}</code> :For use in modules; calculates appropriate colours for the box header, and then constructs it using <code>_boxHeader</code>. The args are the parameters accepted by [[Template:Box-header colour]] β the same as for [[Template:Box-header]], apart from those specifying colours and the title. (The output may need to be expanded, depending on the values in the args.) ==See also== {{portal templates navbox}} <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikidata --> }}</includeonly>
Summary:
Please note that all contributions to Stockhub may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Stockhub:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:High-use
(
edit
)
Template:Lua
(
edit
)
Template:Module rating
(
edit
)
Template:Portal templates navbox
(
edit
)
Template:Tl
(
edit
)