Template:Building: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
(Created page with "<infobox> <title source="title"> <default>{{PAGENAME}}</default> </title> <image source="image"> <default>{{PAGENAME}}.png</default> <caption source="description" /> </image> <group> <header>Information</header> <data source="source"> <label>Source</label><default>Carpenter</default> </data> <data source="cost"> <label>Cost</label><default>{{cost|coin=100|wood=100|stone=100|bronzebar=1}}</default></data> <data source="...")
 
mNo edit summary
Line 1: Line 1:
<infobox>
<div class="infobox">
  <title source="title">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
    <default>{{PAGENAME}}</default>
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
  </title>
<p style="font-weight:bold">Information</p>
  <image source="image">
<table class="infobox-table">
    <default>{{PAGENAME}}.png</default>
     {{#if:{{{source|}}}|<tr>
    <caption source="description" />
    <th>Source</th>
  </image>
    <td>{{{source}}}</td></tr>
  <group>
    }}{{#if:{{{cost|}}}|<tr>
     <header>Information</header>
    <th>Cost</th>
<data source="source">
    <td>{{{cost}}}</td></tr>
      <label>Source</label><default>[[Carpenter]]</default>
    }}{{#if:{{{unlocked|}}}|<tr>
    </data>
    <th>Unlocked</th>
<data source="cost">
    <td>{{{unlocked}}}</td></tr>
      <label>Cost</label><default>{{cost|coin=100|wood=100|stone=100|bronzebar=1}}</default></data>
     }}{{#if:{{{size|}}}|<tr>
    <data source="size">
    <th>Size(s)</th>
      <label>Size</label><default>3x3</default>
    <td>{{{size}}}</td>
     </data>
</tr>}}</table>
  </group>
</div>
</infobox>
Sample text
 
== Usage ==
Sample text
 
== Gallery ==
<gallery>
File:Example1.jpg|Caption1
File:Example2.png|Caption2
</gallery>

Revision as of 12:38, 12 December 2023

Building

Information