Difference between revisions of "Template:Infobox NPC"

From OtanWiki
(Created page with "<div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} <table>{{#if:{...")
 
Line 1: Line 1:
<div class="infobox">
+
<div class="infobox" style="background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px;" >
<div class="infobox-title">{{{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">[[File:{{{image}}}|300px]]</div>}}
+
<div class="infobox-image" style="text-align: center;">[[File:{{{image}}}|300px]]</div>}}
 
<table>{{#if:{{{caption|}}}|<tr>
 
<table>{{#if:{{{caption|}}}|<tr>
 
     <th>&nbsp;</th>
 
     <th>&nbsp;</th>

Revision as of 14:01, 16 February 2021

Infobox NPC

Example usage:

{{Infobox NPC
  | title             = 
  | image             = 
  | caption           = 
  | native_name       = 
  | 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        = 
}}