Template:ImportantNote: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
(Created page with "<span style="clear:{{{clear|none}}};float:{{{float|none}}};display:{{{display|inline-block}}};font-variant:small-caps|font-weight:bold;">{{{text| }}}</span><noinclude> ==...")
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span style="clear:{{{clear|none}}};float:{{{float|none}}};display:{{{display|inline-block}}};font-variant:small-caps|font-weight:bold;">{{{text|&nbsp;}}}</span><noinclude>
<div style="padding:5px;margin:10px;border:{{{border|none}}};background-color: {{{background|transparent}}};clear:{{{clear|none}}};float:{{{float|none}}};display:{{{display|inline-block}}};"><span style="color:{{{color|white}}};font-variant:small-caps;font-weight:bold;">{{{text}}}</span></div><noinclude>
===Usage===  
===Usage===  
<nowiki>{{ImportantNote</nowiki><br /><nowiki>
<nowiki>{{ImportantNote</nowiki><br /><nowiki>
Line 5: Line 5:
|clear = </nowiki>''optional''<br /><nowiki>
|clear = </nowiki>''optional''<br /><nowiki>
|float = </nowiki>''optional''<br /><nowiki>
|float = </nowiki>''optional''<br /><nowiki>
|color = </nowiki>''optional''<br /><nowiki>
|border = </nowiki>''optional''<br /><nowiki>
|background = </nowiki>''optional''<br /><nowiki>
|display = </nowiki>''optional''<br /><nowiki>
|display = </nowiki>''optional''<br /><nowiki>
}}</nowiki>
}}</nowiki>
===Example===
<table><tr style="font-weight:bold;"><td>What You See</td><td style="width:50px">&nbsp;</td><td>What You Get</td></tr>
<tr><td><nowiki>{{ImportantNote</nowiki><br /><nowiki>
|text=TextToDisplay</nowiki><br /><nowiki>
|color=black</nowiki><br /><nowiki>
|background=#9AA7B5</nowiki><br /><nowiki>
|border=solid 1px white}}</nowiki></td><td style="width:50px">&nbsp;</td><td>
{{ImportantNote
|text=TextToDisplay
|color=black
|background=#9AA7B5
|border=solid 1px white}}
</td></tr></table>
[[Category: Utility templates]]
[[Category: Utility templates]]
</noinclude>
</noinclude>

Latest revision as of 00:24, 26 March 2014

{{{text}}}

Usage

{{ImportantNote
|text = TextToDisplay
|clear = optional
|float = optional
|color = optional
|border = optional
|background = optional
|display = optional
}}

Example

What You See What You Get
{{ImportantNote
|text=TextToDisplay
|color=black
|background=#9AA7B5
|border=solid 1px white}}
 
TextToDisplay