Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:ISalvage.dpl"

From Paragon Wiki Archive
Jump to: navigation, search
(Added single-level support.)
(attempting to make the level range vanish if not in use)
Line 1: Line 1:
<noinclude>Nothing to see here... just testing something out in Template space since DPL doesn't play nice with it in User space.</noinclude>{{#ifeq: {{{1}}} Salvage|{{PAGENAME}}|for {{#if: {{{4|}}}|level {{{4}}}|levels {{{3}}}}}{{#ifexpr: ({{{2}}})!=1|&#32;({{{2}}} needed)}}|}}
+
<noinclude>This is used by the children templates of {{tl|SalvageList}}.</noinclude>{{#ifeq: {{{1}}} Salvage|{{PAGENAME}}
 +
|for
 +
  {{#if: {{{3|}}}
 +
  |
 +
    {{#if: {{{4|}}}
 +
    |level {{{4}}}
 +
    |levels {{{3}}}
 +
    }}
 +
  }}{{#ifexpr: ({{{2}}})!=1
 +
  |&nbsp;({{{2}}} needed)
 +
  }}
 +
|}}

Revision as of 11:59, 29 January 2009

This is used by the children templates of {{SalvageList}}.