Difference between revisions of "Template:OPTableItem"
From EncyclopAtys
m |
m |
||
(28 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | <includeonly> | ||
+ | |-cellpadding="5" cellspacing="5" style="vertical-align:middle; background-color:#{{#switch: {{lc: {{{faction}}}}} | kami = FFCC66 | kara | karavan = 99FFFF | neut | neutral = 99FF99 | #default = F5FFFF}};" | ||
+ | | width="25%" style="border:1px dashed #72a090;color:#000" | [[{{{OP}}}]] | ||
+ | | width="17%" style="border:1px dashed #72a090;color:#000" | [[{{{Region}}}]] | ||
+ | | width="12%" style="border:1px dashed #72a090;color:#000" | {{{Q}}} | ||
+ | | width="12%" style="border:1px dashed #72a090;color:#000" | [[Outpost Produce#{{{Mat}}}|{{{Mat}}}]] | ||
+ | | width="12%" style="border:1px dashed #72a090;color:#000" | {{{Flower}}} | ||
+ | | width="20%" style="border:1px dashed #72a090;color:#000" | <div style='float:right;'>{{OPguildIcon|name={{{Guild|}}}|shard=arispotle|size=s|}}</div><div style='margin-top:8px;'> {{{Guild}}}</div></includeonly><!-- | ||
+ | |||
+ | --><noinclude> | ||
+ | ==Description== | ||
+ | A template used to format the OP registry's rows. Used in conjunction with [[Template:OPTableSubHeading]]. | ||
+ | |||
+ | ===Usage=== | ||
+ | <pre> | ||
+ | {{OPTableItem | OP= | Region=| Q= | Mat=<OP mat type> | Flower=<Flower type> | Guild= | faction=}} | ||
+ | </pre> | ||
+ | |||
+ | ==Original Code== | ||
<span id="Install"></span> | <span id="Install"></span> | ||
{|style="vertical-align:top;border="0" width="100%" cellpadding="5" cellspacing="5" class="MainPageBG" | {|style="vertical-align:top;border="0" width="100%" cellpadding="5" cellspacing="5" class="MainPageBG" | ||
Line 6: | Line 25: | ||
| width="12%" style="border:1px dashed #72a090;{{#if: {{{Kami|}}} | background-color:#ffcc66}};{{#if: {{{Kara|}}} | background-color:#99ffff}};{{#if: {{{Karavan|}}} | background-color:#99ffff}};{{#if: {{{Neutral|}}} | background-color:#99ff99}};{{#if: {{{Unknown|}}} | background-color:#f5ffff}};color:#000" | [[Outpost Produce#{{{Mat}}}|{{{Mat}}}]] | | width="12%" style="border:1px dashed #72a090;{{#if: {{{Kami|}}} | background-color:#ffcc66}};{{#if: {{{Kara|}}} | background-color:#99ffff}};{{#if: {{{Karavan|}}} | background-color:#99ffff}};{{#if: {{{Neutral|}}} | background-color:#99ff99}};{{#if: {{{Unknown|}}} | background-color:#f5ffff}};color:#000" | [[Outpost Produce#{{{Mat}}}|{{{Mat}}}]] | ||
| width="12%" style="border:1px dashed #72a090;{{#if: {{{Kami|}}} | background-color:#ffcc66}};{{#if: {{{Kara|}}} | background-color:#99ffff}};{{#if: {{{Karavan|}}} | background-color:#99ffff}};{{#if: {{{Neutral|}}} | background-color:#99ff99}};{{#if: {{{Unknown|}}} | background-color:#f5ffff}};color:#000" | {{{Flower}}} | | width="12%" style="border:1px dashed #72a090;{{#if: {{{Kami|}}} | background-color:#ffcc66}};{{#if: {{{Kara|}}} | background-color:#99ffff}};{{#if: {{{Karavan|}}} | background-color:#99ffff}};{{#if: {{{Neutral|}}} | background-color:#99ff99}};{{#if: {{{Unknown|}}} | background-color:#f5ffff}};color:#000" | {{{Flower}}} | ||
− | | width="20%" style="border:1px dashed #72a090;{{#if: {{{Kami|}}} | background-color:#ffcc66}};{{#if: {{{Kara|}}} | background-color:#99ffff}};{{#if: {{{Karavan|}}} | background-color:#99ffff}};{{#if: {{{Neutral|}}} | background-color:#99ff99}};{{#if: {{{Unknown|}}} | background-color:#f5ffff}};color:#000" | {{#if: {{{image|}}} | {{APIguildIcon|icon={{{image|}}}|size= | + | | width="20%" style="border:1px dashed #72a090;{{#if: {{{Kami|}}} | background-color:#ffcc66}};{{#if: {{{Kara|}}} | background-color:#99ffff}};{{#if: {{{Karavan|}}} | background-color:#99ffff}};{{#if: {{{Neutral|}}} | background-color:#99ff99}};{{#if: {{{Unknown|}}} | background-color:#f5ffff}};color:#000" | {{#if: {{{image|}}} | <div style='float:left;'>{{APIguildIcon|icon={{{image|}}}|size=s|}}</div><div style='margin-top:8px;'> }}{{{Guild}}}{{#if: {{{image|}}} |</div>}} |
− | |}<noinclude>[[Category: Formatting templates|OPTableItem]]</noinclude> | + | |}<noinclude>[[Category: Formatting templates|OPTableItem]] |
+ | |||
+ | </noinclude> |
Latest revision as of 22:33, 16 February 2010
Description
A template used to format the OP registry's rows. Used in conjunction with Template:OPTableSubHeading.
Usage
{{OPTableItem | OP= | Region=| Q= | Mat=<OP mat type> | Flower=<Flower type> | Guild= | faction=}}
Original Code
[[{{{OP}}}]] | [[{{{Region}}}]] | {{{Q}}} | [[Outpost Produce#{{{Mat}}}|{{{Mat}}}]] | {{{Flower}}} | {{{Guild}}} |