Template:Test: Difference between revisions

From IdleOn MMO Wiki
imported>Grzib
mNo edit summary
imported>Grzib
mNo edit summary
Line 1: Line 1:
<includeonly>
<div style="
  <div class="bestiary-cell">
    border: 1px solid #000;
    <table>
    background: #e6e6e6;
      <tr>
    border-radius: 0.7em;
        <td>
    font-size: 120%;
          <p>[[File:{{{monstername}}}.png]]</p>
    color: #000;
          <p>{{{monstername}}}</p>
    width: 100%;
        </td>
    margin: auto;
      </tr>
    overflow:hidden;">
    </table>
<table>
   </div>
  <tr border:1px solid #000;"><th>[[File:{{{icon}}}.png|64px]]</th>
</includeonly>
  <th style="width:15%; padding:3px; text-align:center; font-weight:bold;">{{{name}}}</th>
 
  <td style="padding:0 5px 0 5px;">{{{description}}}</td></tr>
<noinclude>
 
Use <pre><div class="bestiary-gallery"></pre> first to create a wrapping row of cells. Then input info for every cell:
   <tr><th>[[File:{{{icon2}}}.png|48px]]</th>
<pre>
  <th style="width:15%; text-align:center; font-weight:bold;">{{{name2}}}</th>
{{Bestiarymonster
  <td>{{{description2}}}</td></tr>
|monstername=example
</table>
|monsterlink=example      Type regular names BUT INCLUDE UNDERSCORES, ex. Green_Mushroom
</div>
}}
</pre>
</noinclude>

Revision as of 13:23, 1 December 2020

[[File:{{{icon}}}.png|64px]] {{{name}}} {{{description}}}
[[File:{{{icon2}}}.png|48px]] {{{name2}}} {{{description2}}}