Template:Mod release/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
'''Optional:''' | '''Optional:''' | ||
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>{{mod release|game={{hl2|3.1}}|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), game/mod notices, aswell as game name. | 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>{{mod release|game={{hl2|3.1}}|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), game/mod notices, aswell as game name. | ||
''' | |||
== Parameters == | |||
{| class="standard-table plainlinks" | |||
! Parameters | |||
! Result | |||
|- | |||
| <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. | |||
|- | |||
| <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:'''" | |||
|- | |||
| <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}}" | |||
|- | |||
| <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}}" | |||
|- | |||
| <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}}" | |||
|- | |||
| <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. | |||
|- | |||
|} | |||
==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: | |||
{{mod release|game={{hl2|3.1}}|appid=17520|sys=true|win=true|mac=true|linux=true|note=This is an example text.}} | {{mod release|game={{hl2|3.1}}|appid=17520|sys=true|win=true|mac=true|linux=true|note=This is an example text.}} | ||
== See Also == | == See Also == |
Revision as of 04:33, 18 April 2023

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.
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
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. |
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:

This mod for Half-Life 2 is currently available on Steam. Launch it now* or visit it's store page via (Browser | Steam*).
For more information, click here to learn more about mods on Steam.
*Only works if Steam has been installed, please install Steam if you haven't already.
Supported Systems for this game:
Windows
macOS
Linux +
SteamOS
Steam Deck support status:
Unknown
Notice: This is an example text.
For more information, click here to learn more about mods on Steam.
*Only works if Steam has been installed, please install Steam if you haven't already.
Supported Systems for this game:




Steam Deck support status:

Notice: This is an example text.
See Also
- Template:Game release - For paid games.
- Template:Game release free - For Games that are released for free.
- Template:Game delisted - For paid games that are delisted on Steam.
- Template:Game delisted free - For free games that are delisted on Steam.