Template:Ambox: Difference between revisions

Want an adless experience? Log in or Create an account.
m
no edit summary
(Created template - still lots of work to do)
 
mNo edit summary
Line 5: Line 5:
   | <div style="text-align: center;{{#if: {{{color|}}}| color: {{{color}}}}}">'''{{{header}}}'''</div>
   | <div style="text-align: center;{{#if: {{{color|}}}| color: {{{color}}}}}">'''{{{header}}}'''</div>
   }}{{{1}}}<!--
   }}{{{1}}}<!--
-->{{#ifeq: {{{type|}}}|inline|{{n}}{{!}} {{{image}}}}}
-->{{#ifeq: {{{type|}}}|inline|{{!}} {{{image}}}}}
|}<noinclude>
|}<noinclude>
==Purpose==
==Purpose==
Line 18: Line 18:
</pre>
</pre>
'''color''' and '''header''' are optional. Type can be either '''header''' or '''inline'''.
'''color''' and '''header''' are optional. Type can be either '''header''' or '''inline'''.
{{Cat|Formatting Templates}}
{{Cat|Ambox Templates}}
</noinclude>