Template:Game demo/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 29: Line 29:
|-
|-
| <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>
| <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 ==

Revision as of 04:06, 3 May 2023

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

Template:ModernTip Template:ModernWarning

Parameters

Example and Previews

Without also:

With also:

See Also

Game release + demo

Mod release

Delisted games

Software release