Template:Important: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Tels (talk | contribs)
repair the headline parameter
Tels (talk | contribs)
add some left/right padding to avoid text "hugging" the border
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="background-color: #E5E5E5; border: 1px solid #aaaaaa; margin-left: 30px; padding: 5px; padding-top: 0px;">
<div style="background-color: #E5E5E5; border: 1px solid #aaaaaa; margin-left: 30px; padding: 5px; padding-top: 0px;">
<span style="color: black; background: none; font-size: 132%; font-weight: bold; margin: 0; padding-top: .5em; padding-bottom: .17em;">{{{headline|Things to remember:}}}</span>
<span style="color: black; background: none; font-size: 132%; font-weight: bold; margin: 0; padding: .5em; padding-bottom: .17em;">{{{headline|Things to remember:}}}</span>
{{{text}}}</div></includeonly><noinclude><div style="background-color: #E5E5E5; border: 1px solid #CCCCCC; margin-left: 30px; padding: 5px; padding-top: 0px;">
{{{text}}}</div></includeonly><noinclude><div style="background-color: #E5E5E5; border: 1px solid #CCCCCC; margin-left: 30px; padding: 5px; padding-top: 0px;">
<span style="color: black; background: none; font-size: 132%; font-weight: bold; margin: 0; padding-top: .5em; padding-bottom: .17em;">Important Text Goes Here:</span>
<span style="color: black; background: none; font-size: 132%; font-weight: bold; margin: 0; padding: .5em; padding-bottom: .17em;">Important Text Goes Here:</span>
This creates a shaded box around the template parameter <code>text</code>, and adds an h3-style header with the text of the template parameter <code>headline</code>.</div>
This creates a shaded box around the template parameter <code>text</code>, and adds an h3-style header with the text of the template parameter <code>headline</code>.</div>
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 19:26, 13 January 2008

Important Text Goes Here:

This creates a shaded box around the template parameter text, and adds an h3-style header with the text of the template parameter headline.