Difference between revisions of "Template:Test"
From Dungeon Defenders 2 Wiki
| (18 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {| | + | {| style="float: right; width: 270px; border: 1px solid #008000; border-radius: 5px; padding: 3px;" |
|- | |- | ||
| − | ! colspan="2" style="background-color: #008000; color: white; font-size:120% | + | ! colspan="2" style="background-color: #008000; color: white; font-size:120%;"| <div>{{{name|{{PAGENAME}}}}}</div> |
| − | |||
| − | |||
| − | |||
|- | |- | ||
| colspan="2" style="text-align:center;" |<!--- | | colspan="2" style="text-align:center;" |<!--- | ||
| − | --->{{#if: {{{image|}}}| [[{{{image}}}|256px| | + | --->{{#if: {{{image|}}} |
| − | + | | [[{{{image}}}|256px|center|{{{description|}}}]] <div style="padding: 5px;"><i>{{{description|description?}}}</i></div> | |
| − | | | + | }} |
|- | |- | ||
! colspan="2" style="background-color: #008000; color: white; font-size:120%;" | Information | ! colspan="2" style="background-color: #008000; color: white; font-size:120%;" | Information | ||
|- | |- | ||
| − | | style="width: | + | | style="width:50%; text-align: right;" | <!-- Sets the width of the left column--> |
| − | | style="width: | + | | style="width:50%; text-align: right;" | <!-- Sets the width of the right column--> |
|- | |- | ||
| '''Hero:''' | | '''Hero:''' | ||
| − | |{{#if: {{{hero|}}} | [[{{{hero}}}|{{{hero}}}]] | ?}} | + | |{{#if: {{{hero|}}} |
| + | | [[{{{hero}}}|{{{hero}}}]] | ||
| + | | hero? | ||
| + | }} {{Valid for {{{hero}}}}} | ||
|- | |- | ||
| '''Defense Type:''' | | '''Defense Type:''' | ||
| − | |[[Defenses|{{{ | + | | [[Defenses|{{{defense type|?}}}]] |
|- | |- | ||
| '''Mana Cost:''' | | '''Mana Cost:''' | ||
| − | |[[Mana|{{{mana| | + | | [[Mana|{{{mana cost|?}}}]] |
|- | |- | ||
| '''Damage Type:''' | | '''Damage Type:''' | ||
| − | |[[Elements|{{{ | + | | [[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. | ||
|- | |- | ||
| − | || | + | | range_scalar || calls for the range scalar. |
| − | | | ||
|- | |- | ||
| − | |||
|} | |} | ||
__NOEDITSECTION__ | __NOEDITSECTION__ | ||
| + | </noinclude> | ||
Latest revision as of 15:00, 23 February 2025
| 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. |