Difference between revisions of "Template:Itembox"

From Idlescape Wiki
Jump to navigation Jump to search
m
m
Line 2: Line 2:
 
     <div class="tile-top tile-image-std">[[{{{title}}}|<img src="{{{image}}}" alt="" height="200px;" width="auto">]]</div>
 
     <div class="tile-top tile-image-std">[[{{{title}}}|<img src="{{{image}}}" alt="" height="200px;" width="auto">]]</div>
 
     <div class="tile-bottom link-button">
 
     <div class="tile-bottom link-button">
         <p>[[{{{title}}}]]</p>
+
         <p style="font-style: bold;">[[{{{title}}}]]</p>
 
     </div>
 
     </div>
 
{{#if: {{{text|}}}|
 
{{#if: {{{text|}}}|
<p style="text-align: center; font-style: italic;">{{{text}}}</p>
+
<p style="text-align: center; font-style: italic; padding: 0 15px 0 15px;">{{{text}}}</p>
 
|}}
 
|}}
 
</div>
 
</div>
Line 14: Line 14:
 
   |title =
 
   |title =
 
   |image =
 
   |image =
   |text =
+
   |text = optional
 
   <nowiki>}}</nowiki>
 
   <nowiki>}}</nowiki>
 
   
 
   

Revision as of 12:05, 10 September 2020

[[{{{title}}}|]]

Usage

<div class="mainpage-contents tile-row">
 {{Itembox
  |title =
  |image =
  |text = optional
 }}

 //another Itembox could go here..
</div>