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>")
 
No edit summary
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>
  </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>
  </div>
</div>
 


[[Category:Formatting Templates{{#translation:}}]]
[[Category:Formatting Templates{{#translation:}}]]
</noinclude>
</noinclude>

Revision as of 07:42, 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>
  </div>
</div>
Heading
Another Heading
Shelphy Adriana.png
Attribute Name Attribute Value
List Attribute
  • Value 1
  • Value 2
  • Value 3