Template:Infobox Character: Difference between revisions

From Blackmouth Chronicles
Jump to navigation Jump to search
m (testing background-color:#f2f2f2 for fields)
m (formatting tweak, setting background colours)
Line 9: Line 9:
{{ #if:{{{fullname|}}}|{{!}}style="background-color:#f2f2f2; font-size:11px; vertical-align:middle;"{{!}} '''Full Name''' {{!}}{{!}} {{{fullname}}} }}
{{ #if:{{{fullname|}}}|{{!}}style="background-color:#f2f2f2; font-size:11px; vertical-align:middle;"{{!}} '''Full Name''' {{!}}{{!}} {{{fullname}}} }}
|-
|-
{{ #if:{{{born|}}}|{{!}}style="background-color:#f2f2f2; font-size:11px; vertical-align:middle;"{{!}} '''Born''' {{!}}{{!}} {{{born}}} }}
{{ #if:{{{born|}}}|{{!}}style="background-color:#f2f2f2; font-size:11px; vertical-align:middle;padding:2px 4px;"{{!}} '''Born''' {{!}}{{!}} {{{born}}} }}
|-
|-
{{ #if:{{{birthyear|}}}|{{!}}style="font-size:11px; vertical-align:middle;"{{!}} '''Age''' {{!}}{{!}} {{ #expr:{{CurrentYear}}-{{{birthyear}}} }} }}
{{ #if:{{{birthyear|}}}|{{!}}style="background-color:#f2f2f2; font-size:11px; vertical-align:middle;padding:2px 4px;"{{!}} '''Age''' {{!}}{{!}} {{ #expr:{{CurrentYear}}-{{{birthyear}}} }} }}
|-
|-
{{ #if:{{{bioInfo1|}}}|{{!}}style="font-size:11px; vertical-align:middle;"{{!}} '''{{{bioInfo1Title}}}''' {{!}}{{!}} {{{bioInfo1}}} }}
{{ #if:{{{bioInfo1|}}}|{{!}}style="background-color:#f2f2f2; font-size:11px; vertical-align:middle;padding:2px 4px;"{{!}} '''{{{bioInfo1Title}}}''' {{!}}{{!}} {{{bioInfo1}}} }}
|-
|-
{{ #if:{{{bioInfo2|}}}|{{!}}style="font-size:11px; vertical-align:middle;"{{!}} '''{{{bioInfo2Title}}}''' {{!}}{{!}} {{{bioInfo2}}} }}
{{ #if:{{{bioInfo2|}}}|{{!}}style="background-color:#f2f2f2; font-size:11px; vertical-align:middle;padding:2px 4px;"{{!}} '''{{{bioInfo2Title}}}''' {{!}}{{!}} {{{bioInfo2}}} }}
|-
|-
{{ #if:{{{bioInfo3|}}}|{{!}}style="font-size:11px; vertical-align:middle;"{{!}} '''{{{bioInfo3Title}}}''' {{!}}{{!}} {{{bioInfo3}}} }}
{{ #if:{{{bioInfo3|}}}|{{!}}style="background-color:#f2f2f2; font-size:11px; vertical-align:middle;padding:2px 4px;"{{!}} '''{{{bioInfo3Title}}}''' {{!}}{{!}} {{{bioInfo3}}} }}
|-
|-
{{ #if:{{{alias|}}}|{{!}}style="font-size:11px; vertical-align:middle;"{{!}} '''Alias''' {{!}}{{!}} {{{alias}}} }}
{{ #if:{{{alias|}}}|{{!}}style="background-color:#f2f2f2; font-size:11px; vertical-align:middle;padding:2px 4px;"{{!}} '''Alias''' {{!}}{{!}} {{{alias}}} }}
|-
|-
{{ #if:{{{status|}}}|{{!}}style="font-size:11px; vertical-align:middle;"{{!}} '''Status''' {{!}}{{!}} {{{status}}} }}
{{ #if:{{{status|}}}|{{!}}style="background-color:#f2f2f2; font-size:11px; vertical-align:middle;padding:2px 4px;"{{!}} '''Status''' {{!}}{{!}} {{{status}}} }}
|-
|-
{{ #if:{{{death|}}}|{{!}}style="font-size:11px; vertical-align:middle;"{{!}} '''Death''' {{!}}{{!}} {{{death}}} }}
{{ #if:{{{death|}}}|{{!}}style="background-color:#f2f2f2; font-size:11px; vertical-align:middle;padding:2px 4px;"{{!}} '''Death''' {{!}}{{!}} {{{death}}} }}
|-
|-
{{ #if:{{{creator|}}}{{{owner|}}}{{{residence|}}}{{{occupation|}}}{{{organisation|}}}{{{affInfo1|}}}{{{affInfo2|}}}{{{affInfo3|}}}{{{title|}}}|{{!}} colspan = "2" style="text-align:center; padding:4px; background-color:#EEEEEE; vertical-align: middle; font-size:inherit; font-weight:bold; text-align:center; spacing-top: 0px; spacing-bottom: 0px;" {{!}}'''Affiliations'''}}
{{ #if:{{{creator|}}}{{{owner|}}}{{{residence|}}}{{{occupation|}}}{{{organisation|}}}{{{affInfo1|}}}{{{affInfo2|}}}{{{affInfo3|}}}{{{title|}}}|{{!}} colspan = "2" style="text-align:center; padding:4px; background-color:#EEEEEE; vertical-align: middle; font-size:inherit; font-weight:bold; text-align:center; spacing-top: 0px; spacing-bottom: 0px;" {{!}}'''Affiliations'''}}
|-
|-
{{ #if:{{{creator|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Creator''' {{!}}{{!}} {{{creator}}} }}
{{ #if:{{{creator|}}}|{{!}}style="background-color:#f2f2f2; font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Creator''' {{!}}{{!}} {{{creator}}} }}
|-
|-
{{ #if:{{{owner|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Owner''' {{!}}{{!}} {{{owner}}} }}
{{ #if:{{{owner|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Owner''' {{!}}{{!}} {{{owner}}} }}
|-
|-
{{ #if:{{{residence|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Residence''' {{!}}{{!}} {{{residence}}} }}
{{ #if:{{{residence|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Residence''' {{!}}{{!}} {{{residence}}} }}
|-
|-
{{ #if:{{{occupation|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Accupation''' {{!}}{{!}} {{{occupation}}} }}
{{ #if:{{{occupation|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Accupation''' {{!}}{{!}} {{{occupation}}} }}
|-
|-
{{ #if:{{{organisation|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Organisation''' {{!}}{{!}} {{{organisation}}} }}
{{ #if:{{{organisation|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Organisation''' {{!}}{{!}} {{{organisation}}} }}
|-
|-
{{ #if:{{{affInfo1|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''{{{affInfo1Title}}}''' {{!}}{{!}} {{{affInfo1}}} }}
{{ #if:{{{affInfo1|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''{{{affInfo1Title}}}''' {{!}}{{!}} {{{affInfo1}}} }}
|-
|-
{{ #if:{{{affInfo2|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''{{{affInfo2Title}}}''' {{!}}{{!}} {{{affInfo2}}} }}
{{ #if:{{{affInfo2|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''{{{affInfo2Title}}}''' {{!}}{{!}} {{{affInfo2}}} }}
|-
|-
{{ #if:{{{affInfo3|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''{{{affInfo3Title}}}''' {{!}}{{!}} {{{affInfo3}}} }}
{{ #if:{{{affInfo3|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''{{{affInfo3Title}}}''' {{!}}{{!}} {{{affInfo3}}} }}
|-
|-
{{ #if:{{{title|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Title''' {{!}}{{!}} {{{title}}} }}
{{ #if:{{{title|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Title''' {{!}}{{!}} {{{title}}} }}
|-
|-
{{ #if:{{{spouse|}}}{{{partner|}}}{{{children|}}}{{{family|}}}{{{relInfo1|}}}{{{relInfo2|}}}{{{relInfo3|}}}|{{!}} colspan = "2" style="text-align:center; padding:4px; background-color:#EEEEEE; vertical-align: middle; font-size:inherit; font-weight:bold; text-align:center; spacing-top: 0px; spacing-bottom: 0px;"  {{!}}'''Relationships'''}}
{{ #if:{{{spouse|}}}{{{partner|}}}{{{children|}}}{{{family|}}}{{{relInfo1|}}}{{{relInfo2|}}}{{{relInfo3|}}}|{{!}} colspan = "2" style="text-align:center; padding:4px; background-color:#EEEEEE; vertical-align: middle; font-size:inherit; font-weight:bold; text-align:center; spacing-top: 0px; spacing-bottom: 0px;"  {{!}}'''Relationships'''}}
|-
|-
{{ #if:{{{spouse|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Spouse''' {{!}}{{!}} {{{spouse}}} }}
{{ #if:{{{spouse|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Spouse''' {{!}}{{!}} {{{spouse}}} }}
|-
|-
{{ #if:{{{partner|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Partner''' {{!}}{{!}} {{{partner}}} }}
{{ #if:{{{partner|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Partner''' {{!}}{{!}} {{{partner}}} }}
|-
|-
{{ #if:{{{children|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Children''' {{!}}{{!}} {{{children}}} }}
{{ #if:{{{children|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Children''' {{!}}{{!}} {{{children}}} }}
|-
|-
{{ #if:{{{family|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Family''' {{!}}{{!}} {{{family}}} }}
{{ #if:{{{family|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Family''' {{!}}{{!}} {{{family}}} }}
|-
|-
{{ #if:{{{relInfo1|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''{{{relInfo1Title}}}''' {{!}}{{!}} {{{relInfo1}}} }}
{{ #if:{{{relInfo1|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''{{{relInfo1Title}}}''' {{!}}{{!}} {{{relInfo1}}} }}
|-
|-
{{ #if:{{{relInfo2|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''{{{relInfo2Title}}}''' {{!}}{{!}} {{{relInfo2}}} }}
{{ #if:{{{relInfo2|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''{{{relInfo2Title}}}''' {{!}}{{!}} {{{relInfo2}}} }}
|-
|-
{{ #if:{{{relInfo3|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''{{{relInfo3Title}}}''' {{!}}{{!}} {{{relInfo3}}} }}
{{ #if:{{{relInfo3|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''{{{relInfo3Title}}}''' {{!}}{{!}} {{{relInfo3}}} }}
|-
|-
{{ #if:{{{gender|}}}{{{appAge|}}}{{{hair|}}}{{{eyes|}}}{{{features|}}}{{{height|}}}{{{build|}}}{{{physInfo1|}}}{{{physInfo2|}}}{{{physInfo3|}}}|{{!}} colspan = "2" style="text-align:center; padding:4px; background-color:#EEEEEE; vertical-align: middle; font-size:inherit; font-weight:bold; text-align:center; spacing-top: 0px; spacing-bottom: 0px;"  {{!}}'''Physical Description'''}}
{{ #if:{{{gender|}}}{{{appAge|}}}{{{hair|}}}{{{eyes|}}}{{{features|}}}{{{height|}}}{{{build|}}}{{{physInfo1|}}}{{{physInfo2|}}}{{{physInfo3|}}}|{{!}} colspan = "2" style="text-align:center; padding:4px; background-color:#EEEEEE; vertical-align: middle; font-size:inherit; font-weight:bold; text-align:center; spacing-top: 0px; spacing-bottom: 0px;"  {{!}}'''Physical Description'''}}
|-
|-
{{ #if:{{{gender|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Gender''' {{!}}{{!}} {{{gender}}} {{ #if:{{{pronouns|}}}|({{{pronouns}}})}} }}
{{ #if:{{{gender|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Gender''' {{!}}{{!}} {{{gender}}} {{ #if:{{{pronouns|}}}|({{{pronouns}}})}} }}
|-
|-
{{ #if:{{{appAge|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Apparent Age''' {{!}}{{!}} {{{appAge}}} }}
{{ #if:{{{appAge|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Apparent Age''' {{!}}{{!}} {{{appAge}}} }}
|-
|-
{{ #if:{{{hair|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Hair''' {{!}}{{!}} {{{hair}}} }}
{{ #if:{{{hair|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Hair''' {{!}}{{!}} {{{hair}}} }}
|-
|-
{{ #if:{{{eyes|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Eyes''' {{!}}{{!}} {{{eyes}}} }}
{{ #if:{{{eyes|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Eyes''' {{!}}{{!}} {{{eyes}}} }}
|-
|-
{{ #if:{{{features|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Features''' {{!}}{{!}} {{{features}}} }}
{{ #if:{{{features|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Features''' {{!}}{{!}} {{{features}}} }}
|-
|-
{{ #if:{{{height|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Height''' {{!}}{{!}} {{{height}}} }}
{{ #if:{{{height|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Height''' {{!}}{{!}} {{{height}}} }}
|-
|-
{{ #if:{{{build|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Build''' {{!}}{{!}} {{{build}}} }}
{{ #if:{{{build|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''Build''' {{!}}{{!}} {{{build}}} }}
|-
|-
{{ #if:{{{physInfo1|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''{{{physInfo1Title}}}''' {{!}}{{!}} {{{physInfo1}}} }}
{{ #if:{{{physInfo1|}}}|{{!}}style="background-color:#f2f2f2;font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''{{{physInfo1Title}}}''' {{!}}{{!}} {{{physInfo1}}} }}
|-
|-
{{ #if:{{{physInfo2|}}}|{{!}}style="vertical-align:top; padding:2px 4px;"{{!}} '''{{{physInfo2Title}}}''' {{!}}{{!}} {{{physInfo2}}} }}
{{ #if:{{{physInfo2|}}}|{{!}}style="background-color:#f2f2f2; font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''{{{physInfo2Title}}}''' {{!}}{{!}} {{{physInfo2}}} }}
|-
|-
{{ #if:{{{physInfo3|}}}|{{!}}style="font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''{{{physInfo3Title}}}''' {{!}}{{!}} {{{physInfo3}}} }}
{{ #if:{{{physInfo3|}}}|{{!}}style="background-color:#f2f2f2; font-size:11px; vertical-align:middle; padding:2px 4px;"{{!}} '''{{{physInfo3Title}}}''' {{!}}{{!}} {{{physInfo3}}} }}
|}
|}

Revision as of 21:10, 29 April 2020

Infobox Character