Template:Infobox Candidate: Difference between revisions

From Cvillepedia
Jump to navigation Jump to search
(adding support for OFFICE4 in template)
(updating for universal vpap functionality)
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
{{#if:{{{office1|}}} |<nowiki/>
{{#if:{{{office1|}}} |<nowiki/>
{{!}}-
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/><div style="background:lavender; font-weight:bold;"> {{{office1|}}}
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/><div style="background:lavender; font-weight:bold;"> {{{office1|}}}</div>
{{!!}} }}
{{!!}} }}
{{!}}-
{{!}}-
</div>
{{#if:{{{district1|}}} |<nowiki/>
{{#if:{{{district1|}}} |<nowiki/>
{{!}}-
{{!}}-
Line 52: Line 51:
{{#if:{{{office2|}}} |<nowiki/>
{{#if:{{{office2|}}} |<nowiki/>
{{!}}-
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/><div style="background:lavender; font-weight:bold;"> {{{office2|}}}
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/><div style="background:lavender; font-weight:bold;"> {{{office2|}}}</div>
{{!!}} }}
{{!!}} }}
</div>
{{!}}-
{{!}}-
{{#if:{{{district2|}}} |<nowiki/>
{{#if:{{{district2|}}} |<nowiki/>
Line 84: Line 82:
{{#if:{{{office3|}}} |<nowiki/>
{{#if:{{{office3|}}} |<nowiki/>
{{!}}-
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/><div style="background:lavender; font-weight:bold;"> {{{office3|}}}
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/><div style="background:lavender; font-weight:bold;"> {{{office3|}}}</div>
{{!!}} }}
{{!!}} }}
</div>
{{!}}-
{{!}}-
{{#if:{{{district3|}}} |<nowiki/>
{{#if:{{{district3|}}} |<nowiki/>
Line 116: Line 113:
{{#if:{{{office4|}}} |<nowiki/>
{{#if:{{{office4|}}} |<nowiki/>
{{!}}-
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/><div style="background:lavender; font-weight:bold;"> {{{office4|}}}
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/><div style="background:lavender; font-weight:bold;"> {{{office4|}}}</div>
{{!!}} }}
{{!!}} }}
</div>
{{!}}-
{{!}}-
{{#if:{{{district4|}}} |<nowiki/>
{{#if:{{{district4|}}} |<nowiki/>
Line 147: Line 143:
<!----------Biographical---------->
<!----------Biographical---------->
{{!}}-
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/><div style="background:lavender; font-weight:bold;"> Biographical Information  
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/><div style="background:lavender; font-weight:bold;"> Biographical Information</div>
{{!!}}
{{!!}}
</div>
{{!}}-
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/>
{{!}} colspan="2" style="text-align:center;" {{!}} <hr/>
Line 208: Line 203:
{{!!}} }}
{{!!}} }}
{{!}}-
{{!}}-
{{#if:{{{vpapid|}}} |
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Campaign $''' {{!!}}  [http://www.vpap.org/candidates/profile/home/{{{vpapid|}}} VPAP]
{{!!}}
{{!}}-
{{!}}-
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Contributions $''' {{!!}}  [http://www.vpap.org/donors/profile/index/{{{vpapid|}}} VPAP]
{{!!}}
|{{!}}-
{{#if:{{{vpap|}}} |<nowiki/>
{{#if:{{{vpap|}}} |<nowiki/>
{{!}}-
{{!}}-
Line 217: Line 221:
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Contributions $''' {{!!}}  {{{vpap_donations|}}}
{{!}} style="font-size:90%; text-align:right; padding-right:0.75em;" {{!}}'''Contributions $''' {{!!}}  {{{vpap_donations|}}}
{{!!}} }}
{{!!}} }}
{{!}}-
{{!}}- }}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
</noinclude>
</noinclude>

Latest revision as of 11:47, 26 May 2011