Template:ISalvage.dpl: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Lin Chiao Feng (historical)
(Added single-level support.)
imported>Sekoia (historical)
(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}}.