Template:InfoBox: Difference between revisions
From Ymirheim Wiki
(Created page with "<includeonly><templatestyles src="Template:InfoBox/styles.css"/></includeonly><noinclude> This template is used only to provide the CSS styles info boxes. [[Category:Formatting Templates{{#translation:}}]] </noinclude>") |
m (Protected "Template:InfoBox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Template:InfoBox/styles.css"/></includeonly><noinclude> | <includeonly><templatestyles src="Template:InfoBox/styles.css"/></includeonly><noinclude> | ||
This template is used only to provide the CSS styles info boxes. | This template is used only to provide the CSS styles info boxes. You should avoid using it directly. Instead, prefer specific info boxes. | ||
== Examples == | |||
<pre><nowiki> | |||
{{InfoBox}} | |||
<div class="infobox-wrapper"> | |||
<div class="infobox"> | |||
<div class="heading">Heading</div> | |||
<div class="heading">Another Heading</div> | |||
<div class="infobox-image">[[File:Shelphy_Adriana.png|280px]]</div> | |||
<table class="infobox-table"> | |||
<tr> | |||
<th scope="row">Attribute Name</th> | |||
<td>Attribute Value</td> | |||
</tr> | |||
<tr> | |||
<th scope="row">List Attribute</th> | |||
<td> | |||
<ul> | |||
<li>Value 1</li> | |||
<li>Value 2</li> | |||
<li>Value 3</li> | |||
</ul> | |||
</td> | |||
</tr> | |||
</table> | |||
</div> | |||
</div> | |||
</nowiki></pre> | |||
{{InfoBox}} | |||
<div class="infobox-wrapper"> | |||
<div class="infobox"> | |||
<div class="heading">Heading</div> | |||
<div class="heading">Another Heading</div> | |||
<div class="infobox-image">[[File:Shelphy_Adriana.png|280px]]</div> | |||
<table class="infobox-table"> | |||
<tr> | |||
<th scope="row">Attribute Name</th> | |||
<td>Attribute Value</td> | |||
</tr> | |||
<tr> | |||
<th scope="row">List Attribute</th> | |||
<td> | |||
<ul> | |||
<li>Value 1</li> | |||
<li>Value 2</li> | |||
<li>Value 3</li> | |||
</ul> | |||
</td> | |||
</tr> | |||
</table> | |||
</div> | |||
</div> | |||
[[Category:Formatting Templates{{#translation:}}]] | [[Category:Formatting Templates{{#translation:}}]] | ||
</noinclude> | </noinclude> |
Latest revision as of 08:58, 9 July 2024
This template is used only to provide the CSS styles info boxes. You should avoid using it directly. Instead, prefer specific info boxes.
Examples
{{InfoBox}} <div class="infobox-wrapper"> <div class="infobox"> <div class="heading">Heading</div> <div class="heading">Another Heading</div> <div class="infobox-image">[[File:Shelphy_Adriana.png|280px]]</div> <table class="infobox-table"> <tr> <th scope="row">Attribute Name</th> <td>Attribute Value</td> </tr> <tr> <th scope="row">List Attribute</th> <td> <ul> <li>Value 1</li> <li>Value 2</li> <li>Value 3</li> </ul> </td> </tr> </table> </div> </div>