Template:ImportantNote: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
mNo edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div style="padding:5px;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>
<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 11: Line 11:
}}</nowiki>
}}</nowiki>
===Example===
===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
{{ImportantNote
|text = TextToDisplay
|text=TextToDisplay
|color = white
|color=black
|background = gray
|background=#9AA7B5
|display = block
|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