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>
<includeonly><div style="text-align:center; color:#cce2ef; background-color: #cce2ef; display: inline-block;">{{Header|{{ROOTPAGENAME}}'s Trophies}}
{{{#if{{{trophy1}}}|{{{trophy1}}}|}}}
{{{#if{{{trophy2}}}|{{{trophy2}}}|}}}
{{{#if{{{trophy3}}}|{{{trophy3}}}|}}}
{{{#if{{{trophy4}}}|{{{trophy4}}}|}}}
{{{#if{{{trophy5}}}|{{{trophy5}}}|}}}</div></includeonly>

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.

Template parameters

ParameterDescriptionTypeStatus
Trophy 1trophy1

Trophy template

Templaterequired
Trophy 2trophy2

Trophy template

Templateoptional
Trophy 3trophy3

Trophy template

Templateoptional
Trophy 4trophy4

Trophy template

Templateoptional
Trophy 5trophy5

Trophy template

Templateoptional
Trophy 6trophy6

Trophy template

Templateoptional
Background Takeshi by Edo