Difference between revisions of "Template:LevelChart"
From Paragon Wiki Archive
(adding some logic that will (hopefully) make the template automatically vary the color for odd/even rows without needing bg=) |
(flipping gray/white pattern now that the header row is gray; removing unused bg= option since it just makes the template unnecessarily complex) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{| Border=1 style="text-align:center" | + | <noinclude><!-- |
− | !Level || New Powers || Primary Power Available || Secondary Power Available || Pool Power Available || Additional Slots || Additional Inspirations || Invention Salvage Slots || Recipe Slots || Consignment House Transaction Slots || Off-character Storage Slots || Other | + | +++ TABLE CODE TO ILLUSTRATE PURPOSE -->{| Border=1 style="text-align:center" |
− | </noinclude>|- | + | !Level || New Powers || Primary Power Available || Secondary Power Available || Pool Power Available || Additional Slots || Additional Inspirations || Invention Salvage Slots || Recipe Slots || Consignment House Transaction Slots || Off-character Storage Slots || Other<!-- |
− | || '''{{{lvl}}}''' || {{{new| }}} || {{{pri| }}} || {{{sec| }}} || {{{pool| }}} || {{{enh| }}} || {{{insp| }}} || {{{salvage| }}} || {{{recipe| }}} || {{{transact| }}} || {{{storage| }}} || {{{other| }}}<noinclude> | + | +++ BEGIN ACTUAL TEMPLATE --> |
− | {{LevelChart | lvl=1 | new=1st & 2nd | pri=1st & 2nd | sec=1st | + | </noinclude>|- style="background-color: {{#ifeq: 0 | {{#expr: {{{lvl}}} mod 2 }} | <nowiki>#</nowiki>f0f0f0 | white }}" |
− | {{LevelChart | lvl=2 | new=3rd | pri=3rd | sec=2nd | + | || '''{{{lvl}}}''' || {{{new| }}} || {{{pri| }}} || {{{sec| }}} || {{{pool| }}} || {{{enh| }}} || {{{insp| }}} || {{{salvage| }}} || {{{recipe| }}} || {{{transact| }}} || {{{storage| }}} || {{{other| }}}<noinclude><!-- |
− | |} | + | +++ END TEMPLATE --> |
− | + | {{LevelChart | lvl=1 | new=1st & 2nd | pri=1st & 2nd | sec=1st | insp=3 | salvage=3 | recipe=1 | transact=1 | storage=3 | other=Brawl, Sprint, Origin Inherent Power<br />No [[debt]] for defeat }} | |
− | + | {{LevelChart | lvl=2 | new=3rd | pri=3rd | sec=2nd | insp=1 | salvage=4 | transact=2 | storage=4 | other=Rest }} | |
− | + | |}<!-- | |
− | + | +++ END TABLE CODE --> | |
− | + | {{documentation}} | |
− | + | </noinclude> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 05:28, 3 December 2011
Level | New Powers | Primary Power Available | Secondary Power Available | Pool Power Available | Additional Slots | Additional Inspirations | Invention Salvage Slots | Recipe Slots | Consignment House Transaction Slots | Off-character Storage Slots | Other |
---|---|---|---|---|---|---|---|---|---|---|---|
{{{lvl}}} | |||||||||||
1 | 1st & 2nd | 1st & 2nd | 1st | 3 | 3 | 1 | 1 | 3 | Brawl, Sprint, Origin Inherent Power No debt for defeat | ||
2 | 3rd | 3rd | 2nd | 1 | 4 | 2 | 4 | Rest |
[edit] [ ] Documentation
Usage
- Leveling Chart
- lvl (required)
- new (optional, new powers available, both sets)
- pri (optional, new powers available, primary set)
- sec (optional, new powers available, secondary set)
- pool (optional, new powers available, Pool powersets)
- enh (optional, enhancement slots available)
- insp (optional, inspiration slots available)
- salvage (optional, invention salvage slots available (not related to base salvage))
- recipe (optional, recipe slots available)
- transact (optional, consignment house transaction slots available)
- storage (optional, off-character storage slots)
- other (all other changes as characters level up that don't fit into the items above)