Template:CandidateDeclarationPage
From NovaRoma
(Difference between revisions)
m (null default on param 4 inproves parsing) |
(fix parameter numbering) |
||
Line 10: | Line 10: | ||
| style="font-variant: small-caps" | [[{{{3}}} (Nova Roma)|{{{3}}}]] | | style="font-variant: small-caps" | [[{{{3}}} (Nova Roma)|{{{3}}}]] | ||
|- | |- | ||
− | | {{#switch:{{lc:{{{ | + | | {{#switch:{{lc:{{{5}}} }}| nophoto=[[Image:Unknown_Citizen.jpg]]|[[Image:CIV-{{{2}}}.jpg]]}}<br clear="all"/> |
[[:{{{2}}} (Nova Roma)|{{{2}}}]] | [[:{{{2}}} (Nova Roma)|{{{2}}}]] | ||
{{#if:{{{4|}}}|---- | {{#if:{{{4|}}}|---- | ||
Line 18: | Line 18: | ||
|} | |} | ||
</div><noinclude> | </div><noinclude> | ||
− | Parameters are not named | + | ==Usage== |
− | #Year | + | |
− | #Nomen | + | Parameters are not named, but are entered in this order: |
− | #Office | + | |
− | #Citizen ID# (Album Civium) | + | #Year (required) |
+ | #Nomen (required) | ||
+ | #Office (required) | ||
+ | #Citizen ID# (from Album Civium) (required) | ||
+ | #"nophoto" (optional) | ||
+ | |||
+ | ==Examples== | ||
+ | |||
+ | If a citizen has a photo: | ||
+ | |||
+ | <nowiki>{{CandidateDeclarationPage|MMDCCLX|Gaius Civis Felix|Consul|1234}}</nowiki> | ||
+ | |||
+ | If a citizen doesn't have a photo: | ||
+ | |||
+ | <nowiki>{{CandidateDeclarationPage|MMDCCLX|Gaius Civis Felix|Consul|1234|nophoto}}</nowiki> | ||
+ | |||
</noinclude> | </noinclude> |
Revision as of 23:46, 23 October 2007
ELECTION {{{1}}} |
[[{{{3}}} (Nova Roma)|{{{3}}}]] |
[[Image:CIV-{{{2}}}.jpg]] [[:{{{2}}} (Nova Roma)|{{{2}}}]] [[Election {{{1}}} (Nova Roma)|Election {{{1}}}]] |
Usage
Parameters are not named, but are entered in this order:
- Year (required)
- Nomen (required)
- Office (required)
- Citizen ID# (from Album Civium) (required)
- "nophoto" (optional)
Examples
If a citizen has a photo:
{{CandidateDeclarationPage|MMDCCLX|Gaius Civis Felix|Consul|1234}}
If a citizen doesn't have a photo:
{{CandidateDeclarationPage|MMDCCLX|Gaius Civis Felix|Consul|1234|nophoto}}