Jump to content

Template:Infobox: Difference between revisions

From Deffcon
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Extension |templatemode =
<div class="infobox">
|name                =
  <div class="infobox-title">
|status              =
    {{{title|Infobox Title}}}
|type1                =  
  </div>
|type2                =
 
|hook1                =
  <div class="infobox-image">
|hook2                =
    {{#if:{{{image|}}}
|newhook1            =  
      | [[File:{{{image}}}|250px|alt={{{alt|Image}}}]]
|newhook2            =
      | [[File:Default.png|250px|alt=No image available]]
|username            =
    }}
|author              =
  </div>
|description          =  
 
|image                =
  <table>
|imagesize            =
    <tr>
|version              =
       <th>Description</th>
|update              =
      <td>{{{description|No description available}}}</td>
|version preview      =
    </tr>
|update preview       =
    {{#if:{{{website|}}}|
|compatibility policy =
    <tr>
|mediawiki            =
      <th>Website</th>
|php                  =
       <td><a href="{{{website}}}" target="_blank">{{{website}}}</a></td>
|needs-updatephp      =
    </tr>
|composer            =
    }}
|virtual domain       =
  </table>
|table1              =
</div>
|table2              =
<noinclude>
|license              =
<templatedata>
|download            =
{
|repo                =
"params": {
|readme              =
"title": {
|changelog            =
"type": "string"
|help                =
},
|example              =
"image": {
|namespace            =
"type": "wiki-file-name"
|parameters          =
},
|tags                =
"description": {},
|rights              =
"website": {
|compatibility        =
"type": "url"
|phabricator          =
}
|translate            =
},
|vagrant-role        =
"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