Template:HeaderBoxBase: Difference between revisions

From OniGalore
(Created page with "{| cellpadding=0 style="border:1px solid black; border-spacing:0px; padding:0px; empty-cells:show; margin-left:auto; margin-right:auto; text-align:center; width:700pt;" | styl...")
 
(updated for new name; noted that the template is not intended to be used directly)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| cellpadding=0 style="border:1px solid black; border-spacing:0px; padding:0px; empty-cells:show; margin-left:auto; margin-right:auto; text-align:center; width:700pt;"
<noinclude>Provides a standardized centered header message box. Used as a foundation for constructing other templates, not directly (see [[:Category:Administrative templates]]).
 
Sample usage:
 
<nowiki>{{HeaderBoxBase|color=brown|icon=Aged parchment-60px.jpg|iconsize=60px|text='''This page contains information that is out of date.'''<br>Please update the information here to reflect where the community is at today.}}</nowiki>
 
produces:
 
{{HeaderBoxBase|color=brown|icon=Aged parchment-60px.jpg|iconsize=60px|text='''This page contains information that is out of date.'''<br>Please update the information here to reflect where the community is at today.}}
[[Category:Header and footer templates]]
 
</noinclude><includeonly>{| cellpadding=0 style="border:1px solid black; border-spacing:0px; padding:0px; empty-cells:show; margin-left:auto; margin-right:auto; text-align:{{{textalign|center}}}; width:700pt;"
| style="background-color:{{{color|red}}}; width:1%;" |
| style="background-color:{{{color|red}}}; width:1%;" |
| style="width:1%;" | [[Image:{{{icon}}}]]  
| style="width:1%;" | [[Image:{{{icon}}}|{{{iconsize|}}}]]  
| style="width:98%;" |
| style="width:98%;" |
{{{text}}}
{{{text}}}
|}
|}</includeonly>
 
<noinclude>[[Category:Administrative templates]]</noinclude>

Latest revision as of 02:19, 31 January 2025

Provides a standardized centered header message box. Used as a foundation for constructing other templates, not directly (see Category:Administrative templates).

Sample usage:

{{HeaderBoxBase|color=brown|icon=Aged parchment-60px.jpg|iconsize=60px|text='''This page contains information that is out of date.'''<br>Please update the information here to reflect where the community is at today.}}

produces:

Aged parchment-60px.jpg

This page contains information that is out of date.
Please update the information here to reflect where the community is at today.