Template
Trophy
From Dogcraft Wiki
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
<includeonly> | <includeonly> | ||
<div class="hover" style="background-color: {{{cardcolor|#367FA9}}}; display: inline-block; padding:10px; float: left; margin-right:10px; margin-left:10px; margin-bottom:10px; color:white; width: 200px; max-width: 200px; box-shadow:5px 5px 10px #aaa"> | <div class="hover" style="background-color: {{{cardcolor|#367FA9}}}; display: inline-block; padding:10px; float: left; margin-right:10px; margin-left:10px; margin-bottom:10px; color:white; width: 200px; max-width: 200px; box-shadow:5px 5px 10px #aaa"> | ||
<center>[[File:{{{trophyimage}}}|125px]]<hr>'''{{{trophyname}}}'''<br> | <center>[[File:{{{trophyimage}}}|125px]]<hr><div style="height:3.20em">'''{{{trophyname}}}'''<br></div> | ||
<div class="hoverbox">{{{trophydescription}}}</div></center> | <div class="hoverbox" >{{{trophydescription}}}</div></center> | ||
</div></includeonly> | </div></includeonly> | ||
<noinclude> | <noinclude> |
Revision as of 16:25, 18 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 18 May 2020, at 16:25. (11 months ago)