Template:Software release/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Updated docs.)
Line 16: Line 16:
| Shows "'''Supported Systems:'''"
| Shows "'''Supported Systems:'''"
|-
|-
| <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>
| <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/false></code>
| Shows "{{windows|4}}"
| Show or Hide "{{windows|4}}"
|-
|-
| <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>
| <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/false></code>
| Shows "{{mac|4}}"
| Show or Hide "{{mac|4}}"
|-
|-
| <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>
| <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/false></code>
| Shows "{{linux|4}}"
| Show or Hide "{{linux|4}}"
|-
|-
| <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>
| <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>
Line 30: Line 30:
|}
|}


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.
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=false|mac=false|linux=false|note=<insert text here></nowiki></code> omitted will hide the Supported Systems, OS and Notices.
{{ModernWarning|{{code|false}} value are non-functional!, it's need to be added to the template. For a workaround, just remove the (example: {{code|<nowiki>sys=true</nowiki>}}) for now.}}


== Example ==
== Example ==

Revision as of 03:27, 3 May 2023

Edit-copy.png
This is a documentation subpage for Template:Software release.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Usage

Syntax: {{software release|appid=<software appid>}} Optional: Put {{software release|appid=<software appid>|sys=true|win=true|mac=true|linux=true|note=<insert text here>}} to show all supported systems (Win, Mac, Linux + SteamOS).

Parameters

Leaving the |sys=true|win=false|mac=false|linux=false|note=<insert text here> omitted will hide the Supported Systems, OS and Notices.

Example

See Also

Game release + demo

Mod release

Delisted games

Software release