Difference between revisions of "Template:InfoBoxCharacter"

m
m
Line 3: Line 3:
 
|autoheaders    = y
 
|autoheaders    = y
 
|above          = <div class="fn" style="display:inline-block; font-weight:bold;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div>
 
|above          = <div class="fn" style="display:inline-block; font-weight:bold;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div>
<!-- |above          = <div class="fn" style="display:inline-block">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div> -->
 
 
|subheaderstyle = border:0.15em solid #222; padding:0.2em;
 
|subheaderstyle = border:0.15em solid #222; padding:0.2em;
 
|imagestyle    = border:0.15em solid #222; padding:0.2em;
 
|imagestyle    = border:0.15em solid #222; padding:0.2em;
 
|image          = {{#if:{{{image|}}}|[[Image:{{{image}}}|frameless|210px|center]]}}
 
|image          = {{#if:{{{image|}}}|[[Image:{{{image}}}|frameless|210px|center]]}}
|caption        = {{{image caption|{{{caption|{{{image caption|}}}}}}}}}
+
<!-- |caption        = {{{image caption|{{{caption|{{{image caption|}}}}}}}}} -->
|captionstyle  = line-height:1.4em;
+
<!-- |captionstyle  = line-height:1.4em; -->
 
|headerstyle    = background:#607D8B; color:#FFF; border:0.15em solid #333; padding:0.1em;
 
|headerstyle    = background:#607D8B; color:#FFF; border:0.15em solid #333; padding:0.1em;
 
|labelstyle    = font-size:14px; font-weight:400; line-height: 1.4; text-align: left; border:0.15em solid #222; padding:0.2em;
 
|labelstyle    = font-size:14px; font-weight:400; line-height: 1.4; text-align: left; border:0.15em solid #222; padding:0.2em;
Line 14: Line 13:
  
 
|header1 = Personal
 
|header1 = Personal
  |label2 = Name
 
  |data2 = {{{name|}}}
 
 
   |label3 = Also known as
 
   |label3 = Also known as
 
   |data3 = {{{othernames|}}}
 
   |data3 = {{{othernames|}}}
Line 45: Line 42:
 
   |data16 = {{{children|}}}
 
   |data16 = {{{children|}}}
  
 +
<!-- Property and Category declarations -->
 +
{{#if:{{{affiliation|}}}||<includeonly>[[Category:{{{affiliation}}} Characters]]</includeonly>}}
 
}}<noinclude>{{documentation}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here --></noinclude>
 
}}<noinclude>{{documentation}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here --></noinclude>

Revision as of 18:59, 4 April 2024

InfoBoxCharacter