Template:Mod release/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎See Also: - Better organized See Also section)
Line 11: Line 11:
| <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>
| <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.
|-
| <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}}">game=<game name></code>
| Set the game name. Example: {{hl2|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}}">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>
| <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>
Line 28: Line 31:
|-
|-
|}
|}
==Example + Preview==
==Example + Preview==
<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>{{mod release|game={{hl2|3.1}}|appid=17520|sys=true|win=true|mac=true|linux=true|note=This is an example text.}}</nowiki></code> will show this:
<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>{{mod release|game={{hl2|3.1}}|appid=17520|sys=true|win=true|mac=true|linux=true|note=This is an example text.}}</nowiki></code> will show this:

Revision as of 07:09, 20 April 2023

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

Syntax: {{mod release|appid=<game appid>}} Optional: Put {{mod release|game={{hl2|3.1}}|appid=<game appid>|sys=true|win=true|mac=true|linux=true|note=<insert text here>}} to show all supported systems (Win, Mac, Linux + SteamOS), game/mod notices, aswell as game name.

Parameters

Example + Preview

{{mod release|game={{hl2|3.1}}|appid=17520|sys=true|win=true|mac=true|linux=true|note=This is an example text.}} will show this:

See Also

Game release

Mod release

  • Template:Mod release - You are currently viewing this page

Delisted games

Software release