Jump to content

Template:Infobox: Difference between revisions

From Deffcon
No edit summary
Tag: Reverted
Blanked the page
Tags: Blanking Reverted
Line 1: Line 1:
<div class="infobox">
 
  <div class="infobox-title">
    {{{title|Infobox Title}}}
  </div>
 
  <div class="infobox-image">
    {{#if:{{{image|}}}
      | [[File:{{{image}}}|250px|alt={{{alt|Image}}}]]
      | [[File:Default.png|250px|alt=No image available]]
    }}
  </div>
 
  <table>
    <tr>
      <th>Description</th>
      <td>{{{description|No description available}}}</td>
    </tr>
    <tr>
      <th>Date</th>
      <td>{{{date|Unknown}}}</td>
    </tr>
    <tr>
      <th>Location</th>
      <td>{{{location|Not specified}}}</td>
    </tr>
    <tr>
      <th>Category</th>
      <td>{{{category|None}}}</td>
    </tr>
    <tr>
      <th>Additional Info</th>
      <td>{{{info|None}}}</td>
    </tr>
    {{#if:{{{website|}}}|
    <tr>
      <th>Website</th>
      <td><a href="{{{website}}}" target="_blank">{{{website}}}</a></td>
    </tr>
    }}
  </table>
</div>
<noinclude>
<templatedata>
{
"params": {
"title": {},
"image": {},
"alt": {},
"description": {},
"date": {},
"location": {},
"category": {},
"info": {},
"website": {}
}
}
</templatedata>
</noinclude>

Revision as of 03:09, 9 February 2025