Template:Info: Difference between revisions

From koreapedia
Spinster (talk | contribs)
Spinster (talk | contribs)
Blanked the page
Tag: Blanking
Line 1: Line 1:
<noinclude>
<!-- Template:Infobox — HTML-based, safe version, now supports image URLs -->
</noinclude>
<table class="infobox">
  <tr>
    <th class="infobox-title" colspan="2">{{{title|{{PAGENAME}}}}}</th>
  </tr>


  {{#if:{{{image|}}}|
  <tr>
    <td class="infobox-image" colspan="2" style="text-align:center;">
      <img src="{{{image}}}" alt="{{{caption|}}}" style="max-width:280px;"/>
    </td>
  </tr>
  }}
  {{#if:{{{caption|}}}|
  <tr>
    <td class="infobox-caption" colspan="2">{{{caption}}}</td>
  </tr>
  }}
  {{#if:{{{label1|}}}{{{data1|}}}|
  <tr>
    <th class="infobox-label">{{{label1}}}</th>
    <td class="infobox-data">{{{data1}}}</td>
  </tr>
  }}
  {{#if:{{{label2|}}}{{{data2|}}}|
  <tr>
    <th class="infobox-label">{{{label2}}}</th>
    <td class="infobox-data">{{{data2}}}</td>
  </tr>
  }}
  {{#if:{{{label3|}}}{{{data3|}}}|
  <tr>
    <th class="infobox-label">{{{label3}}}</th>
    <td class="infobox-data">{{{data3}}}</td>
  </tr>
  }}
  {{#if:{{{label4|}}}{{{data4|}}}|
  <tr>
    <th class="infobox-label">{{{label4}}}</th>
    <td class="infobox-data">{{{data4}}}</td>
  </tr>
  }}
  {{#if:{{{label5|}}}{{{data5|}}}|
  <tr>
    <th class="infobox-label">{{{label5}}}</th>
    <td class="infobox-data">{{{data5}}}</td>
  </tr>
  }}
  {{#if:{{{label6|}}}{{{data6|}}}|
  <tr>
    <th class="infobox-label">{{{label6}}}</th>
    <td class="infobox-data">{{{data6}}}</td>
  </tr>
  }}
  {{#if:{{{label7|}}}{{{data7|}}}|
  <tr>
    <th class="infobox-label">{{{label7}}}</th>
    <td class="infobox-data">{{{data7}}}</td>
  </tr>
  }}
  {{#if:{{{label8|}}}{{{data8|}}}|
  <tr>
    <th class="infobox-label">{{{label8}}}</th>
    <td class="infobox-data">{{{data8}}}</td>
  </tr>
  }}
  {{#if:{{{label9|}}}{{{data9|}}}|
  <tr>
    <th class="infobox-label">{{{label9}}}</th>
    <td class="infobox-data">{{{data9}}}</td>
  </tr>
  }}
  {{#if:{{{label10|}}}{{{data10|}}}|
  <tr>
    <th class="infobox-label">{{{label10}}}</th>
    <td class="infobox-data">{{{data10}}}</td>
  </tr>
  }}
</table>
<noinclude>
== Usage ==
<pre>
{{Infobox
| title  = Koreapedia
| image  = https://example.com/image.jpg
| caption = Official logo
| label1  = Founded      | data1 = 2024
| label2  = Type        | data2 = Online encyclopedia
| label3  = Headquarters | data3 = Seoul, South Korea
}}
</pre>
</noinclude>

Revision as of 19:58, 8 October 2025