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:RollRow"

From Paragon Wiki Archive
Jump to: navigation, search
m (argghhhhhh)
(attempting to fix the #if: usage)
Line 1: Line 1:
 
{{!}}-
 
{{!}}-
{{!}} {{#if {{{lcol|}}}colspan={{{lcol}}} {{!}} &nbsp; {{!}}{{!}} }}colspan={{{mcol}}} style="background:#{{{bg}}};" {{!}} [[File:IO {{{name}}}.png|20px]] [[{{{name}}}]] {{{enh}}}{{#if {{{rcol|}}}{{!}}{{!}} colspan={{{rcol}}} {{!}} &nbsp;}}<noinclude>
+
{{#if: {{{lcol|}}} |{{!}} colspan={{{lcol}}} {{!}} &nbsp; {{!}}}}{{!}} colspan={{{mcol}}} style="background:#{{{bg}}};" {{!}} [[File:IO {{{name}}}.png|20px]] [[{{{name}}}]] {{{enh}}} {{#if: {{{rcol|}}}|{{!}}{{!}} colspan={{{rcol}}} {{!}} &nbsp;}}
 +
<noinclude>
 
==Usage==
 
==Usage==
 
To be used on the random recipe roll pages: [[Random Rare Recipe Roll]], [[Silver Class Recipe Roll]], [[Bronze Class Recipe Roll]]
 
To be used on the random recipe roll pages: [[Random Rare Recipe Roll]], [[Silver Class Recipe Roll]], [[Bronze Class Recipe Roll]]

Revision as of 17:58, 30 June 2009

|- | colspan={{{mcol}}} style="background:#{{{bg}}};" | [[File:IO {{{name}}}.png|20px]] [[{{{name}}}]] {{{enh}}}

Usage

To be used on the random recipe roll pages: Random Rare Recipe Roll, Silver Class Recipe Roll, Bronze Class Recipe Roll

Parameters

  • lcol = how many columns the space to the left is (row starts at far left (level 10) if left out)
  • mcol = how many columns the colored middle space is
  • bg = color of the middle background (use D9E4FF for a "default")
  • name = name of the IO set
  • enh = enhancement within the set (abbreviate)
  • rcol = how many columns the space to the right is (row extends to far right (level 50) if left out)

Example

10-14
73 recipes
15-19
94 recipes
20-24
172 recipes
25-29
175 recipes
30-34
206 recipes
35-39
147 recipes
40-45
139 recipes
46-50
119 recipes
  IO Kinetic Combat.png Kinetic Combat Dam/End