Template:Candidate
From NovaRoma
(Difference between revisions)
m (a little more doc and make subpage the simple way) |
m (use nophoto image when no candidate) |
||
Line 1: | Line 1: | ||
<includeonly>{|class="citizenbox" cellspacing=0 border=0 style="float:{{{float|left}}};margin-left: 4px; margin-right:4px; border:3px solid #300040;width:240px; height:240px" | <includeonly>{|class="citizenbox" cellspacing=0 border=0 style="float:{{{float|left}}};margin-left: 4px; margin-right:4px; border:3px solid #300040;width:240px; height:240px" | ||
|-|valign="top" height=152 | |-|valign="top" height=152 | ||
− | |align="center" height=152|{{#if: {{{1}}}|{{#switch:{{lc:{{{2}}} }}| nophoto=[[Image:Unknown_Citizen.jpg]]|[[Image:CIV-{{{1}}}.jpg]]}}|}} | + | |align="center" height=152|{{#if: {{{1}}}|{{#switch:{{lc:{{{2}}} }}| nophoto=[[Image:Unknown_Citizen.jpg]]|[[Image:CIV-{{{1}}}.jpg]]}}|[[Image:Unknown_Citizen.jpg]]}} |
|- | |- | ||
|align="center" |{{#if: {{{1}}}|'''[[{{{1}}} (Nova Roma)|{{{1}}}]]'''|}} | |align="center" |{{#if: {{{1}}}|'''[[{{{1}}} (Nova Roma)|{{{1}}}]]'''|}} |
Revision as of 03:40, 5 December 2007
USAGE
{{Candidate|Full Roman name|nophoto}}
Notes:
- Full Roman name: no "(Nova Roma)" tag.
- nophoto: include this if there is no photo available.
Use {{Candidate|Full Roman name}} if a photo is available.
This template puts the candidate statements in subpages.