Spiderjjr45 (talk | contribs) No edit summary |
Spiderjjr45 (talk | contribs) No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude> |
<onlyinclude> |
||
<div style=" padding: 0px; width: 12%; height: 100px; margin: 2px auto; overflow:hidden; box-shadow: 0 4px 8px rgba(0,0,0,0.1); border-radius: 25px; border: 3px solid #000; position:relative; display: inline-flex; flex-direction: column; align-items: center; "> |
<div style=" min-width: 145px; padding: 0px; width: 12%; height: 100px; margin: 2px auto; overflow:hidden; box-shadow: 0 4px 8px rgba(0,0,0,0.1); border-radius: 25px; border: 3px solid #000; position:relative; display: inline-flex; flex-direction: column; align-items: center; text-align: center;"> |
||
<div style="position: absolute; top: -100%; left: -125%; width: 110%; height: 100%; opacity: 0.2; z-index: -1; "> |
<div style="position: absolute; top: -100%; left: -125%; width: 110%; height: 100%; opacity: 0.2; z-index: -1; "> |
||
[[File:{{{3}}}]] |
[[File:{{{3}}}]] |
||
</div> |
</div> |
||
<span style="font-size:1.25em; line-height: 0. |
<span style="font-size:1.25em; line-height: 0.3;>'''{{{1}}}'''</span> |
||
<div style=" font-family: 'Courier New', monospace; color: #000; font-size: 1em; margin: 2px 0;"> |
<div style=" line-height:0.6em; font-family: 'Courier New', monospace; color: #000; font-size: 1em; margin: 2px 0;"> |
||
{{{2}}} |
{{{2}}} |
||
</div> |
</div> |
||
Line 19: | Line 19: | ||
== Example == |
== Example == |
||
<nowiki>{{LesserGodBox|THE MOUSE|Beasts|Background.jpg}}</nowiki>< |
<nowiki>{{LesserGodBox|THE MOUSE|Beasts|Background.jpg}}</nowiki><templatedata> |
||
{ |
|||
"params": { |
|||
"1": { |
|||
"label": "God Name" |
|||
}, |
|||
"2": { |
|||
"label": "God Domain" |
|||
}, |
|||
"3": { |
|||
"label": "Background Image" |
|||
} |
|||
} |
|||
} |
|||
</templatedata></noinclude> |
Latest revision as of 21:07, 24 April 2024
Usage[edit source]
This template creates a styled display with a title, a subtitle, and a semi-transparent background image. To use this template, include it in a page as follows:
{{LesserGodBox|Your God Name|God Of What?|YourImageName.jpg}}
Your Header Text with the text you want to display as the header, Your Subtitle Text with the text you want to display as the subtitle, and YourImageName.jpg with the filename of the image you've uploaded to the wiki.
Example[edit source]
{{LesserGodBox|THE MOUSE|Beasts|Background.jpg}}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
God Name | 1 | no description | Unknown | optional |
God Domain | 2 | no description | Unknown | optional |
Background Image | 3 | no description | Unknown | optional |