Difference between revisions of "Template:FanPerson/Row"

From LGPedia
Jump to: navigation, search
m
m
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{{+}}
{{{!}} width="100%" cellspacing="0" style="background:transparent;"
+
{{#if: {{{caption|}}}|
{{+}}
+
!{{{caption}}} |}}
{{!}}{{#ifeq:{{{border}}}|off||style="border-top:1px solid #535353;"}}{{!}}{{{caption}}}
+
{{!}}{{#if: {{{caption|}}}||colspan="2" align="center"{{!}}}}{{{text}}}</includeonly><noinclude>
{{!}}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
 
|caption = [your caption here]
 
|caption = [your caption here]
 
|text = [your text here]
 
|text = [your text here]
|border = off
 
 
}}</pre>
 
}}</pre>
<code>border=off</code> is optional, it can be used to turn off the top-border for the first row.
+
[[Category: Template subpage]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:09, 16 March 2009

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

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