Template:Infobox: Difference between revisions

Tali64^2 (talk | contribs)
Infobox so pages aren't just text
 
Tali64^2 (talk | contribs)
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="clear: both; float: right; width: 250px;">
<div style="clear: both; float: right; margin: 1em; width: 250px;">
<div style="background: #dd0000; color: #ffffff; font-weight: bold; padding: 0.5em; text-align: center;">{{{name|{{PAGENAME}}}}}</div>
<div style="background: #dd0000; color: #ffffff; font-weight: bold; padding: 0.5em; text-align: center;">{{{name|{{PAGENAME}}}}}</div>
<div style="background: #f5f5f5; border: 1px solid #aaaaaa; padding: 0.5em;">
<div style="background: #f5f5f5; border: 1px solid #aaaaaa; padding: 0.5em;">
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
<div>[[File:{{{image}}}{{!}}250px]]</div>
<div>[[File:{{{image}}}|230px]]</div>
|}}
|}}
{{#if:{{{caption|}}}|
{{#if:{{{caption|}}}|
<div>''{{{caption}}}''</div>
<div style="text-align: center;">''{{{caption}}}''</div>
|}}
|}}
<div style="border-top: 1px solid #aaaaaa;">
<div style="border-top: 1px solid #aaaaaa;">
Line 47: Line 47:
<pre>
<pre>
{{Infobox
{{Infobox
|image = BitView.png
|image = BitView.webp
|caption = BitView's logo, a modified version of the old 2005-2011 YouTube logo.
|caption = BitView's logo, a modified version of the old 2005-2011 YouTube logo.
|launched = December 2, 2017
|launched = December 2, 2017
Line 58: Line 58:
produces the following:
produces the following:
{{Infobox
{{Infobox
|image = BitView.png
|image = BitView.webp
|caption = BitView's logo, a modified version of the old 2005-2011 YouTube logo.
|caption = BitView's logo, a modified version of the old 2005-2011 YouTube logo.
|launched = December 2, 2017
|launched = December 2, 2017