Template:Ambox: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
(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>

Revision as of 14:04, November 2, 2011

{{{image}}} {{{1}}}

Purpose

Usage

{{Ambox|type=
|color=
|header=
|Descriptive Text Here
}}

color and header are optional. Type can be either header or inline.