Template:Λ: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{|style="width:{{{ | {|style="width:{{{box-width|90%}}}; background-color:{{{color|#fb7f0c}}}; border-width: {{{border-width|1px}}}; border-style: {{{border-style|solid}}}; border-color: {{{border-color|#00000}}}; border-collapse: separate; border-spacing: {{{border-spacing|3px}}}; margin-left: auto; margin-right: auto; color:{{{message-color|#000000}}}"|style="border-width:{{{image-border-width|0px}}}; border-style:{{{image-border-style|solid}}}; border-color: {{{image-border-color|#000000}}};{{{image-styling|padding:0px}}}; margin:0px;" | ||
|style="border:{{{ | |[[File:{{{image|Lego-gordon-freeman.png}}}|link=|{{{image-width|110px}}}]] | ||
|{{{ | |{{{message|'''Hey You!'''<br/>I'm glad I've got your attention.}}} | ||
|}<noinclude> | |} | ||
<noinclude> | |||
=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. <nowiki>|</nowiki><span style="color: #119911;">4px solid Blue</span><nowiki>|</nowiki>, or <span style="color: #119911;">0px</span> for no border) | |||
# Box Border Style | |||
# Space Between Box Border and Box Contents | |||
# Optional Styling For Image Area | |||
# Text color | |||
==Usage Examples== | |||
<pre><nowiki> | |||
{{Λ}} | |||
</nowiki></pre> | |||
{{Λ}} | |||
[[Category:Core Templates]] | |||
<templatedata> | |||
{ | |||
"params": { | |||
"box-width": {}, | |||
"color": { | |||
"label": "Box color", | |||
"description": "Valid CSS color for the background of the box", | |||
"example": "#fb7f0c", | |||
"type": "string", | |||
"default": "#fb7f0c" | |||
}, | |||
"border-width": {}, | |||
"border-style": {}, | |||
"border-color": {}, | |||
"border-spacing": {}, | |||
"message-color": { | |||
"description": "Valid CSS color for the color of the text in the box." | |||
}, | |||
"image-border-width": {}, | |||
"image-border-style": {}, | |||
"image-border-color": {}, | |||
"image-styling": { | |||
"label": "Image Styling", | |||
"description": "CSS styles for the image", | |||
"type": "string" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "The image that goes on the left side of the box", | |||
"example": "Melon-anime.gif", | |||
"type": "wiki-file-name", | |||
"default": "Lego-gordon-freeman.png", | |||
"required": true | |||
}, | |||
"image-width": { | |||
"label": "Image Width", | |||
"description": "The width of the image in valid CSS size.", | |||
"example": "100px", | |||
"type": "string", | |||
"default": "110px" | |||
}, | |||
"message": { | |||
"aliases": [ | |||
"msg" | |||
], | |||
"label": "Box Message", | |||
"description": "The text the box displays.", | |||
"example": "'''Beep Boop'''", | |||
"type": "content", | |||
"default": "'''Hey You!'''<br/>I'm glad I've got your attention.", | |||
"required": true | |||
} | |||
} | |||
} | |||
</templatedata></noinclude> | |||
Latest revision as of 01:36, 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 | |
|---|---|---|---|---|
| box-width | box-width | no description | Unknown | optional |
| Box color | color | Valid CSS color for the background of the box
| String | optional |
| border-width | border-width | no description | Unknown | optional |
| border-style | border-style | no description | Unknown | optional |
| border-color | border-color | no description | Unknown | optional |
| border-spacing | border-spacing | no description | Unknown | optional |
| message-color | message-color | Valid CSS color for the color of the text in the box. | Unknown | optional |
| image-border-width | image-border-width | no description | Unknown | optional |
| image-border-style | image-border-style | no description | Unknown | optional |
| image-border-color | image-border-color | no description | Unknown | optional |
| Image Styling | image-styling | CSS styles for the image | String | optional |
| Image | image | The image that goes on the left side of the box
| File | required |
| Image Width | image-width | The width of the image in valid CSS size.
| String | optional |
| Box Message | message msg | The text the box displays.
| Content | required |