Template:Infobox: Difference between revisions

Content deleted Content added
Created page with "<div class="infobox"> <style> .infobox { background: #eee; border: 1px solid #aaa; float: right; margin: 0 0 1em 1em; padding: 1em; width: 400px; } .i..."
 
imported>Turbo566
Turbo566 changed the content model of the page Template:Infobox from "CSS" to "wikitext"
 
(13 intermediate revisions by 2 users not shown)
Line 1:
<div class="infobox">
<templatestyles src="Infobox.css" />
<style>
.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;
}</style>
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}