chiark / gitweb /
Books.
[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 parens>Parens: <TMPL_VAR parens><br /></TMPL_IF>
10 <TMPL_IF origin>Origin: <TMPL_VAR origin><br /></TMPL_IF>
11 <TMPL_IF ethnicity>Ethnicity: <TMPL_VAR ethnicity><br /></TMPL_IF>
12 <TMPL_IF religion>Religion: <TMPL_VAR religion><br /></TMPL_IF>
13 <hr />
14 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 /></TMPL_IF>
18 <TMPL_IF appage>Apparent Age: <TMPL_VAR appage><br /></TMPL_IF>
19 <TMPL_IF longpot>Long Pot: <TMPL_VAR longpot> levels<br /></TMPL_IF>
20 <TMPL_IF image><hr />
21 <TMPL_VAR image></TMPL_IF>
22 </div>
23 <TMPL_ELSE>
24 This template is used to create an infobox for a character.  It uses
25 these parameters:
26
27 <ul>
28 <li>name - the name of the character
29 <li>house - the house of the character (optional)
30 <li>job - the job of the character (optional)
31 <li>rank - the rank of the character (optional)
32 <li>covenant - the covenant of the character (optional)
33 <li>parens - the parens of the character (optional)
34 <li>origin - where the character was born (optional)
35 <li>ethnicity - the character's ethnicity (optional)
36 <li>religion - the character's current religion (optional)
37 <li>born - the birthdate of the character, in the form 1216/01/31
38 <li>died - the deathdate of the character, in the form 1216/01/31 (optional)
39 <li>updated - when this page was last updated, in the form 1216/01/31
40 <li>longpot - the level of the character's longevity pot (optional)
41 <li>age - the age of the character
42 <li>appage - the apparent age of the character
43 <li>image - space for an image (in wiki markup) (optional)
44 </ul>
45 </TMPL_IF>