Template:Release: Difference between revisions

From Imagisphere
Jump to navigation Jump to search
(Should replace the placeholder images with actual platform icons at some point, but for now I just wanna make sure this works.)
 
(Added the ability to display storage media for a release (physical, or digital))
Line 3: Line 3:
|ps4=[[File:Placeholder.png|16px|top|PlayStation 4]]
|ps4=[[File:Placeholder.png|16px|top|PlayStation 4]]
|ps5=[[File:Placeholder.png|16px|top|PlayStation 5]]
|ps5=[[File:Placeholder.png|16px|top|PlayStation 5]]
|psnow=[[File:Placeholder.png|16px|top|PlayStation Now]]
|psnow=[[File:PSNow_Icon.png|16px|top|PlayStation Now]]
|psp=[[File:Placeholder.png|16px|top|PlayStation Portable]]
|psp=[[File:Placeholder.png|16px|top|PlayStation Portable]]
|vita=[[File:Placeholder.png|16px|top|PlayStation Vita]]
|vita=[[File:Placeholder.png|16px|top|PlayStation Vita]]
|ios=[[File:Placeholder.png|16px|top|iOS]]
|ios=[[File:Placeholder.png|16px|top|iOS]]
|android=[[File:Placeholder.png|16px|top|Android]]
|android=[[File:Placeholder.png|16px|top|Android]]
}} {{{region|International}}}{{#if: {{{edition|}}} | <br><small>({{{edition}}})</small> | }}</td>
}} {{#switch:{{lc:{{{media}}}}}
|p= {{#switch:{{lc:{{{system}}}}}
    |ps3=[[File:Media_Bluray_Icon.svg|16px|top|Blu-ray Disc]]
    |ps4=[[File:Media_Bluray_Icon.svg|16px|top|Blu-ray Disc]]
    |ps5=[[File:Media_Bluray_Icon.svg|16px|top|Blu-ray Disc]]
    |psp=[[File:Media_UMD_Icon.svg|16px|top|Universal Media Disc]]
    |vita=[[File:Media_Vita_Icon.svg|12px|top|Game Card]]
    }}
|d= [[File:Download_Icon.png|16px|top|Digital Download]]
}}
{{{region|International}}}{{#if: {{{edition|}}} | <br><small>({{{edition}}})</small> | }}</td>
<td colspan="1" align="center">{{{date|?}}}</td>
<td colspan="1" align="center">{{{date|?}}}</td>
<td colspan="1" align="center">{{{code|?}}}</td>
<td colspan="1" align="center">{{{code|?}}}</td>
</tr></includeonly><noinclude>
</tr></includeonly><noinclude>
{{Bob
| noimg=        y
| title=        Example Bob
| releases= 
  {{release
    |system=  vita
    |media=  p
    |region=  ??
    |edition= Sample Edition 1
    |date=    YYYY-MM-DD
    |code=    XXXX00000
    }}
  {{release
    |system=  ps4
    |media=  d
    |region=  ??
    |edition= Sample Edition 2
    |date=    YYYY-MM-DD
    |code=    XXXX00000
    }}
  {{release
    |system=  ps3
    |media=  p
    |region=  ??
    |edition= Sample Edition 3
    |date=    YYYY-MM-DD
    |code=    XXXX00000
    }}
  {{release
    |system=  psnow
    |region=  ??
    |edition= Sample Edition 4
    |date=    YYYY-MM-DD
    |code=    XXXX00000
    }}
}}
Used in conjunction with [[Template:Bob|bob]]s to create a table of information about specific game releases. Generally speaking, this shouldn't be used on its own.
Used in conjunction with [[Template:Bob|bob]]s to create a table of information about specific game releases. Generally speaking, this shouldn't be used on its own.
==Usage==
==Usage==
Line 17: Line 64:
{{release
{{release
|system=   
|system=   
|media= 
|region=   
|region=   
|edition=  
|edition=  

Revision as of 23:53, 18 October 2021

Example Bob
Release Date (Y/M/D) Code
PlayStation Vita Game Card ??
(Sample Edition 1)
YYYY-MM-DD XXXX00000
PlayStation 4 Digital Download ??
(Sample Edition 2)
YYYY-MM-DD XXXX00000
PlayStation 3 Blu-ray Disc ??
(Sample Edition 3)
YYYY-MM-DD XXXX00000
PlayStation Now ??
(Sample Edition 4)
YYYY-MM-DD XXXX00000


Used in conjunction with bobs to create a table of information about specific game releases. Generally speaking, this shouldn't be used on its own.

Usage

{{release
|system=  
|media=   
|region=  
|edition= 
|date=    
|code=    
}}

See also