Jump to content

Template:WarningBox: Difference between revisions

no edit summary
(Add wikitable and textalign parameters)
Tag: Source edit
No edit summary
Tag: Source edit
 
Line 1: Line 1:
<noinclude>
<noinclude>
<div style="float: right">__TOC__</div>
== Template data ==
== Template data ==
<templatedata>
<templatedata>
Line 146: Line 148:
</li>
</li>
</ol>
</ol>
 
</noinclude><includeonly>{| align="center" border=0 cellpadding=4 cellspacing=4 {{#ifeq: {{{wikitable|}}} | true | class="wikitable" style=" | style="border: solid 1px #{{#if: {{{border|}}} | {{{border}}} | 000000}}; background-color: #{{#if: {{{background|}}} | {{{background}}} | FFFFFF}}; color: #{{#if: {{{color|}}} | {{{color}}} | 000000}}; }} padding: 0.4em 1em; width: 75%; margin: 1em auto; text-align: {{#if: {{{textalign|}}} | {{{textalign}}} | center}}; border-radius: 3px"
== The template itself ==
</noinclude>{| align="center" border=0 cellpadding=4 cellspacing=4 {{#ifeq: {{{wikitable|}}} | true | class="wikitable" style=" | style="border: solid 1px #{{#if: {{{border|}}} | {{{border}}} | 000000}}; background-color: #{{#if: {{{background|}}} | {{{background}}} | FFFFFF}}; color: #{{#if: {{{color|}}} | {{{color}}} | 000000}}; }} padding: 0.4em 1em; width: 75%; margin: 1em auto; text-align: {{#if: {{{textalign|}}} | {{{textalign}}} | center}}; border-radius: 3px"
|-
|-
| style="border:none; width: {{#if: {{{imagesize|}}} | {{{imagesize}}} | 46}}px; {{#if: {{{image|}}} | | display:none}}" | {{#if: {{{image|}}} | [[File:{{{image}}}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | 46}}x{{#if: {{{imagesize|}}} | {{{imagesize}}} | 46}}px|link={{{imagelink|}}}]] }}
| style="border:none; width: {{#if: {{{imagesize|}}} | {{{imagesize}}} | 46}}px; {{#if: {{{image|}}} | | display:none}}" | {{#if: {{{image|}}} | [[File:{{{image}}}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | 46}}x{{#if: {{{imagesize|}}} | {{{imagesize}}} | 46}}px|link={{{imagelink|}}}]] }}
| style="border: none" | {{{content}}}
| style="border: none" | {{{content}}}
|}
|}</includeonly>