Difference between revisions of "Template:Test"

From Dungeon Defenders 2 Wiki
Jump to: navigation, search
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="float: right; width:{{{width|23em}}}; border: 1px solid #ff0000; border-radius: 5px; padding: 3px;"
+
{| style="float: right; width: 270px; border: 1px solid #008000; border-radius: 5px; padding: 3px;"
 
|-
 
|-
! colspan="2" style="background-color: #ff0000; color: white; font-size:120%; padding:0.3em;"|
+
! colspan="2" style="background-color: #008000; color: white; font-size:120%;"| <div>{{{name|{{PAGENAME}}}}}</div>
    <div><!---
 
    --->{{{name|{{PAGENAME}}}}}
 
    </div>
 
 
|-
 
|-
 
| colspan="2" style="text-align:center;" |<!---
 
| colspan="2" style="text-align:center;" |<!---
--->{{#if: {{{image|}}}| [[{{{image}}}|256px|256px]]}}
+
--->{{#if: {{{image|}}}
    {{#if: |{{{description|}}}
+
      | [[{{{image}}}|256px|center|{{{description|}}}]] <div style="padding: 5px;"><i>{{{description|description?}}}</i></div>
    | <p style="color: #ffffff; font-size:80%; text-align:center; margin: 0;">{{{description}}}</p>
 
 
     }}
 
     }}
 
|-
 
|-
 +
! colspan="2" style="background-color: #008000; color: white; font-size:120%;" | Information
 
|-
 
|-
! colspan="2" style="background-color: #ff0000; 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 right column-->
| style="width:35%" |  
 
| style="width:65%" |
 
 
|-
 
|-
 
| '''Hero:'''
 
| '''Hero:'''
|[[hero|{{{hero|?}}}]]
+
|{{#if: {{{hero|}}}
 +
  | [[{{{hero}}}|{{{hero}}}]]
 +
  | hero?
 +
}} {{Valid for {{{hero}}}}}
 
|-
 
|-
 
| '''Defense Type:'''
 
| '''Defense Type:'''
|[[Defenses|{{{defense_type|?}}}]]
+
| [[Defenses|{{{defense type|?}}}]]
 
|-
 
|-
 
| '''Mana Cost:'''
 
| '''Mana Cost:'''
|[[Mana|{{{mana|?}}}]]
+
| [[Mana|{{{mana cost|?}}}]]
 
|-
 
|-
 
| '''Damage Type:'''
 
| '''Damage Type:'''
|[[Elements|{{{damage_type|?}}}]]
+
| [[Elements|{{{damage type|?}}}]]
 +
|-
 +
| '''Status Effect:'''
 +
| [[Status Effects|{{{status effect|None}}}]]
 +
|-
 +
| '''Base Range:'''
 +
| {{{base_range|?}}}
 +
|-
 +
| '''Range Cap:'''
 +
| {{{range_cap|?}}}
 +
|-
 +
| '''Range Scalar:'''
 +
| {{{range_scalar|?}}}
 +
|}
 +
[[Category:Defenses]] [[Category:Heroes]] [[Category:Dungeon Defenders 2]]
 +
<noinclude>
 +
===Parameters===
 +
{| border="1" style="border-collapse:collapse;"
 +
|-
 +
! Parameter !! Description
 +
|-
 +
| name || calls for name. page name by default.
 +
|-
 +
| hero || calls for the hero.
 +
|-
 +
| description || calls for the description.
 +
|-
 +
| damage_type || calls for the damage type.
 +
|-
 +
| defense_type || calls for the defense type. 
 +
|-
 +
| mana || calls for the mana value.
 +
|-
 +
| base_range || calls for base range.
 +
|-
 +
| range_cap || calls for the range cap.
 
|-
 
|-
|| '''Status Effect:'''
+
| range_scalar || calls for the range scalar.
|[[Status Effects|{{{status_effect|?}}}]]
 
 
|-
 
|-
|
 
 
|}
 
|}
 +
</noinclude>
 
__NOEDITSECTION__
 
__NOEDITSECTION__

Latest revision as of 17:24, 14 November 2023

Test
Information
Hero: hero? {{Valid for {{{hero}}}}}
Defense Type: ?
Mana Cost: ?
Damage Type: ?
Status Effect: None
Base Range:  ?
Range Cap:  ?
Range Scalar:  ?

Parameters

Parameter Description
name calls for name. page name by default.
hero calls for the hero.
description calls for the description.
damage_type calls for the damage type.
defense_type calls for the defense type.
mana calls for the mana value.
base_range calls for base range.
range_cap calls for the range cap.
range_scalar calls for the range scalar.