Template:Xboxxs/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added shortcut.)
m (clean up, replaced: {{Documentation subpage → {{Doc/subpage)
 
Line 1: Line 1:
{{Documentation subpage}}
{{Doc/subpage}}
{{Shortcut|
{{Shortcut|
{{t|XboxSeries}}<br>
{{t|XboxSeries}}<br>
Line 24: Line 24:
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}}}
| &rarr; {{ {{ROOTPAGENAME}} }}
| {{ {{ROOTPAGENAME}} }}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|1}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|1}}
| &rarr; {{{{ROOTPAGENAME}}|1}}
| {{{{ROOTPAGENAME}}|1}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|2}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|2}}
| &rarr; {{{{ROOTPAGENAME}}|2}}
| {{{{ROOTPAGENAME}}|2}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|3}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|3}}
| &rarr; {{{{ROOTPAGENAME}}|3}}
| {{{{ROOTPAGENAME}}|3}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4}}
| &rarr; {{{{ROOTPAGENAME}}|4}}
| {{{{ROOTPAGENAME}}|4}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|nt{{=}}0}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|nt{{=}}0}}
| &rarr; {{{{ROOTPAGENAME}}|4|nt=0}}
| {{{{ROOTPAGENAME}}|4|nt=0}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|nt{{=}}1|ico{{=}}x}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|nt{{=}}1|ico{{=}}x}}
| &rarr; {{{{ROOTPAGENAME}}|4|nt=1|ico=x}}
| {{{{ROOTPAGENAME}}|4|nt=1|ico=x}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|nt{{=}}2|ico{{=}}s}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|4|nt{{=}}2|ico{{=}}s}}
| &rarr; {{{{ROOTPAGENAME}}|4|nt=2|ico=s}}
| {{{{ROOTPAGENAME}}|4|nt=2|ico=s}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|col}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|col}}
| &rarr; {{{{ROOTPAGENAME}}|col}}
| {{{{ROOTPAGENAME}}|col}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|in}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|in}}
| &rarr; {{{{ROOTPAGENAME}}|in}}
| {{{{ROOTPAGENAME}}|in}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|only}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|only}}
| &rarr; {{{{ROOTPAGENAME}}|only}}
| {{{{ROOTPAGENAME}}|only}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|since}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|since}}
| &rarr; {{{{ROOTPAGENAME}}|since}}
| {{{{ROOTPAGENAME}}|since}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|not}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|not}}
| &rarr; {{{{ROOTPAGENAME}}|not}}
| {{{{ROOTPAGENAME}}|not}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|removed}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|removed}}
| &rarr; {{{{ROOTPAGENAME}}|removed}}
| {{{{ROOTPAGENAME}}|removed}}
|-
|-
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|also|addtext{{=}}{{tlf|csgo}} {{tlf|l4d2}}}}
| {{tlc|{{lcfirst:{{ROOTPAGENAME}}}}|also|addtext{{=}}{{tlf|csgo}} {{tlf|l4d2}}}}
| &rarr; {{{{ROOTPAGENAME}}|also|addtext={{csgo}} {{l4d2}}}}
| {{{{ROOTPAGENAME}}|also|addtext={{csgo}} {{l4d2}}}}
|}
|}



Latest revision as of 02:30, 12 January 2024

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

Usage

Delivers the icon and/or a link of the game that has this abbreviation. Can also obtain the game color.

This template is based on {{Software}}.

Parameters

  • {{{1}}} - Optional: The representation, see the examples below. Can be set to: 1, 2, 3, 4, col, in, also, only, since, removed, not.
  • {{{nt}}} - Optional: This option allows you to select a custom game name if it is specified in the template. 0 is most often a game abbreviation.
  • {{{addtext}}} - Optional: If {{{1}}} is set to in, also, only, since, removed or not, then the value of this parameter is inserted right after the game icon. Useful for multiple game icons.

Examples

Note.pngNote:Some of the examples given may lead to non-existent pages.
{{xboxxs}} Xbox Series X/S
{{xboxxs|1}} Xbox Series X/S
{{xboxxs|2}} Xbox Series X/S Xbox Series X/S
{{xboxxs|3}} Xbox Series X/S
{{xboxxs|4}} Xbox Series X/S Xbox Series X/S
{{xboxxs|4|nt=0}} Xbox Series X/S XboxXS
{{xboxxs|4|nt=1|ico=x}} Xbox Series X/S Xbox Series X
{{xboxxs|4|nt=2|ico=s}} Xbox Series X/S Xbox Series S
{{xboxxs|col}} → #9bf00b
{{xboxxs|in}} (in Xbox Series X/S)
{{xboxxs|only}} (only in Xbox Series X/S)
{{xboxxs|since}} (in all games since Xbox Series X/S)
{{xboxxs|not}} (not in Xbox Series X/S)
{{xboxxs|removed}} (removed since Xbox Series X/S)
{{xboxxs|also|addtext={{csgo}} {{l4d2}}}} (also in Xbox Series X/SCounter-Strike: Global Offensive Left 4 Dead 2)