Template:HeaderBoxTemplateTemplate: Difference between revisions

From OniGalore
Jump to navigation Jump to search
No edit summary
m (/cat; is this our worst template name? I vote 'yes')
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>Use like:<br/>
<noinclude>Provides a standard centered header box.
<nowiki>{{HeaderBoxTemplateTemplate|color=brown|icon=Aged parchment-60px.jpg|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|text='''This page contains information that is out of date.'''<br>Please update the information here to reflect where the community is at today.}}</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>{{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>
 
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.}}
[[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>
|}</includeonly>
<noinclude>[[Category:Administrative templates]]</noinclude>

Latest revision as of 13:06, 11 April 2013

Provides a standard centered header box.

Sample usage:

{{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.}}

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.