Template
Trophy
From Dogcraft Wiki
No edit summary |
No edit summary |
||
Line 23: | Line 23: | ||
<includeonly> | <includeonly> | ||
<div style="display: inline-block; float:left; margin-left:20px; margin-right:20px; margin-bottom:20px; color:black; width: 200px; max-width: 200px;"> | <div id="fullbox"><div style="display: inline-block; float:left; margin-left:20px; margin-right:20px; margin-bottom:20px; color:black; width: 200px; max-width: 200px;"> | ||
<div style="outline: 5px solid {{main-color}}; padding: 15px 0px 15px 0px; background-color:white"> | <div style="outline: 5px solid {{main-color}}; padding: 15px 0px 15px 0px; background-color:white"> | ||
<center>[[File:{{{trophyimage}}}|150px]] | <center>[[File:{{{trophyimage}}}|150px]] | ||
Line 30: | Line 30: | ||
<center>{{Large|{{{trophyname}}}}}</center> | <center>{{Large|{{{trophyname}}}}}</center> | ||
<div class=hoverbox style="position:relative; background-color:{{main-color}}; color:white; outline: 5px solid {{main-color}}; line-height:1.3; z-index:-1;"> | <div class=hoverbox style="position:relative; background-color:{{main-color}}; color:white; outline: 5px solid {{main-color}}; line-height:1.3; z-index:-1;"> | ||
<center>{{{trophydescription}}}</center></div></div></div></includeonly> | <center>{{{trophydescription}}}</center></div></div></div></div></includeonly> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> |
Revision as of 16:17, 19 May 2020
Usage
{{Trophy |trophyname = |trophyimage = |trophydescription = }}
Example
{{Trophy |trophyname = 2019 Reflections <br>Event Participant |trophyimage = Trophy 2019 Reflection Participant.svg |trophydescription = Awarded for participating<br> in a Wiki Event }}
A template for creating trophy card templates, for display on [[Template:TrophyGallery|Trophy Galleries]] on <username>/Trophies pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Card Color | cardcolor | The color of the trophy card.
| String | required |
Trophy Image | trophyimage | The image of the trophy to be displayed on the card
| String | required |
Trophy Name | trophyname | The name of the trophy. | Unknown | required |
Trophy Description | trophydescription | What the trophy is and why it was awarded. | String | required |
This page was last modified on 19 May 2020, at 16:17. (11 months ago)