Difference between revisions of "Template:Infobox version"
(Updated template to use infobox module) |
m (Cleaned up templated, hide announcement links if they aren't provided) |
||
Line 1: | Line 1: | ||
{{Infobox|child={{{child|{{{embed|}}}}}} | {{Infobox|child={{{child|{{{embed|}}}}}} | ||
− | | above = {{{name|Unnamed}}} | + | | above = {{{name|Unnamed Version}}} |
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}} | ||
Line 8: | Line 8: | ||
| data2 = {{{date_released|Unknown}}} | | data2 = {{{date_released|Unknown}}} | ||
− | | | + | | label3 = Version Number |
− | | | + | | data3 = {{{version_number|Unknown}}} |
− | | | + | | label4 = {{#if:{{{twitter|}}}|Twitter}} |
− | | | + | | data4 = {{#if:{{{twitter|}}}|[{{{twitter|}}} Tweet]}} |
− | | | + | | label5 = {{#if:{{{steam|}}}|Steam}} |
− | | | + | | data5 = {{#if:{{{steam|}}}|[{{{steam|}}} Steam]}} |
− | | | + | | label6 = {{#if:{{{oculus|}}}|Oculus}} |
− | | | + | | data6 = {{#if:{{{oculus|}}}|[{{{oculus|}}} Oculus]}} |
}} | }} | ||
<noinclude>{{documentation}}</noinclude> | <noinclude>{{documentation}}</noinclude> |
Revision as of 15:13, 10 May 2021
Unnamed Version | |
---|---|
Date Released | Unknown |
Version Number | Unknown |
This template is used to create an infobox for a game update in Blaston.
Parameter Description
{{Infobox version | name= | image= | alt= | date_released= | version_number= | facebook= | twitter= | steam= | oculus= }}
Name
The name of the game update. This is shown at the top of the infobox. If not included, Unnamed Version is displayed.
Image
File name of the game update's image that has been uploaded to the Blaston Wiki. If an image is not included, the default image is displayed
Alt
Alt text for the image in the infobox.
Date Released
The release date of the game update. If not included, Unknown is displayed.
Version Number
This denotes the version number of this particular game update. If not included, Unknown is displayed.
A link to the announcement of the game update on Facebook.
A link to the announcement of the game update on Twitter.
Steam
A link to the announcement of the game update on Steam.
Oculus
A link to the announcement of the game update on Oculus.
Example
World Expansion Update - 1.9 | |
---|---|
Date Released | 7th April 2021 |
Version Number | 1.9 |
Tweet | |
Steam | Steam |
Oculus | Oculus |
{{Infobox version
| name= World Expansion Update - 1.9
| image= World-Expansion-Update.png
| alt= World Expansion Update - 1.9
| date_released= 7th April 2021
| version_number= 1.9
| facebook= https://www.facebook.com/BlastonGame/photos/a.132801825028911/289286976047061
| twitter= https://twitter.com/BlastonGame/status/1379720672738426885
| steam= https://store.steampowered.com/news/app/1427890/view/2996557131233425248
| oculus= https://www.oculus.com/experiences/quest/developer-post/856988564879364/
}}