chiark / gitweb /
30c4cd5456e536c1213f951055c115df543ccc8f
[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 Born: [[<TMPL_VAR born>|Date/<TMPL_VAR born>]]<br />
10 <TMPL_IF died>Died: [[<TMPL_VAR died>|Date/<TMPL_VAR died>]]<br /></TMPL_IF>
11 Updated: [[<TMPL_VAR updated>|Date/<TMPL_VAR updated>]]<br />
12 <TMPL_IF longpot>App Age: <TMPL_VAR appage><br />
13 Long Pot: <TMPL_VAR longpot> levels</TMPL_IF><br />
14 </div>
15 <TMPL_ELSE>
16 This template is used to create an infobox for a character.  It uses
17 these parameters:
18
19 <ul>
20 <li>name - the name of the character
21 <li>house - the house of the character (optional)
22 <li>job - the job of the character (optional)
23 <li>rank - the rank of the character (optional)
24 <li>covenant - the covenant of the character (optional)
25 <li>born - the birthdate of the character, in the form 1216/01/31
26 <li>died - the deathdate of the character, in the form 1216/01/31 (optional)
27 <li>updated - when this page was last updated
28 <li>longpot - the level of the character's longevity pot (optional)
29 <li>appage - the apparent age of the character (mandatory if longpot set)
30 </ul>
31 </TMPL_IF>