Difference between revisions of "Template:Infobox PC"

From OtanWiki
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
<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}}}|300px]]</div>}}
 
<div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{caption|}}}|<tr>
+
{{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}}
     <th>&nbsp;</th>
+
<table>{{#if:{{{campaign|}}}|<tr>
     <td>{{{caption}}}</td>
+
     <th>Campaign</th>
 +
     <td>{{{campaign}}}</td>
 
</tr>}} {{#if:{{{player_name|}}}|<tr>
 
</tr>}} {{#if:{{{player_name|}}}|<tr>
 
     <th>Player Name</th>
 
     <th>Player Name</th>
Line 75: Line 76:
 
   | caption          =  
 
   | caption          =  
 
   | player_name      =  
 
   | player_name      =  
 +
  | campaign          =
 
   | titles            =  
 
   | titles            =  
 
   | honours          =  
 
   | honours          =  

Latest revision as of 23:09, 22 February 2021

Infobox PC

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        = 
}}