1,584
edits
DrinkyBird (talk | contribs) No edit summary Tag: Source edit |
DrinkyBird (talk | contribs) No edit summary Tag: Source edit |
||
Line 5: | Line 5: | ||
"border": { | "border": { | ||
"label": "Border colour", | "label": "Border colour", | ||
"description": " | "description": "Hex colour value for the border", | ||
"type": "line", | "type": "line", | ||
"default": " | "default": "000000" | ||
}, | }, | ||
"background": { | "background": { | ||
"label": "Background colour", | "label": "Background colour", | ||
"description": " | "description": "Hex colour value for the background", | ||
"type": "line", | "type": "line", | ||
"default": " | "default": "FFFFFF" | ||
}, | }, | ||
"color": { | "color": { | ||
"label": "Text colour", | "label": "Text colour", | ||
"description": " | "description": "Hex colour value for the text", | ||
"type": "line", | "type": "line", | ||
"default": " | "default": "000000" | ||
}, | }, | ||
"image": { | "image": { | ||
Line 32: | Line 32: | ||
"type": "content", | "type": "content", | ||
"required": true | "required": true | ||
}, | |||
"imagesize": { | |||
"label": "Image size", | |||
"description": "Pixel size of the image - this affects both width and height", | |||
"type": "number", | |||
"default": "46" | |||
} | } | ||
}, | }, | ||
Line 42: | Line 48: | ||
| image = Unkna0.png | | image = Unkna0.png | ||
| content = Test | | content = Test | ||
| background = | | background = EFEFEF | ||
}} | }} | ||
---- | ---- | ||
</noinclude>{| align=center border=0 cellpadding=4 cellspacing=4 style="border: solid 1px {{#if: {{{border|}}} | {{{border}}} | | </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" | ||
|- | |- | ||
| {{#if: {{{image}}} | [[File:{{{image}}}| | | style="width: {{#if: {{{imagesize|}}} | {{{imagesize}}} | 46}}px" | {{#if: {{{image|}}} | [[File:{{{image}}}|{{#if: {{{imagesize|}}} | {{{imagesize}}} | 46}}x{{#if: {{{imagesize|}}} | {{{imagesize}}} | 46}}px]] }} | ||
| {{{content}}} | | {{{content}}} | ||
|} | |} |