Editing
Module:Box-header/doc
From Thetacola Wiki
Jump to navigation
Jump to search
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 Thetacola Wiki 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
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Category link
(
edit
)
Template:Cl
(
edit
)
Template:High-use
(
edit
)
Template:Hlist/styles.css
(
edit
)
Template:Lua
(
edit
)
Template:Module rating
(
edit
)
Template:Navbox
(
edit
)
Template:Nowrap
(
edit
)
Template:Portal templates navbox
(
edit
)
Template:Template link
(
edit
)
Template:Tl
(
edit
)
Template:Yesno
(
edit
)
Module:Arguments
(
edit
)
Module:High-use
(
edit
)
Module:List
(
edit
)
Module:Lua banner
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:Message box/ombox.css
(
edit
)
Module:Navbar
(
edit
)
Module:Navbar/configuration
(
edit
)
Module:Navbar/styles.css
(
edit
)
Module:Navbox
(
edit
)
Module:Navbox/configuration
(
edit
)
Module:Navbox/styles.css
(
edit
)
Module:TableTools
(
edit
)
Module:Transclusion count
(
edit
)
Module:Transclusion count/data/B
(
edit
)
Module:Yesno
(
edit
)
Navigation menu
Page actions
Module
Discussion
Read
Edit source
History
Page actions
Module
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Tools
What links here
Related changes
Special pages
Page information