Template

Trophy

From Dogcraft Wiki

imported>Domino
No edit summary
imported>William
No edit summary
Line 27: Line 27:
{{{trophydescription}}}</center>
{{{trophydescription}}}</center>
</div></includeonly>
</div></includeonly>
<noinclude>
<templatedata>
{
"params": {
"cardcolor": {
"label": "Card Color",
"description": "The color of the trophy card.",
"example": "ffffff",
"type": "string",
"autovalue": "#367FA9",
"suggested": true
},
"trophyimage": {
"label": "Trophy Image",
"description": "The image of the trophy to be displayed on the card",
"example": "Trophy_2019_Reflection_Participant.svg",
"type": "string",
"required": true
},
"trophyname": {
"label": "Trophy Name",
"description": "The name of the trophy.",
"required": true
},
"trophydescription": {
"label": "Trophy Description",
"description": "What the trophy is and why it was awarded.",
"type": "string",
"required": true
}
},
"description": "A template for creating trophy card templates, for display on [[Template:TrophyGallery|Trophy Galleries]] on <username>/Trophies pages."
}
</templatedata>
</noinclude>

Revision as of 14:26, 2 January 2020

Usage

{{Trophy
|trophyname        = 
|trophyimage       = 
|trophydescription = 
}}

Example

Trophy 2019 Reflection Participant.svg
2019 Reflections
Event Participant

Awarded for participating
in a Wiki Event
{{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.

Template parameters

ParameterDescriptionTypeStatus
Card Colorcardcolor

The color of the trophy card.

Example
ffffff
Auto value
#367FA9
Stringsuggested
Trophy Imagetrophyimage

The image of the trophy to be displayed on the card

Example
Trophy_2019_Reflection_Participant.svg
Stringrequired
Trophy Nametrophyname

The name of the trophy.

Unknownrequired
Trophy Descriptiontrophydescription

What the trophy is and why it was awarded.

Stringrequired
This page was last modified on 2 January 2020, at 14:26. (9 months ago)