Template:Infobox: Difference between revisions
Content deleted Content added
No edit summary |
imported>Turbo566 Turbo566 changed the content model of the page Template:Infobox from "CSS" to "wikitext" |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div class="infobox" |
<div class="infobox"> |
||
<templatestyles src="Infobox.css" /> |
|||
.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-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| |
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| |
||
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} |
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} |
Latest revision as of 06:42, 11 December 2022
Infobox