Template:Person: Difference between revisions

From FeyworldWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 50: Line 50:
{{!}}-
{{!}}-
{{!}}[[Image:{{{pic}}}|center|thumb|200px|{{{first_name}}} {{#if:{{{last_name|}}}|{{{last_name}}}|}}]]
{{!}}[[Image:{{{pic}}}|center|thumb|200px|{{{first_name}}} {{#if:{{{last_name|}}}|{{{last_name}}}|}}]]
{{!}}}|}}{{#if:{{{deathyear|}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'''DECEASED'''<br>|}}{{#if:{{{birthyear|}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{#ifexpr:{{{birthyear}}}<0 | [[{{abs|{{{birthyear}}}}} BF]] | [[{{{birthyear}}}|{{{birthyear}}} NC]]}} - {{#if:{{{deathyear|}}} | {{#ifexpr:{{{deathyear}}}<0 |[[{{abs|{{{deathyear}}}}} BF]]|[[{{{deathyear}}}|{{{deathyear}}} NC]]|}}{{#vardefine:endyear|{{{deathyear}}}}} | {{#vardefine:endyear|{{CurrentNCYear}}}}}}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{#expr: {{#var:endyear}} - {{{birthyear}}}}} years old<br>|}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'''{{{first_name}}}{{#if:{{{last_name|}}}|&nbsp;{{{last_name}}}|}}'''{{ #if: {{{title|}}} |, ''{{{title}}}''.&nbsp;|.}}{{#if:{{{size|}}}|&nbsp;{{{size}}}|}}{{#if:{{{species|}}}|&nbsp;{{{species}}}|}}{{#if: {{{gender|}}} |&nbsp;{{{gender}}}.|}}{{#if:{{{class|}}}|&nbsp;{{{class}}}.&nbsp;|}}{{#if: {{{CR|}}}|&nbsp;CR: {{{CR}}}|}}{{#if:{{{HD|}}}|, {{{HD}}} HD|}}{{#if:{{{hp|}}}|&nbsp;({{{hp}}} hp)|}}{{#if:{{{init|}}}|, Init: {{{init}}}|}}{{#if:{{{speed|}}}|, Speed: {{{speed}}}|}}{{#if:{{{AC|}}}|, AC: {{{AC}}}|}}{{#if:{{{touch_AC|}}}|&nbsp;(Touch: {{{touch_AC}}} {{#if:{{{flat-footed_AC|}}}|, Flat-Footed: {{{flat-footed_AC}}})|}} |}}{{#if:{{{attack|}}}|, Attack: {{{attack}}}.|}}{{#if:{{{SA|}}}|&nbsp;''Special Attacks:'' {{{SA}}}.|}}{{#if:{{{SQ|}}}|&nbsp;''Special Qualities:'' {{{SQ}}}.|}}{{#if:{{{fort|}}}|''Saves:'' Fort: {{{fort}}} Ref: {{{ref}}} Will: {{{will}}}.|}}{{#if:{{{str|}}}|&nbsp;Str: {{{str}}}, Dex: {{{dex}}}, Con: {{{con}}}, Int: {{{int}}}, Wis: {{{wis}}}, Cha: {{{cha}}}, Per: {{{per}}}.|}}{{#if:{{{skills|}}}|<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;''Skills:'' {{{skills}}}|}}{{#if:{{{feats|}}}|<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;''Feats:'' {{{feats}}}|}}{{#if:{{{spells|}}}|<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;''Spells:'' {{{spells}}}|}}{{ #if: {{{overview|}}} |<br>
{{!}}}|}}{{#if:{{{deathyear|}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'''DECEASED'''<br>|}}{{#if:{{{birthyear|}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{#ifexpr:{{{birthyear}}}<0 | [[{{abs|{{{birthyear}}}}} BF]] | [[{{{birthyear}}}|{{{birthyear}}} NC]]}} - {{#if:{{{deathyear|}}} | {{#ifexpr:{{{deathyear}}}<0 |[[{{abs|{{{deathyear}}}}} BF]]|[[{{{deathyear}}}|{{{deathyear}}} NC]]|}}{{#vardefine:endyear|{{{deathyear}}}}} | {{#vardefine:endyear|{{CurrentNCYear}}}}}}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{#expr: {{{birthyear}}} - {{#var:endyear}}}} years old<br>|}}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'''{{{first_name}}}{{#if:{{{last_name|}}}|&nbsp;{{{last_name}}}|}}'''{{ #if: {{{title|}}} |, ''{{{title}}}''.&nbsp;|.}}{{#if:{{{size|}}}|&nbsp;{{{size}}}|}}{{#if:{{{species|}}}|&nbsp;{{{species}}}|}}{{#if: {{{gender|}}} |&nbsp;{{{gender}}}.|}}{{#if:{{{class|}}}|&nbsp;{{{class}}}.&nbsp;|}}{{#if: {{{CR|}}}|&nbsp;CR: {{{CR}}}|}}{{#if:{{{HD|}}}|, {{{HD}}} HD|}}{{#if:{{{hp|}}}|&nbsp;({{{hp}}} hp)|}}{{#if:{{{init|}}}|, Init: {{{init}}}|}}{{#if:{{{speed|}}}|, Speed: {{{speed}}}|}}{{#if:{{{AC|}}}|, AC: {{{AC}}}|}}{{#if:{{{touch_AC|}}}|&nbsp;(Touch: {{{touch_AC}}} {{#if:{{{flat-footed_AC|}}}|, Flat-Footed: {{{flat-footed_AC}}})|}} |}}{{#if:{{{attack|}}}|, Attack: {{{attack}}}.|}}{{#if:{{{SA|}}}|&nbsp;''Special Attacks:'' {{{SA}}}.|}}{{#if:{{{SQ|}}}|&nbsp;''Special Qualities:'' {{{SQ}}}.|}}{{#if:{{{fort|}}}|''Saves:'' Fort: {{{fort}}} Ref: {{{ref}}} Will: {{{will}}}.|}}{{#if:{{{str|}}}|&nbsp;Str: {{{str}}}, Dex: {{{dex}}}, Con: {{{con}}}, Int: {{{int}}}, Wis: {{{wis}}}, Cha: {{{cha}}}, Per: {{{per}}}.|}}{{#if:{{{skills|}}}|<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;''Skills:'' {{{skills}}}|}}{{#if:{{{feats|}}}|<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;''Feats:'' {{{feats}}}|}}{{#if:{{{spells|}}}|<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;''Spells:'' {{{spells}}}|}}{{ #if: {{{overview|}}} |<br>


===Overview===
===Overview===

Revision as of 16:52, 16 October 2015

Use the following to cut and paste into a new person entry:

{{Person
|birthyear= 
|deathyear= 
|first_name= 
|last_name= 
|pic= 
|title= 
|size= 
|species= 
|gender= 
|class= 
|CR= 
|HD= 
|hp= 
|init= 
|speed= 
|AC= 
|touch_AC= 
|flat-footed_AC= 
|attack= 
|SA= 
|SQ= 
|fort= 
|ref= 
|will= 
|str= 
|dex= 
|con= 
|int= 
|wis= 
|cha= 
|per= 
|skills= 
|feats= 
|spells= 
|overview= 
|description= 
|background= 
|base= 
|belief= 
}}