Difference between revisions of "Template:OPTableItem"

From EncyclopAtys

Jump to: navigation, search
m
m
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
|-style="background-color:#{{#switch: {{lc: {{{align}}}}} | kami = FFCC66 | kara | karavan = 99FFFF | neut | neutral = 99FF99 | #default = F5FFFF}};" width="100%"  vertical-align:top;border="0""
+
|-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%" cellpadding="5" cellspacing="5" style="border:1px dashed #72a090;color:#000" | [[{{{OP}}}]]
 
|  width="17%" cellpadding="5" cellspacing="5" style="border:1px dashed #72a090;color:#000" | [[{{{Region}}}]]
 
|  width="12%" cellpadding="5" cellspacing="5" style="border:1px dashed #72a090;color:#000" | {{{Q}}}
 
|  width="12%" cellpadding="5" cellspacing="5" style="border:1px dashed #72a090;color:#000" | [[Outpost Produce#{{{Mat}}}|{{{Mat}}}]]
 
|  width="12%" cellpadding="5" cellspacing="5" style="border:1px dashed #72a090;color:#000" | {{{Flower}}}
 
|  width="20%" cellpadding="5" cellspacing="5" style="border:1px dashed #72a090;color:#000" | {{#if: {{{image|}}} | <div style='float:right;'>{{APIguildIcon|icon={{{image|}}}|size=s|}}</div><div style='margin-top:8px;'>&nbsp;}}{{{Guild}}}{{#if: {{{image|}}} |</div>}}</includeonly><!--
 
 
 
--><noinclude>[[Category: Formatting templates|OPTableItem]]
 
==Test==
 
<span id="Install"></span>
 
|-style="background-color:#{{#swith: {{lc: {{{align}}}}} | kami = FFCC66 | kara = 99FFFF | neut = 99FF99 | #default = F5FFFF}}; width="100%" cellpadding="5" cellspacing="5" vertical-align:top;border="0""
 
 
|  width="25%" style="border:1px dashed #72a090;color:#000" | [[{{{OP}}}]]
 
|  width="25%" style="border:1px dashed #72a090;color:#000" | [[{{{OP}}}]]
 
|  width="17%" style="border:1px dashed #72a090;color:#000" | [[{{{Region}}}]]
 
|  width="17%" style="border:1px dashed #72a090;color:#000" | [[{{{Region}}}]]
Line 17: Line 6:
 
|  width="12%" style="border:1px dashed #72a090;color:#000" | [[Outpost Produce#{{{Mat}}}|{{{Mat}}}]]
 
|  width="12%" style="border:1px dashed #72a090;color:#000" | [[Outpost Produce#{{{Mat}}}|{{{Mat}}}]]
 
|  width="12%" style="border:1px dashed #72a090;color:#000" | {{{Flower}}}
 
|  width="12%" style="border:1px dashed #72a090;color:#000" | {{{Flower}}}
|  width="20%" style="border:1px dashed #72a090;color:#000" | {{#if: {{{image|}}} | <div style='float:right;'>{{APIguildIcon|icon={{{image|}}}|size=s|}}</div><div style='margin-top:8px;'>&nbsp;}}{{{Guild}}}{{#if: {{{image|}}} |</div>}}
+
|  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;'>&nbsp;{{{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==
+
==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"

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}}}