Difference between revisions of "Template:RuneBox"

From Official Runecraft Wiki
Line 13: Line 13:
 
   </div>
 
   </div>
  
  <table class="rune-infobox">
+
    <table class="rune-infobox">
    <tbody>
+
      <tbody>
      <tr>
+
        <tr>
        <th class="rune-infobox-above" colspan="2">
+
          <th class="rune-infobox-above" colspan="2">
          <div class="rune-infobox-title"><b>Rune Infobox</b></div>
+
            <div class="rune-infobox-title"><b>Rune Infobox</b></div>
        </th>
+
          </th>
      </tr>
+
        </tr>
 
        
 
        
      <tr>
+
        <tr>
        <th class="rune-imagebox-above" colspan="2">
+
          <th class="rune-imagebox-above" colspan="2">
 
{{#if:{{{disp_widget|}}} |<div class="rune-infobox-display" style="margin: 0 auto;">{{{disp_widget|}}}</div> |<div class="rune-infobox-display" style="height: fit-content;width: fit-content;margin-left: auto; margin-right:auto; background-color: aliceblue;border-color: black;border-style: solid;">[[File:Coming_Soon.png]]</div>}}
 
{{#if:{{{disp_widget|}}} |<div class="rune-infobox-display" style="margin: 0 auto;">{{{disp_widget|}}}</div> |<div class="rune-infobox-display" style="height: fit-content;width: fit-content;margin-left: auto; margin-right:auto; background-color: aliceblue;border-color: black;border-style: solid;">[[File:Coming_Soon.png]]</div>}}
        </th>
+
          </th>
      </tr>
+
        </tr>
  
      <tr>
+
        <tr>
        <th class="rune-infobox-label" scope="row">
+
          <th class="rune-infobox-label" scope="row">
          Size
+
            Size
        </th>
+
          </th>
        <td class="rune-infobox-data">
+
          <td class="rune-infobox-data">
          {{{size|}}}
+
            {{{size|}}}
        </td>
+
          </td>
      </tr>
+
        </tr>
  
      <tr>
+
        <tr>
        <th class="rune-infobox-label" scope="row">
+
          <th class="rune-infobox-label" scope="row">
          Tool
+
            Tool
        </th>
+
          </th>
        <td class="rune-infobox-data">
+
          <td class="rune-infobox-data">
          {{{tool|}}}
+
            {{{tool|}}}
        </td>
+
          </td>
      </tr>
+
        </tr>
  
      {{#if:{{{uses|}}}  
+
        {{#if:{{{uses|}}}  
    |<tr>
+
      |<tr>
        <th class="rune-infobox-label" scope="row">
+
          <th class="rune-infobox-label" scope="row">
          Uses
+
            Uses
        </th>
+
          </th>
        <td class="rune-infobox-data">
+
          <td class="rune-infobox-data">
          {{{uses|}}}
+
            {{{uses|}}}
        </td>
+
          </td>
      </tr>
+
        </tr>
      }}
+
        }}
  
      {{#if:{{{energy|}}}  
+
        {{#if:{{{energy|}}}  
    |<tr>
+
      |<tr>
        <th class="rune-infobox-label" scope="row">
+
          <th class="rune-infobox-label" scope="row">
          Energy Cost
+
            Energy Cost
        </th>
+
          </th>
        <td class="rune-infobox-data">
+
          <td class="rune-infobox-data">
          {{{energy|}}}
+
            {{{energy|}}}
        </td>
+
          </td>
      </tr>
+
        </tr>
      }}
+
        }}
  
      {{#if:{{{uses|}}}
+
        {{#if:{{{uses|}}}
    |<tr>
+
      |<tr>
        <th class="rune-infobox-label" scope="row">
+
          <th class="rune-infobox-label" scope="row">
          Disabled-runes.txt
+
            Disabled-runes.txt
        </th>
+
          </th>
        <td class="rune-infobox-data">
+
          <td class="rune-infobox-data">
          {{{disabledrunestxt|}}}
+
            {{{disabledrunestxt|}}}
        </td>
+
          </td>
      </tr>
+
        </tr>
      }}
+
        }}
  
      <tr>
+
        <tr>
        <th class="rune-infobox-label" scope="row">
+
          <th class="rune-infobox-label" scope="row">
          Materials
+
            Materials
        </th>
+
          </th>
        <td class="rune-infobox-data">
+
          <td class="rune-infobox-data">
          {{{materials|}}}
+
            {{{materials|}}}
        </td>
+
          </td>
      </tr>
+
        </tr>
  
    </tbody>
+
      </tbody>
  </table>
+
    </table>
  
 
   <div style="clear: both;"></div>
 
   <div style="clear: both;"></div>

Revision as of 04:29, 26 January 2022

[create | history | purge]Documentation
This template has no documentation. If you know how to use this template, please create it.