Template:HeaderBoxBase: Difference between revisions

From OniGalore
m (/cat; is this our worst template name? I vote 'yes')
(updated for new name; noted that the template is not intended to be used directly)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>Provides a standard centered header box.
<noinclude>Provides a standardized centered header message box. Used as a foundation for constructing other templates, not directly (see [[:Category:Administrative templates]]).


Sample usage:
Sample usage:


<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>
<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:
produces:


{{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.}}
{{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]]
[[Category:Header and footer templates]]



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.