Difference between revisions of "Template:MatTest"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
(Created page with "{| style="float: right; width: 270px; border: 1px solid #6D393B; border-radius: 5px; padding: 3px;" |- ! colspan="2" style="background-color: #6D393B; color: white; font-size:...")
 
 
(18 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
|-
 
|-
 
| colspan="2" style="text-align:center;" |<!---
 
| colspan="2" style="text-align:center;" |<!---
--->{{#if: {{{image|}}}
+
--->{{#if: {{{plain_image|}}} <!---Will Need another Default Image--->
      | [[{{{image}}}|256px|center|{{{description|}}}]] <div style="padding: 5px;"><i>{{{description|description?}}}</i></div>
+
        | <tabber>
 +
            |-|Plain=[[{{{plain_image|File:Unknown Material Big.png}}}|100px]]<br>[[{{{plain_icon|File:Unknown Material.png}}}|60px]]
 +
            |-|Shiny=[[{{{shiny_image|File:Unknown Material Big.png}}}|100px]]<br>[[{{{shiny_icon|File:Unknown Material.png}}}|60px]]
 +
            |-|Pristine=[[{{{pristine_image|File:Unknown Material Big.png}}}|100px]]<br>[[{{{pristine_icon|File:Unknown Material.png}}}|60px]]
 +
            |-|Exquisite=[[{{{exquisite_image|File:Unknown Material Big.png}}}|100px]]<br>[[{{{exquisite_icon|File:Unknown Material.png}}}|60px]]
 +
          </tabber>
 +
        | [[{{{image|File:Unknown Material Big.png}}}|100px]]
 
     }}
 
     }}
 
|-
 
|-
! colspan="2" style="background-color: #6D393B; color: white; font-size:120%;" | Placeholder Text
+
|{{#if: {{{description|}}}
 +
    | colspan="2" style="text-align:center;"  {{!}} <i> {{{description}}} </i>
 +
}}
 +
|-
 +
! colspan="2" style="background-color: #6D393B; color: white; font-size:120%;" | Information
 
|-
 
|-
 
| style="width:50%; text-align: right;" | <!-- Sets the width of the left column-->
 
| style="width:50%; text-align: right;" | <!-- Sets the width of the left column-->
Line 14: Line 24:
 
|-
 
|-
 
| '''Acquisition:'''
 
| '''Acquisition:'''
|{{#if: {{{Region1|}}}{{{Region2|}}}
+
|{{#if: {{{acquisition|}}}
   | [[{{{Region1}}}]] & [[{{{Region2}}}]] Region{{#if: {{{Region2|}}}|s|}}
+
   | [[{{{acquisition}}}|{{{acquisition}}}]]
 
   | ?
 
   | ?
}}{{#if: {{{Region1|}}}
+
}} Region
  | [[{{{Region1}}}]] Region
 
  | ?
 
}}{{#if: {{{Region2|}}}
 
  | s
 
  |
 
}}
 
  
|-
 
 
|}
 
|}
 
[[Category:Dungeon Defenders 2]]
 
[[Category:Dungeon Defenders 2]]
 +
 +
<noinclude>
 +
=Example Usage=
 +
 +
<code style="display: table; white-space: pre-wrap;">
 +
 +
{{<Template Name>
 +
| name = Rings
 +
| description = A magical glove upgrade material.
 +
| plain_image = File:Plain Ring Model.png
 +
| shiny_image = File:Shiny Ring Model.png
 +
| pristine_image = File:Pristine Ring Model.png
 +
| exquisite_image = File:Exquisite Ring Model.png
 +
| plain_icon = File:Plain Ring.png
 +
| shiny_icon = File:Shiny Ring.png
 +
| pristine_icon = File:Pristine Ring.png
 +
| exquisite_icon = File:Exquisite Ring.png
 +
| acquisition = Dragonfall Town
 +
}}
 +
</code>
 +
</noinclude>
 
__NOEDITSECTION__
 
__NOEDITSECTION__

Latest revision as of 18:54, 2 April 2024

?
Unknown Material Big.png
Information
Acquisition: ? Region


Example Usage

{{<Template Name> | name = Rings | description = A magical glove upgrade material. | plain_image = File:Plain Ring Model.png | shiny_image = File:Shiny Ring Model.png | pristine_image = File:Pristine Ring Model.png | exquisite_image = File:Exquisite Ring Model.png | plain_icon = File:Plain Ring.png | shiny_icon = File:Shiny Ring.png | pristine_icon = File:Pristine Ring.png | exquisite_icon = File:Exquisite Ring.png | acquisition = Dragonfall Town }}