Template:Infobox: Difference between revisions

(Created page with "<table class="infobox" cellspacing="3" style="border-spacing:3px;width:22em;"> <caption>Test Infobox</caption> <tbody><tr> <th colspan="2" style="text-align:center;font-size:1...")
 
(Blanked the page)
Line 1: Line 1:
<table class="infobox" cellspacing="3" style="border-spacing:3px;width:22em;">
 
<caption>Test Infobox</caption>
<tbody><tr>
<th colspan="2" style="text-align:center;font-size:125%;font-weight:bold;background:#cfc;;">Above text</th>
</tr>
<tr>
<td colspan="2" style="text-align:center;">Subheader above image</td>
</tr>
<tr>
<td colspan="2" style="text-align:center;">Second subheader</td>
</tr>
<tr>
<td colspan="2" style="text-align:center;"><a href="/wiki/File:Example.png" class="image"><img alt="Example alt text" src="//upload.wikimedia.org/wikipedia/en/thumb/7/70/Example.png/200px-Example.png" width="200" height="216" srcset="//upload.wikimedia.org/wikipedia/en/7/70/Example.png 1.5x, //upload.wikimedia.org/wikipedia/en/7/70/Example.png 2x" data-file-width="275" data-file-height="297"></a>
<div>Caption displayed below example.png</div>
</td>
</tr>
<tr>
<th colspan="2" style="text-align:center;background:#ccf;;">Header defined alone</th>
</tr>
<tr>
<td colspan="2" style="text-align:center;">Data defined alone</td>
</tr>
<tr>
<th colspan="2" style="text-align:center;background:#ccf;;">All three defined (header, label, data, all with same number)</th>
</tr>
<tr>
<th scope="row" style="text-align:left;background:#ddf;;">Label and data defined (label)</th>
<td>Label and data defined (data)</td>
</tr>
<tr>
<td colspan="2" style="text-align:center;background:#ddf;;">Below text</td>
</tr>
<tr>
<td colspan="2" style="text-align:right;">
<div class="plainlinks hlist navbar mini" style="">
<ul>
<li class="nv-view"><a href="/wiki/Template:Infobox/doc" title="Template:Infobox/doc"><span title="View this template" style="">v</span></a></li>
<li class="nv-talk"><a href="/wiki/Template_talk:Infobox/doc" title="Template talk:Infobox/doc" class="mw-redirect"><span title="Discuss this template" style="">t</span></a></li>
<li class="nv-edit"><a class="external text" href="//en.wikipedia.org/w/index.php?title=Template:Infobox/doc&amp;action=edit"><span title="Edit this template" style="">e</span></a></li>
</ul>
</div>
</td>
</tr>
</tbody></table>

Revision as of 15:38, 17 June 2014