Difference between revisions of "Template:OPTableItem"

From EncyclopAtys

Jump to: navigation, search
m
m
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span id="Install"></span>
+
<includeonly>
|-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""
+
|-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="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 6: 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>}}</includeonly><!--
+
|  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>[[Category: Formatting templates|OPTableItem]]
+
--><noinclude>
==Test==
+
==Description==
<span id="Install"></span>
+
A template used to format the OP registry's rows. Used in conjunction with [[Template:OPTableSubHeading]].
|-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}}}]]
+
===Usage===
|  width="17%" style="border:1px dashed #72a090;color:#000" | [[{{{Region}}}]]
+
<pre>
|  width="12%" style="border:1px dashed #72a090;color:#000" | {{{Q}}}
+
{{OPTableItem | OP= | Region=| Q= | Mat=<OP mat type> | Flower=<Flower type> | Guild= | faction=}}
|  width="12%" style="border:1px dashed #72a090;color:#000" | [[Outpost Produce#{{{Mat}}}|{{{Mat}}}]]
+
</pre>
|  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>}}
 
  
==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}}}