Template:Infobox: Difference between revisions

From Beacon Space
Content deleted Content added
No edit summary
imported>Turbo566
Turbo566 changed the content model of the page Template:Infobox from "CSS" to "wikitext"
 
(9 intermediate revisions by 2 users not shown)
Line 1:
<div class="infobox" style=">
<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-image">[[File:{{{image}}}|300px]]</div>}}
Line 42 ⟶ 20:
</tr>}}</table>
</div>
<noinclude>
<templatedata>
{
"params": {
"title": {},
"image": {},
"param1": {},
"param2": {},
"param3": {},
"param4": {},
"param5": {}
}
}
</templatedata>
</noinclude>

Latest revision as of 06:42, 11 December 2022

Infobox