Jump to content

Template:Infobox: Difference between revisions

From Deffcon
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(36 intermediate revisions by the same user not shown)
Line 5: Line 5:
    
    
   <div class="infobox-image">
   <div class="infobox-image">
     [[File:{{{image|Default.png}}}|250px|alt={{{alt|Image}}}]]
     {{#if:{{{image|}}}
      | [[File:{{{image}}}|250px|alt={{{alt|Image}}}]]
      | [[File:Default.png|250px|alt=No image available]]
    }}
   </div>
   </div>
    
    
Line 12: Line 15:
       <th>Description</th>
       <th>Description</th>
       <td>{{{description|No description available}}}</td>
       <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>
     </tr>
     {{#if:{{{website|}}}|
     {{#if:{{{website|}}}|
Line 38: Line 25:
</div>
</div>
<noinclude>
<noinclude>
== Usage ==
<templatedata>
To use this template, insert:
{
 
"params": {
```wiki
"title": {
{{Infobox
"type": "string"
| title = Example Infobox
},
| image = Example.jpg
"image": {
| description = A well-structured Infobox
"type": "wiki-file-name"
| date = February 9, 2025
},
| location = Earth
"description": {},
| category = Science
"website": {
| info = Extra details
"type": "url"
| website = https://example.com
}
}}
},
"description": "Infobox with picture upload"
}
</templatedata>
</noinclude>

Latest revision as of 17:23, 13 December 2025

   Infobox Title
Description No description available

Infobox with picture upload

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
titletitle

no description

Stringoptional
imageimage

no description

Fileoptional
descriptiondescription

no description

Unknownoptional
websitewebsite

no description

URLoptional