Template:HeaderBoxBase: Difference between revisions

From OniGalore
No edit summary
(updated for new name; noted that the template is not intended to be used directly)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>Use like:<br/>
<noinclude>Provides a standardized centered header message box. Used as a foundation for constructing other templates, not directly (see [[:Category:Administrative templates]]).
<nowiki>{{HeaderBoxTemplateTemplate|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><br/>
to achieve the following:
{{HeaderBoxTemplateTemplate|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:Administrative 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:center; width:700pt;"
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}}}|{{{iconsize|}}}]]  
| style="width:1%;" | [[Image:{{{icon}}}|{{{iconsize|}}}]]  

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.