Template:Game release/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
{{syntax|<nowiki>{{game release|appid=<game appid>}}</nowiki>}} | {{syntax|<nowiki>{{game release|appid=<game appid>}}</nowiki>}} | ||
'''Optional:''' | '''Optional:''' | ||
Put <code><nowiki>{{game release|appid=<game appid>|sys=true|win=true|mac=true|linux=true|note=<insert text here>}}</nowiki></code> to show all supported systems (Win, Mac, Linux + SteamOS). | Put <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}"><nowiki>{{game release|appid=<game appid>|sys=true|win=true|mac=true|linux=true|note=<insert text here>}}</nowiki></code> to show all supported systems (Win, Mac, Linux + SteamOS). | ||
== Parameters == | == Parameters == | ||
Line 9: | Line 9: | ||
! Result | ! Result | ||
|- | |- | ||
| appid=<game/software appid> | | <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">appid=<game/software appid></code> | ||
| Set the AppID for the "<span style="color: #86BF39">Launch it now</span> or <span style="color: yellow">buy it here</span>" button. | | Set the AppID for the "<span style="color: #86BF39">Launch it now</span> or <span style="color: yellow">buy it here</span>" button. | ||
|- | |- | ||
| sys=true or show | | <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">sys=true</code> or <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">show</code> | ||
| Shows "'''Supported Systems:'''" | | Shows "'''Supported Systems:'''" | ||
|- | |- | ||
| win=true | | <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">win=true</code> | ||
| Shows "{{windows|4}}" | | Shows "{{windows|4}}" | ||
|- | |- | ||
| mac=true | | <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">mac=true</code> | ||
| Shows "{{mac|4}}" | | Shows "{{mac|4}}" | ||
|- | |- | ||
| linux=true | | <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">linux=true</code> | ||
| Shows "{{linux|4}}" | | Shows "{{linux|4}}" | ||
|- | |- | ||
| note=<insert text here> | | <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}">note=<insert text here></code> | ||
| Shows notices with custom text. | | Shows notices with custom text. | ||
|- | |- | ||
|} | |} | ||
Leaving the <code | Leaving the <code style="background:{{{bg|{{{background|rgb(0,0,0,.35)}}}}}}; border-radius:3px; color: {{{color|currentcolor}}}; padding:2px 3px; user-select:{{#switch:{{{select}}}|#default=text|1=all|2=none}}"><nowiki>|sys=true|win=true|mac=true|linux=true|note=<insert text here></nowiki></code> omitted will hide the Supported Systems, OS and Notices. | ||
== Example == | == Example == | ||
{{game release|appid=220|sys=true|win=true|mac=true|linux=true|note=This is an example text.}} | {{game release|appid=220|sys=true|win=true|mac=true|linux=true|note=This is an example text.}} | ||
{{Doc/Sandbox other|[[Category:Templates]]}} | {{Doc/Sandbox other|[[Category:Templates]]}} |
Revision as of 00:38, 14 April 2023

This is a documentation subpage for Template:Game release.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Syntax: {{game release|appid=<game appid>}}
Optional:
Put {{game release|appid=<game appid>|sys=true|win=true|mac=true|linux=true|note=<insert text here>}}
to show all supported systems (Win, Mac, Linux + SteamOS).
Parameters
Parameters | Result |
---|---|
appid=<game/software appid>
|
Set the AppID for the "Launch it now or buy it here" button. |
sys=true or show
|
Shows "Supported Systems:" |
win=true
|
Shows "![]() |
mac=true
|
Shows "![]() |
linux=true
|
Shows "![]() |
note=<insert text here>
|
Shows notices with custom text. |
Leaving the |sys=true|win=true|mac=true|linux=true|note=<insert text here>
omitted will hide the Supported Systems, OS and Notices.
Example

Game release/doc is currently available on Steam. Launch it now* or buy it from Steam (via browser or Steam client).
*Only works if Steam has been installed, please install Steam if you haven't already.
Unknown - More info on ProtonDB
Notice: This is an example text.
*Only works if Steam has been installed, please install Steam if you haven't already.
Supported Systems for this game: Windows
macOS
Linux +
SteamOS

Notice: This is an example text.