chiark / gitweb /
More template.
[ArtibusWiki.git] / templates / character.mdwn
1 <TMPL_IF name>
2 <div class="infobox">
3 Name: <TMPL_VAR name><br />
4 <TMPL_IF house>House: <TMPL_VAR house><br /></TMPL_IF>
5 <TMPL_IF job>Job: <TMPL_VAR job><br /></TMPL_IF>
6 <TMPL_IF rank>Rank: <TMPL_VAR rank><br /></TMPL_IF>
7 <TMPL_IF covenant>Covenant: <TMPL_VAR covenant><br /></TMPL_IF>
8 <hr />
9 <TMPL_IF house>Parens: <TMPL_VAR parens><br /></TMPL_IF>
10 <TMPL_IF house>Origin: <TMPL_VAR origin><br /></TMPL_IF>
11 <TMPL_IF house>Ethnicity: <TMPL_VAR ethnicity><br /></TMPL_IF>
12 <TMPL_IF house>Religion: <TMPL_VAR religion><br /></TMPL_IF>
13 <hr />
14 Current Date: [[<TMPL_VAR updated>|Date/<TMPL_VAR updated>]]<br />
15 Born: [[<TMPL_VAR born>|Date/<TMPL_VAR born>]]<br />
16 <TMPL_IF died>Died: [[<TMPL_VAR died>|Date/<TMPL_VAR died>]]<br /></TMPL_IF>
17 <TMPL_IF age>Age: <TMPL_VAR age><br />
18 <TMPL_IF appage>Apparent Age: <TMPL_VAR appage><br />
19 Long Pot: <TMPL_VAR longpot> levels</TMPL_IF><br />
20 </div>
21 <TMPL_ELSE>
22 This template is used to create an infobox for a character.  It uses
23 these parameters:
24
25 <ul>
26 <li>name - the name of the character
27 <li>house - the house of the character (optional)
28 <li>job - the job of the character (optional)
29 <li>rank - the rank of the character (optional)
30 <li>covenant - the covenant of the character (optional)
31 <li>parens - the parens of the character (optional)
32 <li>origin - where the character was born (optional)
33 <li>ethnicity - the character's ethnicity (optional)
34 <li>religion - the character's current religion (optional)
35 <li>born - the birthdate of the character, in the form 1216/01/31
36 <li>died - the deathdate of the character, in the form 1216/01/31 (optional)
37 <li>updated - when this page was last updated, in the form 1216/01/31
38 <li>longpot - the level of the character's longevity pot (optional)
39 <li>age - the age of the character
40 <li>appage - the apparent age of the character
41 </ul>
42 </TMPL_IF>