Template
Trophy
From Dogcraft Wiki
imported>Domino m (Protected "Template:Trophy" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
imported>William No edit summary |
||
Line 23: | Line 23: | ||
<includeonly> | <includeonly> | ||
<div style="background-color: {{{cardcolor|#367FA9}}}; display: inline-block; padding:10px; float: left; margin-right:10px; margin-left:10px; margin-bottom:10px; color:white; box-shadow:5px 5px 10px #aaa"> | <div 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>'''{{{trophyname}}}'''<br> | ||
{{{trophydescription}}}</center> | {{{trophydescription}}}</center> |
Revision as of 14:58, 2 January 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 2 January 2020, at 14:58. (11 months ago)