Template:RollRow: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis (historical)
m (more examples)
imported>Sekoia (historical)
(making mcol= optional)
Line 1: Line 1:
{{!}}-
{{!}}-
{{#if: {{{lcol|}}} |{{!}} colspan={{{lcol}}} {{!}}   {{!}}}}{{!}} colspan={{{mcol}}} style="background:#{{{bg}}};" {{!}} [[File:IO {{{name}}}.png|20px]] [[{{{name}}}]] {{{enh}}} {{#if: {{{rcol|}}}|{{!}}{{!}} colspan={{{rcol}}} {{!}}  }}
{{#if: {{{lcol|}}} |{{!}} colspan={{{lcol}}} {{!}}   {{!}}}}{{!}} colspan={{#if:{{{mcol|}}}|{{{mcol}}}|{{#expr: 8 - {{{lcol|0}}} - {{{rcol|0}}}}}}} style="background:#{{{bg}}};" {{!}} [[File:IO {{{name}}}.png|20px]] [[{{{name}}}]] {{{enh}}} {{#if: {{{rcol|}}}|{{!}}{{!}} colspan={{{rcol}}} {{!}}  }}
<noinclude>
<noinclude>
==Usage==
==Usage==
Line 14: Line 14:


==Example==
==Example==
:<nowiki>{{</nowiki>RollRow|lcol=2|bg=D9E4FF|name=Kinetic Combat|enh=Dam/End|rcol=2}} --- '''Define all columns''' (starts and ends at set points)
:<nowiki>{{</nowiki>RollRow|lcol=2|mcol=4|bg=D9E4FF|name=Kinetic Combat|enh=Dam/End|rcol=2}} --- '''Define all columns''' (starts and ends at set points)
:<nowiki>{{</nowiki>RollRow|lcol=2|mcol=4|bg=D9E4FF|name=Kinetic Combat|enh=Dam/End|rcol=2}} --- '''Define all columns''' (starts and ends at set points)
:<nowiki>{{</nowiki>RollRow|mcol=3|bg=EEEE22|name=Annoyance|enh=Taunt|rcol=5}} --- '''Define middle and right columns''' (starts at 10, ends at set point)
:<nowiki>{{</nowiki>RollRow|mcol=3|bg=EEEE22|name=Annoyance|enh=Taunt|rcol=5}} --- '''Define middle and right columns''' (starts at 10, ends at set point)
Line 21: Line 22:
{| align="center" class="wikitable" width="80%"
{| align="center" class="wikitable" width="80%"
! width="13%" | 10-14 <br /> 73 recipes!! width="12%" | 15-19 <br />94 recipes !! width="12%" | 20-24 <br />172 recipes !! width="12%" | 25-29 <br /> 175 recipes!! width="12%" | 30-34 <br /> 206 recipes!! width="13%" | 35-39 <br /> 147 recipes!! width="13%" | 40-45 <br /> 139 recipes!! width="13%" |46-50 <br /> 119 recipes
! width="13%" | 10-14 <br /> 73 recipes!! width="12%" | 15-19 <br />94 recipes !! width="12%" | 20-24 <br />172 recipes !! width="12%" | 25-29 <br /> 175 recipes!! width="12%" | 30-34 <br /> 206 recipes!! width="13%" | 35-39 <br /> 147 recipes!! width="13%" | 40-45 <br /> 139 recipes!! width="13%" |46-50 <br /> 119 recipes
{{RollRow|lcol=2|bg=D9E4FF|name=Kinetic Combat|enh=Dam/End|rcol=2}}
{{RollRow|lcol=2|mcol=4|bg=D9E4FF|name=Kinetic Combat|enh=Dam/End|rcol=2}}
{{RollRow|lcol=2|mcol=4|bg=D9E4FF|name=Kinetic Combat|enh=Dam/End|rcol=2}}
{{RollRow|mcol=3|bg=EEEE22|name=Annoyance|enh=Taunt|rcol=5}}
{{RollRow|mcol=3|bg=EEEE22|name=Annoyance|enh=Taunt|rcol=5}}

Revision as of 18:43, 30 June 2009

|- | colspan=8 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

{{RollRow|lcol=2|bg=D9E4FF|name=Kinetic Combat|enh=Dam/End|rcol=2}} --- Define all columns (starts and ends at set points)
{{RollRow|lcol=2|mcol=4|bg=D9E4FF|name=Kinetic Combat|enh=Dam/End|rcol=2}} --- Define all columns (starts and ends at set points)
{{RollRow|mcol=3|bg=EEEE22|name=Annoyance|enh=Taunt|rcol=5}} --- Define middle and right columns (starts at 10, ends at set point)
{{RollRow|lcol=5|mcol=4|bg=EE6622|name=Sting of the Manticore|enh=Dam/End/Rech}} --- Define left and middle columns (starts at set point, extends to 50)
{{RollRow|mcol=9|bg=2E8B57|name=Blessing of the Zephyr|enh=Run Speed, Jump, Flight Speed, Range}} --- Define only middle column (starts at 10, extends to 50)
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  
  IO Kinetic Combat.png Kinetic Combat Dam/End  
IO Annoyance.png Annoyance Taunt  
  IO Sting of the Manticore.png Sting of the Manticore Dam/End/Rech
IO Blessing of the Zephyr.png Blessing of the Zephyr Run Speed, Jump, Flight Speed, Range
  • NOTE: Colors used here are examples and are not an indication of rarity.