Template:Ambox: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| No edit summary |  (added "noprint" class) | ||
| (13 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| {| class="ambox noprint" align="{{{align}}}" style="background-color: {{{bgcolor}}}" | |||
| {| class="ambox" | |||
| |style="background-color: {{{color}}}"| | |style="background-color: {{{color}}}"| | ||
| |[[Image:{{{image}}}]] | |[[Image:{{{image}}}|{{{iparam}}}]] | ||
| |{{{text}}} | |style="padding: 5px; {{{tstyle}}}"|{{{text}}} | ||
| |}<noinclude> | |||
| == Usage == | |||
| {| class="wikitable" | |||
| ! Input | |||
| ! Output | |||
| |- | |||
| | | |||
| <pre><nowiki> | |||
| {{Ambox | |||
| |align = left | |||
| |color = #FFA500 | |||
| |image = Ambox Notice.png | |||
| |iparam = 20px | |||
| |text = Sample message here | |||
| |tstyle = color: red; font-weight: bold; | |||
| }} | |||
| </nowiki></pre> | |||
| | | |||
| {{Ambox | |||
| |align = left | |||
| |color = #FFA500 | |||
| |image = Ambox Notice.png | |||
| |iparam = 20px | |||
| |text = Sample message here | |||
| |tstyle = color: red; font-weight: bold; | |||
| }} | |||
| |} | |} | ||
| </ | [[Category:Message Box]] | ||
| [[Category:Exclude in print]] | |||
| </noinclude> | |||
Latest revision as of 20:52, 22 March 2014
Usage
| Input | Output | 
|---|---|
| {{Ambox
|align = left
|color = #FFA500
|image = Ambox Notice.png
|iparam = 20px
|text = Sample message here
|tstyle = color: red; font-weight: bold;
}}
 | 
