Template
Trophy
From Dogcraft Wiki
No edit summary |
No edit summary |
||
| Line 35: | Line 35: | ||
<div class="flip-card-back" style="position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: rotateY(180deg);"> | <div class="flip-card-back" style="position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: rotateY(180deg);"> | ||
<div id=trophy-description style="background-color:{{main-color}}; color:white; outline: 5px solid {{main-color}}; line-height:1.4; height:inherit;"> | <div id=trophy-description style="background-color:{{main-color}}; color:white; outline: 5px solid {{main-color}}; line-height:1.4; height:inherit;"> | ||
<center>{{{trophydescription}}}</center></div> | <center><span style="display:inline-block; margin:7px; margin-top:10px;">{{{trophydescription}}}</span></center></div> | ||
</div> | </div> | ||
</div> | </div> | ||
Revision as of 18:51, 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 18:51. (2 years ago)