User:Donni Iris/Sandbox/DPL Equipment: Difference between revisions
Jump to navigation
Jump to search
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 | |
|---|---|---|
+198 +128 +16 +114 |
+5 +5 +20 +2 | |
| Equipment | Stats | |
|---|---|---|
+49 +8 +9 +9 +9 | ||
+40 +1 +40 +35 | ||
+52 +1 +48 +42 | ||
+46 +2 +10 +9 +9 +9 | ||
+18 +3 +10 +24 +21 | ||
| TOTALS |
|
| Equipment | Stats |
|---|---|
+49 +8 +9 +9 +9 | |
+40 +1 +40 +35 | |
+52 +1 +48 +42 | |
+46 +2 +10 +9 +9 +9 | |
+18 +3 +10 +24 +21 |
| Name | Icon | Stats |
|---|---|---|
| Yeti Stockings | Yeti Stockings | +49 +8 +9 +9 +9 |
| Yeti Leggings | Yeti Leggings | +40 +1 +40 +35 |
| Yeti Jacket | Yeti Jacket | +52 +1 +48 +42 |
| Yeti Gloves | Yeti Gloves | +46 +2 +10 +9 +9 +9 |
| Yeti Mask | Yeti Mask | +18 +3 +10 +24 +21 |
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 |