Template:Infobox: Difference between revisions
Jump to navigation
Jump to search
(added template from instruction on https://stackoverflow.com/questions/27801082/how-do-you-make-infoboxes-in-mediawiki) |
(customized fields to match WCF needs) |
||
| Line 2: | Line 2: | ||
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | ||
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} | <div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} | ||
<table>{{#if:{{{ | <table>{{#if:{{{method|}}}|<tr> | ||
<th> | <th>Entry Method</th> | ||
<td>{{{ | <td>{{{method}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{servers|}}}|<tr> | ||
<th> | <th>Available on server(s)</th> | ||
<td>{{{ | <td>{{{servers}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{permission|}}}|<tr> | ||
<th> | <th>Allowed users</th> | ||
<td>{{{ | <td>{{{permission}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{cooldown|}}}|<tr> | ||
<th> | <th>Cooldown Time</th> | ||
<td>{{{ | <td>{{{cooldown}}}</td> | ||
</tr>}}{{#if:{{{ | </tr>}}{{#if:{{{cooldown2|}}}|<tr> | ||
<th> | <th>Verified/Citizen cooldown</th> | ||
<td>{{{ | <td>{{{cooldown2}}}</td> | ||
</tr>}}</table> | </tr>}}</table> | ||
</div> | </div> | ||
Latest revision as of 17:23, 15 January 2023
Infobox