Difference between revisions of "Template:Infobox"

From Playdate Community Wiki
Jump to: navigation, search
 
(30 intermediate revisions by 4 users not shown)
Line 1: Line 1:
| class="wikitable" style="float:right; margin-left: 10px;"
<div class="infobox">
!colspan="2" style="text-align: center;" | {{{title}}}
{| class="wikitable" style="color:white; float:right; margin-left: 50px; margin-top: 0; border: none; background: none;"
| Release Date:  
!colspan="3" style="background: none; color:yellow; border: none; padding: 0;"| [[File:{{{1}}}|alt={{PAGENAME}} logo|frameless|center|border]]
| {{{releasedate}}}
|-style="color:white; text-align: center; background: #303133"
| Released on {{#formatdate:'''{{{2}}}'''|ISO 8601}}
|-style="color:white; text-align: center; background: #303133"
| Made by '''{{{3}}}'''
|-style="color:white; text-align: center; background: #303133"
| Download: {{{4}}}
|-style="color:white; text-align: center; background: #303133"
|{{{5}}}
|}
|}
</div>
<noinclude>
<templatedata>
{
"params": {
"1": {
"aliases": [
"logo"
],
"type": "wiki-file-name"
},
"2": {
"aliases": [
"date"
],
"type": "date",
"example": "2023-03-16",
"autovalue": "{{#formatdate:yyyy-mm-dd|ISO 8601}}"
},
"3": {
"aliases": [
"developer"
],
"type": "string"
},
"4": {
"aliases": [
"link to game"
],
"type": "url"
},
"5": {
"aliases": [
"size"
],
"type": "number"
}
},
"description": "For games.",
"format": "inline"
}
</templatedata>
</noinclude>

Latest revision as of 16:48, 16 March 2024

[[File:{{{1}}}|alt=Infobox logo|frameless|center|border]]
Released on {{{2}}}
Made by {{{3}}}
Download: {{{4}}}
{{{5}}}


For games.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11 logo

no description

Fileoptional
22 date

no description

Example
2023-03-16
Auto value
{{#formatdate:yyyy-mm-dd|ISO 8601}}
Dateoptional
33 developer

no description

Stringoptional
44 link to game

no description

URLoptional
55 size

no description

Numberoptional