Template:Gplay: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (brighter text color, matching Google Play 2016 logo.)
m (much more fitting light blue color.)
Line 2: Line 2:
<includeonly><onlyinclude>{{#if:{{{1|}}}
<includeonly><onlyinclude>{{#if:{{{1|}}}


| {{#switch: {{{icon}}}|#default|show=[[File:Icon-GooglePlay.png|16px|link=https://play.google.com/store/{{#switch: {{{page}}}|#default|games=games|apps=apps|movies=movies|books=books|kids=apps/category/FAMILY}}/{{#switch: {{{page2}}}|#default|details=details|dev=dev}}?id={{urlencode:{{{1|}}}|WIKI}}|{{{2|{{{1|}}}}}}]]|hide=}} <span class="plainlinks" title="{{{2|{{{1|}}}}}}">[https://play.google.com/store/{{#switch: {{{page}}}|#default|games=games|apps=apps|movies=movies|books=books|kids=apps/category/FAMILY}}/{{#switch: {{{page2}}}|#default|details=details|dev=dev}}?id={{{1}}} <span style="color:#00ceff;">{{{2|{{{1|}}}}}}</span>]</span>
| {{#switch: {{{icon}}}|#default|show=[[File:Icon-GooglePlay.png|16px|link=https://play.google.com/store/{{#switch: {{{page}}}|#default|games=games|apps=apps|movies=movies|books=books|kids=apps/category/FAMILY}}/{{#switch: {{{page2}}}|#default|details=details|dev=dev}}?id={{urlencode:{{{1|}}}|WIKI}}|{{{2|{{{1|}}}}}}]]|hide=}} <span class="plainlinks" title="{{{2|{{{1|}}}}}}">[https://play.google.com/store/{{#switch: {{{page}}}|#default|games=games|apps=apps|movies=movies|books=books|kids=apps/category/FAMILY}}/{{#switch: {{{page2}}}|#default|details=details|dev=dev}}?id={{{1}}} <span style="color:#b5d4ff;">{{{2|{{{1|}}}}}}</span>]</span>


| {{#switch: {{{icon}}}|#default|show=[[File:Icon-GooglePlay.png|16px|link=https://play.google.com/store/|{{{alt|Google Play}}}]]|hide=}} <span class="plainlinks" title="{{{alt|Google Play}}}">[https://play.google.com/store/games <span style="color:#00ceff;">{{{alt|Google Play}}}</span>]</span>
| {{#switch: {{{icon}}}|#default|show=[[File:Icon-GooglePlay.png|16px|link=https://play.google.com/store/|{{{alt|Google Play}}}]]|hide=}} <span class="plainlinks" title="{{{alt|Google Play}}}">[https://play.google.com/store/games <span style="color:#b5d4ff;">{{{alt|Google Play}}}</span>]</span>


}}</onlyinclude></includeonly> <!-- Add categories to the /doc subpage, not here -->
}}</onlyinclude></includeonly> <!-- Add categories to the /doc subpage, not here -->

Revision as of 03:27, 14 August 2023

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
Page history

Link to Google Play Google Play Store.

Parameters and Examples

Parameter Description Example Preview
No Parameters Creates a link to Google Play - Games section.
{{gplay}}
{{{1}}} App/game IDs on Google Play. Without {{{page}}}, some links may ended up leading to 404 instead of game/app pages.
{{gplay|com.nvidia.valvesoftware.portal}}
{{{2}}} Alternative name of the link.
{{gplay|com.nvidia.valvesoftware.halflife2|Half-Life 2 on Google Play}}
{{{page}}} App category.
Values: apps (default), games, movies, books, kids.
Only specify if the game or app was located somewhere else, otherwise the link will leads to 404 page instead of games/apps page.
{{gplay|com.nvidia.valvesoftware.portal|Portal|page=apps}}
Leads to: https://play.google.com/store/apps/details?id=com.nvidia.valvesoftware.portal
{{{page2}}} Details or developer page.
Values: details (default), dev.
{{gplay|7748882896084752769|NVIDIA Lightspeed Studios|page=apps|page2=dev}}
Leads to: https://play.google.com/store/apps/dev?id=7748882896084752769
{{{icon}}} Hide/shows the icon.
Values: show (default), hide
{{gplay|icon=hide}}

See also

Cross-wiki link templates
Template Preview
{{wikipedia}}
{{wiki}}
{{w}}
Wikipedia icon Wikipedia
{{cow}} Combine overwiki icon.png Combine OverWiki
{{l4dwiki}} Left 4 Dead Wiki Left 4 Dead Wiki
{{pcgw}} Pcgw icon.png PCGamingWiki
{{portalwiki}} Portalwiki icon.png Portal Wiki
{{sboxwiki}} S&box icon.png S&Box Wiki
{{tfwiki}} Tfwiki favicon.png Team Fortress Wiki
{{twhl}} Twhl hammer emote.png TWHL Wiki
{{quakewiki}} Quake1-16px.png Quake Wiki
{{cswiki}} Counter-Strike Wiki Counter-Strike Wiki
Social media link templates
Template Preview
{{bluesky}} Bluesky Bluesky
{{discord}} Discord logo Discord
{{reddit}} Reddit logo Reddit
{{steam community}} Steam Community Steam Community
{{twitch}} Twitch logo Twitch
{{twitter}}
{{x}}
Logo for X X (Twitter)
{{youtube}} YouTube logo YouTube
Storefront link templates
Template Preview
{{steam store}} Steam Store Steam Store
{{epic}}
{{egs}}
Epic Games Store Epic Games Store
{{gplay}} Google Play Google Play
{{gog}} GOG.com GOG.com
{{ms store}}
(PC, Xbox One Xbox One, Xbox Series X/S)
Microsoft Store Microsoft Store
{{xbox store}}
(Xbox 360 Xbox 360)
Xbox Marketplace Xbox Marketplace
{{nintendo store}} Nintendo Store Nintendo Store
Other link templates
Template Preview
{{steam}} Steam Protocol
{{email}}
{{e}}
gaben@valvesoftware.com
{{github}} GitHub GitHub
{{gamebanana}} ModDB GameBanana
{{moddb}} ModDB ModDB
{{rtsl}} rtsl RTSL
{{protondb}} ProtonDB ProtonDB
{{steamdb}}
{{sdb}}
SteamDB SteamDB
{{gdrive}}
{{gd}}
Google Drive Google Drive
{{fragnet}}
{{fn}}
Frag-Net Frag-Net

ViewDiscussEdit templatePurge