Template:InfoBox: Difference between revisions

From Ymirheim Wiki
No edit summary
m (Protected "Template:InfoBox" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(One intermediate revision by the same user not shown)
Line 27: Line 27:
         </td>
         </td>
       </tr>
       </tr>
    </table>
   </div>
   </div>
</div>
</div>
Line 52: Line 53:
         </td>
         </td>
       </tr>
       </tr>
    </table>
   </div>
   </div>
</div>
</div>

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>
Heading
Another Heading
Shelphy Adriana.png
Attribute Name Attribute Value
List Attribute
  • Value 1
  • Value 2
  • Value 3