1,584
edits
DrinkyBird (talk | contribs) No edit summary Tag: Source edit |
DrinkyBird (talk | contribs) (Add imagelink parameter) Tag: Source edit |
||
Line 38: | Line 38: | ||
"type": "number", | "type": "number", | ||
"default": "46" | "default": "46" | ||
}, | |||
"imagelink": { | |||
"label": "Image link", | |||
"description": "Link the user will be sent to upon clicking the image", | |||
"type": "url" | |||
} | } | ||
}, | }, | ||
Line 45: | Line 50: | ||
"content", | "content", | ||
"image", | "image", | ||
"imagelink", | |||
"imagesize", | "imagesize", | ||
"color", | "color", | ||
Line 76: | Line 82: | ||
| content = Test | | content = Test | ||
| background = EFEFEF | | background = EFEFEF | ||
}} | |||
</li> | |||
<li> | |||
<pre><nowiki>{{WarningBox | |||
| image = Za exe2 logo cropped.png | |||
| content = <- Click that image to view the page [[Zandronum]] | |||
| imagelink = Zandronum | |||
}}</nowiki></pre> | |||
becomes | |||
{{WarningBox | |||
| image = Za exe2 logo cropped.png | |||
| content = <- Click that image to view the page [[Zandronum]] | |||
| imagelink = Zandronum | |||
}} | }} | ||
</li> | </li> | ||
Line 101: | Line 121: | ||
</noinclude>{| align=center border=0 cellpadding=4 cellspacing=4 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: center; border-radius: 3px" | </noinclude>{| align=center border=0 cellpadding=4 cellspacing=4 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: center; border-radius: 3px" | ||
|- | |- | ||
| style="width: {{#if: {{{imagesize|}}} | {{{imagesize}}} | 46}}px; {{#if: {{{image|}}} | | display:none}}" | {{#if: {{{image|}}} | [[File:{{{image}}}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | 46}}x{{#if: {{{imagesize|}}} | {{{imagesize}}} | 46}}px]] }} | | style="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|}}}]] }} | ||
| {{{content}}} | | {{{content}}} | ||
|} | |} |