Difference between revisions of "Template:Small Modal Box"
From sureai
m (Fix box size: Should be always 500px now) |
(Fix box size (again)) |
||
Line 1: | Line 1: | ||
− | <div style = "width: 100%; max-width: 500px; | + | <div style = "width: 100%; max-width: 500px; margin: 5px 5px 5px 0; "><div style = "border: 1px solid RGB(73, 73, 59); color: RGB(73, 73, 59); border-radius: 5px; box-shadow: 0 0 2px #00000055; padding: 5px 10px; display: flex; flex-flow: row nowrap; align-items: center; "><div style = "width: 30px; height: 30px; ">[[File:{{{image|SureaiLogo2016.png}}}|30x30px|link=|{{{title}}} Icon]]</div><div style = "margin: 0 1.5em; font-weight: bold; ">{{{title}}}</div><p>{{{description}}}</p></div></div><noinclude> |
== Usage == | == Usage == | ||
=== Parameters === | === Parameters === |
Latest revision as of 12:35, 1 July 2017
{{{title}}}
{{{description}}}
Usage
Parameters
- image (Optional): The box's icon image, without the initial "File:". Defaults to SureaiLogo2016.png
- title: The box's title
- description: The box's description
Examples
{{Small Modal Box |image = Ico_enderal_s.png |title = Incomplete |description = This article or section is incomplete. }}
Incomplete
This article or section is incomplete.
{{Small Modal Box |title = Smelly |description = This article or section smells bad. Give it a deodorant. }}
Smelly
This article or section smells bad. Give it a deodorant.