Difference between revisions of "Template:Infobox PC"
From OtanWiki
(Created page with "<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" style="font-...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div class="infobox | + | <div class="infobox" > |
<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:{{{ | + | {{#if:{{{caption|}}}|<div style="font-size: .8em; text-align: center;">{{{caption}}}</div>}} |
− | <th> | + | <table>{{#if:{{{campaign|}}}|<tr> |
− | <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 70: | Line 71: | ||
Example usage: | Example usage: | ||
<pre> | <pre> | ||
− | {{Infobox | + | {{Infobox PC |
| title = | | title = | ||
| image = | | image = | ||
| caption = | | caption = | ||
| player_name = | | player_name = | ||
+ | | campaign = | ||
| titles = | | titles = | ||
| honours = | | honours = |
Latest revision as of 22: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 = }}