Difference between revisions of "Template:NPC Infobox"
(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: | ||
+ | .infobox { | ||
+ | background: #eee; | ||
+ | border: 1px solid #aaa; | ||
+ | float: right; | ||
+ | margin: 0 0 1em 1em; | ||
+ | padding: 1em; | ||
+ | width: 400px; | ||
+ | } | ||
+ | .infobox-title { | ||
+ | font-size: 2em; | ||
+ | text-align: center; | ||
+ | } | ||
+ | .infobox-image { | ||
+ | text-align: center; | ||
+ | } | ||
+ | .infobox th { | ||
+ | text-align: right; | ||
+ | vertical-align: top; | ||
+ | width: 120px; | ||
+ | } | ||
+ | .infobox td { | ||
+ | vertical-align: top; | ||
+ | } | ||
+ | |||
<div class="infobox"> | <div class="infobox"> | ||
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| |
Revision as of 18:45, 6 July 2021
.infobox {
background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px;
} .infobox-title {
font-size: 2em; text-align: center;
} .infobox-image {
text-align: center;
} .infobox th {
text-align: right; vertical-align: top; width: 120px;
} .infobox td {
vertical-align: top;
}
NPC Infobox