Difference between revisions of "Template:FanPerson/Row"

From LGPedia
Jump to: navigation, search
(testing.)
 
m
Line 1: Line 1:
<includeonly><div style="clear:left;font-size:10px;text-align:center;{{ #ifeq: {{{border}}} | off | | border-top:1px solid #535353; }}">
+
<includeonly>
<div style="width:65px;float:left;text-align:left;">{{{caption}}}</div>
+
{| width="100%" cellspacing="0" style="background:transparent;"
<div style="width:155px;float:left;text-align:right;">{{{text}}}</div>
+
|-
</div></includeonly><noinclude>
+
|{{#ifeq:{{{border}}}|off||style="border-top:1px solid #535353;"}}|{{{caption}}}
 +
|align="right" {{#ifeq:{{{border}}}|off||style="border-top:1px solid #535353;"}}|{{{text}}}
 +
|}
 +
</includeonly><noinclude>
 
This templates generates data rows for use in [[Template:FanPerson]]'s "extra" field. Usage:
 
This templates generates data rows for use in [[Template:FanPerson]]'s "extra" field. Usage:
 
<pre>{{FanPerson/Row
 
<pre>{{FanPerson/Row

Revision as of 21:02, 23 January 2008

This templates generates data rows for use in Template:FanPerson's "extra" field. Usage:

{{FanPerson/Row
|caption = [your caption here]
|text = [your text here]
|border = off
}}

border=off is optional, it can be used to turn off the top-border for the first row.