Template:Game demo/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(created docs.)
 
m (autolang replace)
 
(19 intermediate revisions by 4 users not shown)
Line 2: Line 2:
==Usage==
==Usage==
{{syntax|<nowiki>{{Game demo|appid=<game appid>|also=true}}</nowiki>}}
{{syntax|<nowiki>{{Game demo|appid=<game appid>|also=true}}</nowiki>}}
==Available Languages==
{| class="standard-table plainlinks"
! Language
|-
| {{Flag|en}} English
|-
| {{Flag|es}} Spanish
|-
| {{Flag|vi}} Vietnamese (100%)
|-
| {{Flag|zh}} Chinese (Simplified)
|-
|}
{{tip|{{#switch: {{language}}|#default = Add <code>?uselang=(language code)</code> (ISO 639-1) at the end of the URLs to preview those languages. Example: <code>?uselang=es</code> for Spanish.}}}}
{{warning|Translation are not 100% accurate, some of those are done via Google Translate, it will need some improvements!, any other translation marked with 100% means that they are properly translated.}}


== Parameters ==
== Parameters ==
Line 9: Line 26:
|-
|-
| <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">download it here</span>" button.
| Set the AppID for the "<span style="color: #86BF39">'''Launch it now'''</span> or <span style="color: yellow">'''download 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}}">also=<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}}">also=<true or false></code>
| If the paid game, such as {{hl2|4}} also have a free demo available, add this option.
| If the paid game, such as {{hl2|4}} also have a free demo available, set to {{code|true}}.
|-
|-
|}
|}
{{ModernWarning|{{code|false}} value are non-functional!, it's need to be added to the template. For a workaround, just remove the ({{code|<nowiki>also=true</nowiki>}}) for now.}}


== Example and Previews ==
== Example and Previews ==
Line 24: Line 40:
{{Game demo|appid=219|also=true}}
{{Game demo|appid=219|also=true}}


== See Also ==
== See also ==
=== Game release + demo ===
=== Game release + demo ===
*[[Template:Game release]] - For paid games.
*[[Template:Game release]] - For paid games.
*[[Template:Game release free]] - For games that are released for free.
*[[Template:Game release free]] - For games that are released for free.
*'''Template:Game dem'''o - You are currently viewing this page.
*'''Template:Game demo''' - You are currently viewing this page.


=== Mod release ===
=== Mod release ===
*[[Template:Mod release]] - For Mods that are released on Steam.
*[[Template:Mod release]] - For Mods that are released on Steam.
=== Delisted softwares ===
=== Delisted games ===
*[[Template:Game delisted]] - For paid games that are delisted on Steam.
*[[Template:Game delisted]] - For paid games that are delisted on Steam.
*[[Template:Game delisted free]] - For free games that are delisted on Steam.
*[[Template:Game delisted free]] - For free games that are delisted on Steam.
 
*[[Template:Game delisted free downloadable]] - Same as above, but instead you cannot view it's store page and still able to download the game using Steam URLs workaround.
=== Software release ===
=== Software release ===
*[[Template:Software release]] - Paid version of Software/Tools.
*[[Template:Software release]] - Paid version of Software/Tools.
*[[Template:Software release free]] - Free version of Software/Tools.
*[[Template:Software release free]] - Free version of Software/Tools.
{{Doc/Sandbox other|[[Category:Templates]]}}
{{Doc/Sandbox other|[[Category:Templates]]}}

Latest revision as of 18:46, 5 August 2024

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

Usage

Syntax: {{Game demo|appid=<game appid>|also=true}}

Available Languages

Tip.pngTip:Add ?uselang=(language code) (ISO 639-1) at the end of the URLs to preview those languages. Example: ?uselang=es for Spanish.
Warning.pngWarning:Translation are not 100% accurate, some of those are done via Google Translate, it will need some improvements!, any other translation marked with 100% means that they are properly translated.

Parameters

Example and Previews

Without also:

With also:

See also

Game release + demo

Mod release

Delisted games

Software release