Difference between revisions of "Template:InfoBox"
m |
|||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{InfoBox | {{InfoBox | ||
− | |Type={[normal]|alert} | + | |Type={[normal]|alert|featured} |
|Image= | |Image= | ||
|Title= | |Title= | ||
Line 15: | Line 15: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | <div style="border: | + | <div style="border: |
{{#switch: | {{#switch: | ||
{{lc: | {{lc: | ||
{{{Type|¬}}} | {{{Type|¬}}} | ||
}} | }} | ||
− | |¬|normal = dashed #ccc; | + | |¬|normal = 2px dashed #ccc; |
− | ||alert = solid red; | + | ||alert = 2px solid red; |
+ | ||featured = 3px dashed #99f; | ||
}} | }} | ||
margin: 0.5em; padding: 1em; text-align:center; background: ;width: {{{Width}}}; float: {{{Float|inherit}}}; clear: {{{Clear|inherit}}};"> | margin: 0.5em; padding: 1em; text-align:center; background: ;width: {{{Width}}}; float: {{{Float|inherit}}}; clear: {{{Clear|inherit}}};"> |
Revision as of 11:48, 23 October 2011
This is the "Infobox" template. It should be called in the following format:
{{InfoBox |Type={[normal]|alert|featured} |Image= |Title= |Text= |Float= |Clear= |Width= }}
Edit the page to see the template text.