Template:Infobox NPC: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 18: Line 18:
|data2 = {{#if:{{{gender|}}}|{{{gender}}}}}
|data2 = {{#if:{{{gender|}}}|{{{gender}}}}}


|label3 = Height
|label3 = Faith
|data3 = {{#if:{{{height|}}}|{{{height|}}}}}
|data3 = {{#if:{{{faith|}}}|{{{faith}}}}}


|label4 = Weight
|label4 = Height
|data4 = {{#if:{{{weight|}}}|{{{weight|}}}}}
|data4 = {{#if:{{{height|}}}|{{{height|}}}}}
|rowclass5 = mergedbottomrow
|label5 = Alignment
|data5 = {{#if:{{{alignment|}}}|{{{alignment|}}}}}


|rowclass6 = mergedtoprow
|label5 = Weight
|label6 = Born
|data5 = {{#if:{{{weight|}}}|{{{weight|}}}}}
|data6 = {{#if:{{{born|}}}|{{#if:{{{died|}}}|{{#invoke:Date Stuff|date|{{{born|}}}|{{{setting|}}}}}|{{#invoke:Date Stuff|age|{{{born|}}}|{{Current Dates|{{{setting|}}}}}|alive|{{{setting|}}}}}}}}}
|rowclass6 = mergedbottomrow
|label6 = Alignment
|data6 = {{#if:{{{alignment|}}}|{{{alignment|}}}}}


|label7 = Died
|rowclass7 = mergedtoprow
|data7 = {{#if:{{{died|}}}|{{#if:{{{born|}}}|{{#invoke:Date Stuff|age|{{{born|}}}|{{{died|}}}|dead|{{{setting|}}}}}|{{#invoke:Date Stuff|date|{{{died|}}}|{{{setting|}}}}}}}}}
|label7 = Born
|rowclass8 = mergedbottomrow
|data7 = {{#if:{{{born|}}}|{{#if:{{{died|}}}|{{#invoke:Date Stuff|date|{{{born|}}}|{{{setting|}}}}}|{{#invoke:Date Stuff|age|{{{born|}}}|{{Current Dates|{{{setting|}}}}}|alive|{{{setting|}}}}}}}}}
|label8 = Cause of Death
|data8 = {{#if:{{{status|}}}|{{{status|}}}}}


|rowclass9 = mergedtoprow
|label8 = Died
|label9 = Campaigns
|data8 = {{#if:{{{died|}}}|{{#if:{{{born|}}}|{{#invoke:Date Stuff|age|{{{born|}}}|{{{died|}}}|dead|{{{setting|}}}}}|{{#invoke:Date Stuff|date|{{{died|}}}|{{{setting|}}}}}}}}}
|data9 = {{#if:{{{campaigns|}}}|{{{campaigns|}}}}}
|rowclass9 = mergedbottomrow
|label9 = Cause of Death
|data9 = {{#if:{{{status|}}}|{{{status|}}}}}


|label10 = First Session
|rowclass10 = mergedtoprow
|data10 = {{#if:{{{firstsession|}}}|[[{{{firstsession|}}}]]}}
|label10 = Campaigns
|rowclass11 = mergedbottomrow
|data10 = {{#if:{{{campaigns|}}}|{{{campaigns|}}}}}
|label11 = Last Session
|data11 = {{#if:{{{lastsession|}}}|[[{{{lastsession|}}}]]}}


|rowclass12 = mergedtoprow mergedbottomclass
|label11 = First Session
|label12 = Setting
|data11 = {{#if:{{{firstsession|}}}|[[{{{firstsession|}}}]]}}
|data12 = {{#if:{{{setting|}}}|[[{{{setting|}}}]]}}
|rowclass12 = mergedbottomrow
|label12 = Last Session
|data12 = {{#if:{{{lastsession|}}}|[[{{{lastsession|}}}]]}}
 
|rowclass13 = mergedtoprow mergedbottomclass
|label13 = Setting
|data13 = {{#if:{{{setting|}}}|[[{{{setting|}}}]]}}
}}
}}
</includeonly>
</includeonly>
<noinclude>[[Category:Templates]]</noinclude>
<noinclude>[[Category:Templates]]</noinclude>

Navigation menu