Template:CandidateBox

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
m (smaller)
(add toggle for nophoto condition)
Line 1: Line 1:
{|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|[[Image:CIV-{{{2}}}.jpg]]
+
|align="center" height=152|{{#switch:{{lc:{{{3}}}}}|nophoto|[[Image:Unknown_Citizen.jpg]]|[[Image:CIV-{{{2}}}.jpg]]}}
 
|-
 
|-
 
|align="center" |'''[[{{{2}}} (Nova Roma)|{{{2}}}]]'''
 
|align="center" |'''[[{{{2}}} (Nova Roma)|{{{2}}}]]'''
 
|-
 
|-
 
|align="center"|[[{{{2}}} (Election {{{1}}})|Statement...]]
 
|align="center"|[[{{{2}}} (Election {{{1}}})|Statement...]]
|}
+
|}</includeonly><noinclude>
 +
 
 +
'''USAGE'''
 +
 
 +
<nowiki>{{CandidateBox|YEAR AUC|Full Roman name|nophoto}}</nowiki>
 +
 
 +
Notes:
 +
 
 +
*YEAR AUC: in Roman numerals, do not include "AUC" (2007CE is MMDCCLX AUC).
 +
*Full Roman name: no NR tag.
 +
*nophoto: include this if there is no photo available.
 +
 
 +
</noinclude>

Revision as of 09:42, 16 October 2007


USAGE

{{CandidateBox|YEAR AUC|Full Roman name|nophoto}}

Notes:

  • YEAR AUC: in Roman numerals, do not include "AUC" (2007CE is MMDCCLX AUC).
  • Full Roman name: no NR tag.
  • nophoto: include this if there is no photo available.


Personal tools