Difference between revisions of "Template:Infobox"

From Playdate Community Wiki
Jump to: navigation, search
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="wikitable" style="color:white; float:right; margin-left: 50px; border:none; background: none;"
<div class="infobox">
!colspan="2" style="text-align: center; background:none; border:none;" | {{PAGENAME}}
{| class="wikitable" style="color:white; float:right; margin-left: 50px; margin-top: 0; border: none; background: none;"
|-
!colspan="3" style="background: none; color:yellow; border: none; padding: 0;"| [[File:{{{1}}}|alt={{PAGENAME}} logo|frameless|center|border]]
!colspan="3" style="background: none; color:yellow; padding: 0; border:none;"| [[File:{{{1}}}|frameless|center|border]]
|-style="color:white; text-align: center; background: #303133"
|-style="color:white; border:none;background: #303133"
| Released on {{#formatdate:'''{{{2}}}'''|ISO 8601}}
| Release Date:  
|-style="color:white; text-align: center; background: #303133"
| {{{2}}}
| Made by '''{{{3}}}'''
|-style="color:white; border:none;background: #303133"
|-style="color:white; text-align: center; background: #303133"
| Developers:
| Download: {{{4}}}
| {{{3}}}
|-style="color:white; text-align: center; background: #303133"
|-style="color:white; border:none;background: #303133"
|{{{5}}}
| Download:
| {{{4}}}
|-style="color:white; border:none;background: #303133"
| Size:
| {{{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