Template:CandidateBox

From NovaRoma
(Difference between revisions)
Jump to: navigation, search
m (better syntax)
m (make stuff disappear when no name is entered)
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|{{#switch:{{lc:{{{3}}} }}| nophoto=[[Image:Unknown_Citizen.jpg]]|[[Image:CIV-{{{2}}}.jpg]]}}
+
|align="center" height=152|{{#if: {{{2}}}|{{#switch:{{lc:{{{3}}} }}| nophoto=[[Image:Unknown_Citizen.jpg]]|[[Image:CIV-{{{2}}}.jpg]]}}|}}
 
|-
 
|-
|align="center" |'''[[{{{2}}} (Nova Roma)|{{{2}}}]]'''
+
|align="center" |{{#if: {{{2}}}|'''[[{{{2}}} (Nova Roma)|{{{2}}}]]'''|}}
 
|-
 
|-
|align="center"|[[{{{2}}} (Election {{{1}}})|Statement...]]
+
|align="center"|{{#if: {{{2}}}|[[{{{2}}} (Election {{{1}}})|Statement...]]|}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
  

Revision as of 10:03, 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