Difference between revisions of "Template:Infobox PC2"

From OtanWiki
 
Line 1: Line 1:
 
<div class="infobox2" >
 
<div class="infobox2" >
<div class="infobox-title" style="font-size: 2em; text-align: center;">[[{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
+
<div class="infobox-title" style="font-size: 2em; text-align: center;">[[{{{title|{{PAGENAME}}}}}]]</div>{{#if:{{{image|}}}|
 
<div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|link={{{title}}}|300px]]</div>}}
 
<div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|link={{{title}}}|300px]]</div>}}
 
{{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}}
 
{{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}}

Latest revision as of 15:19, 6 March 2021

Example usage:

{{Infobox PC
  | title             = 
  | image             = 
  | caption           = 
  | player_name       = 
  | campaign          = 
  | titles            = 
  | honours           = 
  | race              = 
  | nationality       = 
  | class_lvl         = 
  | alignment         = 
  | religion          = 
  | home              = 
  | born_yr_place     = 
  | died_yr_place     = 
  | other_homes       = 
  | special_abilities = 
  | special_items     = 
  | properties_owned  = 
  | factions          = 
  | spouse            = 
  | parents           = 
  | children          = 
  | associates        = 
}}