Template:Protondb/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Imported from Template:Steamdb/doc.)
 
m (→‎See also: clean up, replaced: See Also → See also)
 
(3 intermediate revisions by one other user not shown)
Line 15: Line 15:
| style="text-align:center" | No Parameters
| style="text-align:center" | No Parameters
| Creates a link to '''ProtonDB'''.
| Creates a link to '''ProtonDB'''.
| style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{protondb}}</nowiki>}} (or {{CodeBlock|<nowiki>{{pdb}}</nowiki>}})
| style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{protondb}}</nowiki>}} or {{CodeBlock|<nowiki>{{pdb}}</nowiki>}}
| style="padding:.2em .5em" | {{Capsule| {{protondb}} }}
| style="padding:.2em .5em" | {{Capsule| {{protondb}} }}
|-
|-
Line 29: Line 29:
| style="padding:.2em .5em" | {{Capsule| {{protondb|app/730|CS:GO}} }}
| style="padding:.2em .5em" | {{Capsule| {{protondb|app/730|CS:GO}} }}
                               {{Capsule| {{pdb|app/550|Left 4 Dead 2}} }}
                               {{Capsule| {{pdb|app/550|Left 4 Dead 2}} }}
|-
| style="text-align:center" | {{Code| {{param|ctt}} }}
| Enable custom tooltips. Must be used alongside {{param|ctt2}} otherwise the tooltip will show up as ({{code|<nowiki>WARNING: Tooltip not specified!</nowiki>}}).<br>Values: {{code|no}} (default), {{code|yes}}
| style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{protondb|app/730|Custom tooltip without ctt2 parameter|ctt=yes}}</nowiki>}}
| style="padding:.2em .5em" | {{Capsule| {{protondb|app/730|Custom tooltip without ctt2 parameter|ctt=yes}} }}
|-
| style="text-align:center" | {{Code| {{param|ctt2}} }}
| Type your custom tooltip here. Hover your mouse to the link to see the tooltip.<br>{{Warning|May not work on mobile or PCs with touch screens.}}
| style="padding:.2em .5em" | {{CodeBlock|<nowiki>{{protondb|app/730|Custom tooltip with ctt2 parameter and text on it.|ctt=yes|ctt2=Lorem ipsum dolor sit amet}}</nowiki>}}
| style="padding:.2em .5em" | {{Capsule| {{protondb|app/730|Custom tooltip with ctt2 parameter and text on it.|ctt=yes|ctt2=Lorem ipsum dolor sit amet}} }}
|-
|-
| style="text-align:center" | {{Code| {{param|icon}} }}
| style="text-align:center" | {{Code| {{param|icon}} }}
Line 37: Line 47:
|}
|}


== See Also ==
== See also ==
{{External link templates}}
{{External link templates}}



Latest revision as of 02:27, 12 January 2024

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

Link to ProtonDB ProtonDB website.

Parameters and Examples

Parameter Description Example Preview
No Parameters Creates a link to ProtonDB.
{{protondb}}
or
{{pdb}}
{{{1}}} Link to the app page on ProtonDB.
{{protondb|app/730}}
{{{2}}} Alternative name of the link.
{{protondb|app/730|CS:GO}}
{{pdb|app/550|Left 4 Dead 2}}
{{{ctt}}} Enable custom tooltips. Must be used alongside {{{ctt2}}} otherwise the tooltip will show up as (WARNING: Tooltip not specified!).
Values: no (default), yes
{{protondb|app/730|Custom tooltip without ctt2 parameter|ctt=yes}}
{{{ctt2}}} Type your custom tooltip here. Hover your mouse to the link to see the tooltip.
Warning.pngWarning:May not work on mobile or PCs with touch screens.
{{protondb|app/730|Custom tooltip with ctt2 parameter and text on it.|ctt=yes|ctt2=Lorem ipsum dolor sit amet}}
{{{icon}}} Hide/shows the icon.
Values: show (default), hide
{{protondb|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