Template:Infobox NPC: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{infobox
#REDIRECT [[Template:Infobox_Character]]
|aboveclass = mergedtoprow {{#if:{{{tag-line|}}}||mergedbottomrow}} name
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
|subheaderrowclass1 = mergedbottomrow title
|subheader1 = {{#if:{{{tag-line|}}}|{{{tag-line|}}}}}
|imagerowclass1 = mergedtoprow {{#if:{{{image2|}}}||mergedbottomrow}}
|image1 = {{#if:{{{image|}}}|[[File:{{{image|}}}|250px]]}}
|imagerowclass2 = mergedbottomrow
|image2 = {{#if:{{{image2|}}}|[[File:{{{image2|}}}|250px]]}}
|imagerowclass3 = mergedtoprow mergedbottomrow
|image3 = {{#if:{{{image-tab|}}}|{{{image-tab|}}}]]}}


|rowclass1 = mergedtoprow {{#ifeq:{{#expr:{{#if:{{{gender|}}}|1|0}}or{{#if:{{{height|}}}|1|0}}or{{#if:{{{weight|}}}|1|0}}or{{#if:{{{alignment|}}}|1|0}}}}|1||mergedbottomrow}}
{{Redirect category shell|
|label1 = Race
{{R to redirect template}}
|data1 = {{#if:{{{race|}}}|{{{race|}}}}}
{{R from template shortcut}}
 
|label2 = Gender
|data2 = {{#if:{{{gender|}}}|{{{gender}}}}}
 
|label3 = Height
|data3 = {{#if:{{{height|}}}|{{{height|}}}}}
 
|label4 = Weight
|data4 = {{#if:{{{weight|}}}|{{{weight|}}}}}
|rowclass5 = mergedbottomrow
|label5 = Alignment
|data5 = {{#if:{{{alignment|}}}|{{{alignment|}}}}}
 
|rowclass6 = mergedtoprow
|label6 = Born
|data6 = {{#if:{{{born|}}}|{{#if:{{{died|}}}|{{#invoke:Date Stuff|date|4-19-274|Solandria}}|{{#invoke:Date Stuff|age|4-19-274|{{Current Dates|Solandria}}|alive|Solandria}}}}}}
 
|label7 = Died
|data7 = {{#if:{{{born|}}}|{{#invoke:Date Stuff|age|4-19-274|4-21-283|dead|Solandria}}|{{#invoke:Date Stuff|date|4-21-283|Solandria}}}}
|rowclass8 = mergedbottomrow
|label8 = Cause of Death
|data8 = {{#if:{{{status|}}}|{{{status|}}}}}
 
|rowclass9 = mergedtoprow
|label9 = Campaigns
|data9 = {{#if:{{{campaigns|}}}|{{{campaigns|}}}}}
 
|label10 = First Session
|data10 = {{#if:{{{firstsession|}}}|{{{firstsession|}}}}}
|rowclass11 = mergedbottomrow
|label11 = Last Session
|data11 = {{#if:{{{lastsession|}}}|{{{lastsession|}}}}}
 
|rowclass12 = mergedtoprow mergedbottomclass
|label12 = Setting
|data12 = {{#if:{{{setting|}}}|[[{{{setting|}}}]]}}
}}
}}
</includeonly>
<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 13:11, 29 May 2022