User:Donni Iris/Sandbox/DPL Equipment: Difference between revisions
Donni Iris (talk | contribs) No edit summary |
Donni Iris (talk | contribs) center Totals |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{| | |||
|'''Equipment''' | |||
!colspan="2"|'''Total Bonus''' | |||
|- style="vertical-align:top;" | |||
|{{Item|Yeti Mask}}<br>{{Item|Yeti Jacket}}<br>{{Item|Yeti Gloves}}<br>{{Item|Yeti Leggings}}<br>{{Item|Yeti Stockings}}<br> | |||
|{{Attribute|MAX_ARMOR|+198}}<br>{{Attribute|COMBAT_REFRESH_HEALTH_DELTA|+128}}<br>{{Attribute|COMBAT_REFRESH_ARMOR_DELTA|+16}}<br>{{Attribute|COMBAT_REFRESH_POWER_DELTA|+114}}<br> | |||
|{{Attribute|MAX_POWER|+5}}<br>{{Attribute|MITIGATION_COLD|+5}}<br>{{Attribute|MAX_BODYHEAT|+20}}<br>{{Attribute|MITIGATION_UNIVERSAL_INDIRECT|+2}}<br> | |||
|} | |||
<hr> | |||
<dpl> | <dpl> | ||
uses =Template:ITEM infobox | |||
category =Items/Armor | category =Items/Armor | ||
titlematch =Yeti % | titlematch =Yeti % | ||
include ={ITEM infobox} | include ={ITEM infobox}:basemods | ||
format ={| {{STDT}}¶!Equipment¶!Stats,¶|-¶|{{Item|%PAGE%}}¶|,,¶|-align=center¶|TOTALS¶|¶{|¶|-¶|{{User:Donni Iris/Equipment/Yeti Armor/Stats total A}}«br»{{User:Donni Iris/Equipment/Yeti Armor/Stats total B}}¶|}¶|} | |||
</dpl> | </dpl> | ||
<!-- The commas are the most important part of the recipe here! (see below) | |||
{| {{STDT}} | |||
¶!Equipment | |||
¶!Stats | |||
, | |||
¶|- | |||
¶|{{Item|%PAGE%}} | |||
¶| | |||
,, | |||
¶|- | |||
align=center¶|TOTALS | |||
¶| | |||
¶{| | |||
¶|- | |||
¶|stats total column A (here's where you could nest the dpl for the %PAGE% of the original...but from what pages? the stats are plugged into each template so horribly) | |||
¶|stats total column B | |||
¶|} | |||
¶|} | |||
--> | |||
<!-- | <!-- | ||
{| {{STDT}} | |||
!Equipment | |||
!Stats | |||
|- | |||
|{{Item|Yeti Mask}} | |||
|stats 1 | |||
|- | |||
|{{Item|Yeti Stockings}} | |||
|stats 2 | |||
|- | |||
align=center|TOTALS | |||
| | |||
{| | |||
|A | |||
|B | |||
|} | |||
|} | |||
--> | |||
<hr> | |||
<dpl> | |||
uses =Template:ITEM infobox | |||
category =Items/Armor | |||
titlematch =Yeti % | |||
include ={ITEM infobox}:basemods | |||
format ={| {{STDT}}¶!Equipment¶!Stats,¶|-¶|{{Item|%PAGE%}}¶|,,¶|} | |||
</dpl> | |||
{{Item | |||
<!-- | |||
{{Item | {| class="wikitable" | ||
¶!Equipment | |||
¶!Stats | |||
, | |||
¶|- | |||
¶|{{Item|%PAGE%}} | |||
¶| | |||
,, | |||
¶|} | |||
--> | |||
<!-- | |||
{| class="wikitable" | |||
!Equipment | |||
!Stats | |||
|- | |||
|{{Item|%PAGE%1}} | |||
|stats 1 | |||
|- | |||
|{{Item|%PAGE%2}} | |||
|stats 2 | |||
|} | |||
--> | --> | ||
<hr> | <hr> | ||
<dpl> | |||
uses =Template:ITEM infobox | |||
category =Items/Armor | |||
titlematch =Yeti % | |||
include ={ITEM infobox}:name:basemods | |||
table =,Name,Icon,Stats | |||
</dpl> | |||
<hr> | |||
<dpl> | <dpl> | ||
| Line 26: | Line 122: | ||
titlematch =Yeti % | titlematch =Yeti % | ||
include = | include = | ||
format =, {{Item|%PAGE%}} , | format =,{{Item|%PAGE%}}, | ||
</dpl> | </dpl> | ||
<hr> | |||
Comma syntax (as used in dpl param <code>format</code>): <code>''Startall'',''Start'',''End'',''Endall''</code> | |||
''Startall'', ''Start'', ''End'' and ''Endall'' are wiki tags used to separate the list items. | |||
* ''Startall'' and ''Endall'' define an outer frame for the whole list. | |||
* ''Start'' and ''End'' build an inner frame for each article item. | |||
<hr> | |||
{| class="wikitable" | |||
|- | |||
! DPL escape character !! Mediawiki character!! Typical use | |||
|- | |||
| align=center | <code>'''»'''</code> || align=center | > || rowspan=2 | Call another MediaWiki extension into a parameter of a DPL call | |||
|- | |||
| align=center | <code>'''«'''</code> || align=center | < | |||
|- | |||
| align=center | <code>'''²{'''</code> || align=center | <nowiki>{{</nowiki> || rowspan=3 | Call a template within the 'article loop' of DPL. This is especially useful for nesting DPL calls (''DPL recursion'') | |||
|- | |||
| align=center | <code>'''}²'''</code> || align=center | <nowiki>}}</nowiki> | |||
|- | |||
| align=center | <code>'''¦'''</code> || align=center | <nowiki>|</nowiki> | |||
|- | |||
| align=center | <code>'''¶'''</code> || align=center | newline || rowspan=2 | Inserts a line break into DPL's wikitext output, to allow proper parsing of first-character syntax (such as <code>* # : ;</code>) | |||
|- | |||
| align=center | <code>'''\n'''</code> || align=center | newline | |||
|} | |||
Latest revision as of 17:01, 7 May 2026
| Equipment | Total Bonus | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| http://cdn.projectgorgon.com/v456/icons/icon_.png | Error: Item not found }} [[Expression error: Unrecognized punctuation character "{".]] |
http://cdn.projectgorgon.com/v456/icons/icon_.png | Error: Item not found }} [[Expression error: Unrecognized punctuation character "{".]] |
http://cdn.projectgorgon.com/v456/icons/icon_.png | Error: Item not found }} [[Expression error: Unrecognized punctuation character "{".]] |
http://cdn.projectgorgon.com/v456/icons/icon_.png | Error: Item not found }} [[Expression error: Unrecognized punctuation character "{".]] |
http://cdn.projectgorgon.com/v456/icons/icon_.png | Error: Item not found }} [[Expression error: Unrecognized punctuation character "{".]] |
{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_101.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Max Armor| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }}+198 {{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_105.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Health from Combat Refresh Abilities| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }}+128 {{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_105.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Armor from Combat Refresh Abilities| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }}+16 {{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_105.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Power from Combat Refresh Abilities| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }}+114 |
{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_103.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Max Power| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }}+5 {{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_106.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Cold Damage Reduction| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }}+5 {{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_108.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Max Body Heat Points (In Cold Environments)| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }}+20 {{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_106.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Indirect Damage Reduction| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }}+2 | |
<dpl>
uses =Template:ITEM infobox
category =Items/Armor
titlematch =Yeti %
include ={ITEM infobox}:basemods
format ={| class=" table"¶!Equipment¶!Stats,¶|-¶|
| http://cdn.projectgorgon.com/v456/icons/icon_.png
| Error: Item not found }}¶|,,¶|-align=center¶|TOTALS¶|¶{|¶|-¶|
{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_101.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Max Armor| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |
Error: Attribute not found }}
{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_105.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Health from Combat Refresh Abilities| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |
Error: Attribute not found }}
{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_105.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Armor from Combat Refresh Abilities| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |
Error: Attribute not found }}
{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_105.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Power from Combat Refresh Abilities| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |
Error: Attribute not found }}«br»
{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_103.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Max Power| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |
Error: Attribute not found }}
{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_106.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Cold Damage Reduction| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |
Error: Attribute not found }}
{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_108.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Max Body Heat Points (In Cold Environments)| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |
Error: Attribute not found }}
{{ #replace: http://cdn.projectgorgon.com/v461/icons/icon_106.png | http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }} {{ #replace:Indirect Damage Reduction| http://cdn.projectgorgon.com/v461/icons/icon_Error: Attribute not found.png |
Error: Attribute not found }}¶|}¶|}
</dpl>
<dpl>
uses =Template:ITEM infobox
category =Items/Armor
titlematch =Yeti %
include ={ITEM infobox}:basemods
format ={| class=" table"¶!Equipment¶!Stats,¶|-¶|
| http://cdn.projectgorgon.com/v456/icons/icon_.png
| Error: Item not found }}¶|,,¶|}
</dpl>
<dpl>
uses =Template:ITEM infobox
category =Items/Armor
titlematch =Yeti %
include ={ITEM infobox}:name:basemods
table =,Name,Icon,Stats
</dpl>
<dpl>
category =Items/Armor
titlematch =Yeti %
include =
format =,
| http://cdn.projectgorgon.com/v456/icons/icon_.png
| Error: Item not found }},
</dpl>
Comma syntax (as used in dpl param format): Startall,Start,End,Endall
Startall, Start, End and Endall are wiki tags used to separate the list items.
- Startall and Endall define an outer frame for the whole list.
- Start and End build an inner frame for each article item.
| DPL escape character | Mediawiki character | Typical use |
|---|---|---|
» |
> | Call another MediaWiki extension into a parameter of a DPL call |
« |
< | |
²{ |
{{ | Call a template within the 'article loop' of DPL. This is especially useful for nesting DPL calls (DPL recursion) |
}² |
}} | |
¦ |
| | |
¶ |
newline | Inserts a line break into DPL's wikitext output, to allow proper parsing of first-character syntax (such as * # : ;)
|
\n |
newline |