Template:Λ: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{|style="width:{{{ | {|style="width:{{{box-width|90%}}}; background-color:{{{color|#fb7f0c}}}; border: {{{border-width|1px}}} {{{border-style|solid}} {{{border-color|#00000}}};border-collapse: separate; border-spacing: {{{border-spacing|3px}}}; margin-left: auto; margin-right: auto; color:{{{message-color|#000000}}}" | ||
|style="border:{{{6|0px solid #000000}}};{{{9|padding:0px}}};margin:0px;" |[[File:{{{ | |style="border:{{{6|0px solid #000000}}};{{{9|padding:0px}}};margin:0px;" |[[File:{{{image|Lego-gordon-freeman.png}}}|link=|{{{image-width|110px}}}]] | ||
|{{{ | |{{{message|'''Hey You!'''<br/>I'm glad I've got your attention.}}} | ||
|}<noinclude> | |}<noinclude> | ||
| Line 27: | Line 27: | ||
[[Category:Core Templates]] | [[Category:Core Templates]] | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"message": { | |||
"aliases": [ | |||
"msg" | |||
], | |||
"label": " Message", | |||
"description": "The Text you want this box to display", | |||
"example": "'''Alakazam''", | |||
"type": "content", | |||
"default": "'''Hey You!'''<br/>I'm glad I've got your attention.", | |||
"required": true | |||
}, | |||
"image": { | |||
"aliases": [ | |||
"img" | |||
], | |||
"label": "Image", | |||
"description": "The filename of the image for the left side of the box.", | |||
"example": "Melon-anime.gif", | |||
"type": "wiki-file-name", | |||
"default": "Lego-gordon-freeman.png", | |||
"suggested": true | |||
}, | |||
"image-width": { | |||
"aliases": [ | |||
"iw" | |||
], | |||
"label": "Image Width", | |||
"description": "The width of the image on the left side of the box.", | |||
"example": "200px", | |||
"type": "string", | |||
"default": "110px" | |||
}, | |||
"box-width": { | |||
"aliases": [ | |||
"bw" | |||
], | |||
"label": "Box Width", | |||
"description": "The Width of the box for the template", | |||
"example": "50%", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"250px", | |||
"100%", | |||
"25%" | |||
], | |||
"default": "90%", | |||
"suggested": true | |||
} | |||
}, | |||
"paramOrder": [ | |||
"message", | |||
"box-width", | |||
"image", | |||
"image-width" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Revision as of 01:13, 9 October 2025
| Hey You! I'm glad I've got your attention. |
Instant Template Construction Kit
This template is an attempt to reduce redundant code by making a ready to use template that can be used.
Parameters
- Message
- Image Filename
- Image Width
- Box Color
- Box Width
- Image Border Style (CSS e.g. |4px solid Blue|, or 0px for no border)
- Box Border Style
- Space Between Box Border and Box Contents
- Optional Styling For Image Area
- Text color
Usage Examples
{{Λ}}
| Hey You! I'm glad I've got your attention. |
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Message | message msg | The Text you want this box to display
| Content | required |
| Box Width | box-width bw | The Width of the box for the template
| String | suggested |
| Image | image img | The filename of the image for the left side of the box.
| File | suggested |
| Image Width | image-width iw | The width of the image on the left side of the box.
| String | optional |