Template
TrophyGallery
From Dogcraft Wiki
imported>William No edit summary |
mNo edit summary |
||
(47 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>[[Category:Trophies]] | ||
=== Usage === | |||
<pre> | <pre> | ||
{{TrophyGallery | {{TrophyGallery | ||
Line 7: | Line 8: | ||
|trophy4 = | |trophy4 = | ||
|trophy5 = | |trophy5 = | ||
|trophy6 = | |||
}} | }} | ||
</pre> | </pre></noinclude> | ||
<includeonly> | |||
{{Tab Trophies}} | |||
<center> | |||
<div class="phonefullscreen2" style="text-align:center; color:#fff; display: inline-block; background-color: #E9EDEF;"> | |||
{{Header|{{ROOTPAGENAME}}'s Trophy Case|{{main-color}}|margin=margin:0px 0 10px 0;}} | |||
<div style="padding: 15px;"> | |||
<center> | |||
{{{#if{{{trophy1}}}|{{{trophy1|}}}|}}} | |||
{{{#if{{{trophy2}}}|{{{trophy2|}}}|}}} | |||
{{{#if{{{trophy3}}}|{{{trophy3|}}}|}}} | |||
{{{#if{{{trophy4}}}|{{{trophy4|}}}|}}} | |||
{{{#if{{{trophy5}}}|{{{trophy5|}}}|}}} | |||
{{{#if{{{trophy6}}}|{{{trophy6|}}}|}}}</center></div></div></center></includeonly><noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"trophy1": { | |||
"required": true, | |||
"description": "Trophy template", | |||
"type": "wiki-template-name", | |||
"label": "Trophy 1" | |||
}, | |||
"trophy2": { | |||
"description": "Trophy template", | |||
"type": "wiki-template-name", | |||
"label": "Trophy 2" | |||
}, | |||
"trophy3": { | |||
"description": "Trophy template", | |||
"type": "wiki-template-name", | |||
"label": "Trophy 3" | |||
}, | |||
"trophy4": { | |||
"description": "Trophy template", | |||
"type": "wiki-template-name", | |||
"label": "Trophy 4" | |||
}, | |||
"trophy5": { | |||
"description": "Trophy template", | |||
"type": "wiki-template-name", | |||
"label": "Trophy 5" | |||
}, | |||
"trophy6": { | |||
"label": "Trophy 6", | |||
"description": "Trophy template", | |||
"type": "wiki-template-name" | |||
} | |||
}, | |||
"description": "A gallery to be placed on <username>/Trophies pages displaying up to 6 Wiki Trophies, which are special awards given to a user for a particular reason.", | |||
"paramOrder": [ | |||
"trophy1", | |||
"trophy2", | |||
"trophy3", | |||
"trophy4", | |||
"trophy5", | |||
"trophy6" | |||
] | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> | ||
Latest revision as of 13:29, 4 December 2023
Usage
{{TrophyGallery |trophy1 = |trophy2 = |trophy3 = |trophy4 = |trophy5 = |trophy6 = }}
A gallery to be placed on <username>/Trophies pages displaying up to 6 Wiki Trophies, which are special awards given to a user for a particular reason.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Trophy 1 | trophy1 | Trophy template | Template | required |
Trophy 2 | trophy2 | Trophy template | Template | optional |
Trophy 3 | trophy3 | Trophy template | Template | optional |
Trophy 4 | trophy4 | Trophy template | Template | optional |
Trophy 5 | trophy5 | Trophy template | Template | optional |
Trophy 6 | trophy6 | Trophy template | Template | optional |