Difference between revisions of "Template:Header Template"

(Creation (as this is needed))
 
m (Text replacement - "{{/doc}}" to "{{Documentation}}")
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| style="border:1px solid #E0E0E0;border-top-left-radius:10px;border-top-right-radius:10px;box-shadow:0 2px 3px rgba(34, 25, 25, 0.5);padding:7px 20px;position:relative;background-color:{{#if:{{{bgColor|}}}|{{{bgColor}}}|<nowiki>#F7F7F7</nowiki>}};border-bottom:1px solid {{#if:{{{borderColor|}}}|{{{borderColor}}}|<nowiki>#E0E0E0</nowiki>}};"
+
<div style="margin: auto; width: 50%; text-align: center; border: 2px outset #474747; border-radius: 10px; box-shadow: 2px 2px 1px 2px #888888; position: relative; background: {{{bgColor}}};">
 +
{| class="notice noprint"
 
|-
 
|-
| style="padding-right:10px;" | {{{1|[[File:Wiki.png|50px]]}}}
+
| style="padding: 0.2em" | [[Image:{{{image}}}|64px| ]]
| {{{2|This is a "meta-template" used to standardize other templates. The first argument is usually an image, the second is the text. The <code>bgColor</code> param allows a background color to be set, and <code>borderColor</code>, a border color.}}}
+
| style="padding: 0.2em" | <div style="text-align: center; margin: 0; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); line-height: 1.6; font-size: 90%;">{{{message}}}</div>
 
|}
 
|}
 +
</div>
 
<noinclude>
 
<noinclude>
{{/doc}}
+
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 16:19, 2 March 2023

[[Image:{{{image}}}|64px| ]]
{{{message}}}