Template:Infobox NPC: Difference between revisions

Redirected page to Template:Infobox Character
No edit summary
(Redirected page to Template:Infobox Character)
Tag: New redirect
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}}
{{Rcat shell}}
|label1 = Race
|data1 = {{#if:{{{race|}}}|[[{{{race|}}}]]}}
 
|label2 = Gender
|data2 = {{#if:{{{gender|}}}|{{{gender}}}}}
 
|label3 = Faith
|data3 = {{#if:{{{faith|}}}|[[{{{faith}}}]]}}
 
|rowclass4 = mergedbottomrow
|label4 = Alignment
|data4 = {{#if:{{{alignment|}}}|{{{alignment|}}}}}
 
|label5 = Height
|data5 = {{#if:{{{height|}}}|{{{height|}}}}}
 
|label6 = Weight
|data6 = {{#if:{{{weight|}}}|{{{weight|}}}}}
 
|rowclass7 = mergedtoprow
|label7 = Born
|data7 = {{#if:{{{born|}}}|{{#if:{{{died|}}}|{{#invoke:Date Stuff|date|{{{born|}}}|{{{setting|}}}}}|{{#invoke:Date Stuff|age|{{{born|}}}|{{Current Dates|{{{setting|}}}}}|alive|{{{setting|}}}}}}}}}
 
|label8 = Died
|data8 = {{#if:{{{died|}}}|{{#if:{{{born|}}}|{{#invoke:Date Stuff|age|{{{born|}}}|{{{died|}}}|dead|{{{setting|}}}}}|{{#invoke:Date Stuff|date|{{{died|}}}|{{{setting|}}}}}}}}}
|rowclass9 = mergedbottomrow
|label9 = Cause of Death
|data9 = {{#if:{{{status|}}}|{{{status|}}}}}
 
|rowclass10 = mergedtoprow
|label10 = Campaigns
|data10 = {{#if:{{{campaigns|}}}|{{{campaigns|}}}}}
 
|label11 = First Session
|data11 = {{#if:{{{firstsession|}}}|[[{{{firstsession|}}}]]}}
|rowclass12 = mergedbottomrow
|label12 = Last Session
|data12 = {{#if:{{{lastsession|}}}|[[{{{lastsession|}}}]]}}
 
|rowclass13 = mergedtoprow mergedbottomclass
|label13 = Setting
|data13 = {{#if:{{{setting|}}}|[[{{{setting|}}}]]}}
}}
</includeonly>
<noinclude>{{doc}}</noinclude>