Difference between revisions of "Template:OPTableItem"

From EncyclopAtys

Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly>
+
<includeonly>cellpadding="5" cellspacing="5" style="vertical-align:middle; background-color:#{{#switch: {{lc: {{{faction}}}}} | kami = FFCC66 | kara | karavan = 99FFFF | neut | neutral = 99FF99 | #default = F5FFFF}};"  
|-cellpadding="5" cellspacing="5" style="vertical-align:middle; background-color:#{{#switch: {{lc: {{{align}}}}} | 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 8: Line 7:
 
|  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" | {{#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]]
+
--><noinclude>
==Test==
+
==Description==
<span id="Install"></span>
+
A template used to format the OP registry's rows.
|-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= | image=}}
|  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"

Revision as of 22:15, 3 February 2010

Description

A template used to format the OP registry's rows.

Usage

{{OPTableItem | OP= | Region=| Q= | Mat=<OP mat type> | Flower=<Flower type> | Guild= | faction= | image=}}

Original Code

[[{{{OP}}}]] [[{{{Region}}}]] {{{Q}}} [[Outpost Produce#{{{Mat}}}|{{{Mat}}}]] {{{Flower}}} {{{Guild}}}