Jump to content

Template:Infobox: Difference between revisions

From Deffcon
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(38 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 42: Line 29:
"params": {
"params": {
"title": {
"title": {
"type": "string",
"type": "string"
"required": true
},
},
"image": {
"image": {
"type": "wiki-file-name"
"type": "wiki-file-name"
},
},
"alt": {
"description": {},
"type": "string"
"website": {
},
"type": "url"
"description": {
}
"type": "string",
"required": true
},
"date": {
"type": "date",
"required": true
},
"location": {
"type": "string"
},
"category": {},
"info": {
"type": "string"
},
"website": {}
},
},
"description": "Infobox Template"
"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