Template:Equipment (Infobox): Difference between revisions

From Median-XL
No edit summary
mNo edit summary
Tag: Manual revert
 
Line 1: Line 1:
<div class="infobox">
<onlyinclude>
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<infobox theme="median">
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
<title source="title"><default>{{PAGENAME}}</default></title>
<table class="infobox-table">{{#if:{{{param1|}}}|<tr>
    <image source="image"></image>
    <th>Parameter 1</th>
    <!--<group>
    <td>{{{param1}}}</td>
    <header>Build</header>
</tr>}}{{#if:{{{param2|}}}|<tr>
      <data source="melee"><label>melee</label></data>
    <th>Parameter 2</th>
          <data source="ranged"><label>ranged</label></data>
    <td>{{{param2}}}</td>
      <data source="caster"><label>caster</label></data>
</tr>}}{{#if:{{{param3|}}}|<tr>
          <data source="summoner"><label>summoner</label></data>
     <th>Parameter 3</th>
     </group>-->
     <td>{{{param3}}}</td>
    <group>
</tr>}}{{#if:{{{param4|}}}|<tr>
     <header>Runeword</header>
    <th>Parameter 4</th>
        <data source="runes"><label>runes</label></data>
     <td>{{{param4}}}</td>
     </group>
</tr>}}{{#if:{{{param5|}}}|<tr>
</infobox>
    <th>Parameter 5</th>
</onlyinclude>
    <td>{{{param5}}}</td>
<noinclude>
</tr>}}</table>
== Usage & preview ==
</div>
<pre>
{{Equipment (Infobox)
|title = {{PAGENAME}}
|image =
|melee =
|ranged =
|caster =
|summoner =
|runes =
}}
</pre>
 
[[Category:Templates]]
[[Category:Infoboxes]]
</noinclude>

Latest revision as of 09:53, 27 April 2024

<infobox theme="median"> <title source="title"><default>Equipment (Infobox)</default></title>

   <image source="image"></image>
   <group>
   <header>Runeword</header>
       <label>runes</label>
   </group>

</infobox>


Usage & preview

{{Equipment (Infobox)
|title = {{PAGENAME}}
|image = 
|melee = 
|ranged = 
|caster = 
|summoner =
|runes =
}}