Template:Game release: Difference between revisions
Jump to navigation
Jump to search
(Added false value for supported systems. Also the "show/hide" value.) |
(Translations are now done via the /strings page, this will make the code much cleaner.) |
||
Line 2: | Line 2: | ||
<onlyinclude> | <onlyinclude> | ||
{{messagebox | {{messagebox | ||
|text = {{ | |text = {{Game release/strings|Main}}<br> | ||
{{#switch:{{{sys}}} | |||
|true='''<br> {{Game release/strings|SupportedSystems}} | |||
|show='''<br> {{Game release/strings|SupportedSystems}}''' | |||
|false= | |||
|hide= | |||
}} {{#switch:{{{win}}}|true={{windows|4}}|#default=|false=}} {{#switch:{{{mac}}}|true={{mac|4}}|#default=|false=}} {{#switch:{{{linux}}}|true={{linux|4}} + {{steamos|4}}|#default=|false=}} | |||
|show='''<br> {{ | |||
}}'''|false=|hide=}} {{#switch:{{{win}}}|true={{windows|4}}|#default=|false=}} {{#switch:{{{mac}}}|true={{mac|4}}|#default=|false=}} {{#switch:{{{linux}}}|true={{linux|4}} + {{steamos|4}}|#default=|false=}} | |||
{{#switch:{{{deck}}} | {{#switch:{{{deck}}} | ||
| #default = <br> {{ | | #default = <br> {{Game release/strings|DeckUnknown}}<!-- Same as Unknown by default. --> | ||
| unknown = <br> {{Game release/strings|DeckUnknown}} | |||
}} | |||
| hide = {{blank}} | | hide = {{blank}} | ||
| verified = <br> {{ | | verified = <br> {{Game release/strings|DeckVerified}} | ||
| playable = <br> {{Game release/strings|DeckPlayable}} | |||
| unsupported = <br> {{Game release/strings|DeckUnsupported}} | |||
}}{{#if:{{{note|}}}|<br><font style="color: #f47b20"> '''{{Game release/strings|Notice}}'''</font> {{{note}}}}} | |||
}} | |||
| playable = <br> {{ | |||
}} | |||
| unsupported = <br> {{ | |||
}}'''</font> {{{note}}}}} | |||
<!-- User:kr0tchet - Probably might need some rewritten to the Supported Systems + Note section to accept false value. Somebody else will probably do it.--> | <!-- User:kr0tchet - Probably might need some rewritten to the Supported Systems + Note section to accept false value. Somebody else will probably do it.--> | ||
|image = [[File:steam_available.png|link=]] | |image = [[File:steam_available.png|link=]] |
Revision as of 01:28, 4 May 2023

The above documentation is transcluded from Template:Game release/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (edit) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (edit) pages.