Jump to content

Template:Infobox: Difference between revisions

From Deffcon
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(29 intermediate revisions by the same user not shown)
Line 16: Line 16:
       <td>{{{description|No description available}}}</td>
       <td>{{{description|No description available}}}</td>
     </tr>
     </tr>
    {{#if:{{{website|}}}|
     <tr>
     <tr>
       <th>Date</th>
       <th>Website</th>
       <td>{{{date|Unknown}}}</td>
       <td><a href="{{{website}}}" target="_blank">{{{website}}}</a></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>
     }}
     }}
Line 40: Line 29:
"params": {
"params": {
"title": {
"title": {
"type": "unknown",
"type": "string"
"required": true
},
},
"image": {
"image": {
"type": "wiki-file-name"
"type": "wiki-file-name"
},
},
"alt": {},
"description": {},
"description": {},
"date": {},
"location": {},
"category": {},
"info": {},
"website": {
"website": {
"type": "url"
"type": "url"
}
}
},
},
"description": "{{Infobox\n | title = Example Infobox\n | image = Example.jpg\n | alt = Example image\n | description = This infobox now supports image uploads!\n | date = February 9, 2025\n | location = Earth\n | category = Science\n | info = Additional details go here.\n | website = https://example.com\n}}"
"description": "Infobox with picture upload"
}
}
</templatedata>
</templatedata>
</noinclude>
</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