Template:Package: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (testing)
mNo edit summary
 
(35 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<div align="center">
<noinclude>{{ulf|en=1|pl=1|ru=1|vi=1}}{{doc}}
{| style="background-color: black; width: 80%; margin: .5em 0px; padding: .01em 1em; border: none;"
[[Category:Notice templates|{{PAGENAME}}]]
| style="width: 64px; height: 32px; background-color: black;" | [[Image:steam_available.png]]
</noinclude>
| style="text-align: center; background-color: black; color: white;" | The {{{package}}} package is provided on Steam<!-- for ${{{price}}} (USD)-->.<br />Click [http://storefront.steampowered.com/v/index.php?area=package&SubId={{{id}}} <span style="color: yellow">here</span>] to preview the package. Click {{SteamLinkTitled|steam://purchase/{{{id}}}|here}} to purchase the package via Steam.<br />The following items are included in this package:
 
<div style="text-align:-moz-center;">
<onlyinclude><includeonly>
{| style="margin: 0px 0px; padding: 0px 0px;width: 40%;"
{{messagebox
| style="text-align:left;color:black;" |
|text = {{#if:{{{image|}}}|[[File:{{{image}}}|320px|link=]]}}
{{{list}}}
{{#if:{{{packages|}}}||<!--
|}
-->{{Package/strings|The}} {{#if:{{{name|}}}|{{{name}}}|}} {{#if:{{{unavailable|}}}|{{Package/strings|Unavailable}}|{{Package/strings|Pack}}<br>
</div>
{{Package/strings|Click}} [http://store.steampowered.com/{{#switch:{{{url}}}|#default|package|sub=sub|bundle|bundles=bundle}}/{{{id|100}}} <span style="color: yellow">{{Package/strings|Link}}</span>] {{Package/strings|Preview}} {{Package/strings|ViewOnSteamDB}} {{steamdb|{{#switch:{{{url}}}|#default|package|sub=sub|bundle|bundles=bundle}}/{{{id|100}}}|SteamDB}}.}}<br>}}
|}
{{#if:{{{packages|}}}|{{Package/strings|Following packages}}|{{Package/strings|Following}}}}<br><div style="color: orange; display: inline-block; text-align: left; padding: .3em;">
{{{list|{{{packages|*{{Package/strings|NoGames}}}}}}}}
</div>
</div>
|image = {{#if:{{{unavailable|}}}|[[File:Steam-unavailable-Vert-trans.png|link=]]|[[File:Logo-Steam-white-notext.png|link=|64px|Steam Logo|alt=Steam Logo.]]
}}
|bgcolor = #4f55594a
|bgcolordeg = -60deg<!-- Disabled alongside fallback to bgcolor if browser doesn't support it. -->
|bgcolorgradient = #4f55594a<!-- Fallback to bgcolor if browser doesn't support it. -->
|bgcolorgradient2 = #0f13144a<!-- Fallback to bgcolor if browser doesn't support it. -->
|bdcolor = #4f5559
|bdcolor2 = #4f5559
|style = border: 2px #4f5559 solid;{{border-radius|8px}}
|txtcolor = #ffffff
}}</includeonly></onlyinclude>

Latest revision as of 04:04, 14 June 2024

English (en)Polski (pl)Русский (ru)Tiếng Việt (vi)
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
View
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

This template is used to list the games that are available for purchase or download as part of its packages/bundles.

Copy and paste

List of games included in a package

{{Package | name = <!-- Package name --> | image = <!-- (Optional) Package covers --> | id = <!-- Package ID --> | url = <!-- <package (default)/sub (default)/bundle/bundles> - This is used to switch the URLs, if the packages was located somewhere else. --> | list = <!-- Put the game/software template here. Example below: --> * {{hl2|4}} * {{hl2ep1|4}} * {{hl2ep2|4}} * {{portal|4}} * {{tf2|4}} }}

List of packages that include this game

{{Package | packages = <!-- Put the game/software template here. Example below: --> * {{tob|4}} * {{pcc|4}} * [[Package: Valve Complete Pack|Valve Complete Pack]] }}

Parameters and Examples

Parameter Description Value Previews
{{{name}}} Package name.
| name = Valve Complete Pack
{{{id}}} Package ID.
| id = 232
{{{url}}} Switch the URLs. Use this if the package was located somewhere else.
For example, Valve Complete Pack was located in http://store.steampowered.com/bundles/232 instead of http://store.steampowered.com/sub/232.
| url = bundle
{{{image}}} (Optional) Package cover.
| image = Package Cover - Valve Complete Pack.jpg
{{{list}}} List of games on this package. Don't forget to add bullets "*".
| list = *{{hl2|4}}
{{{unavailable}}} Makes the template text switch to unavailable text.
| unavailable = true
{{{packages}}} List of packages that include this game. Don't forget to add bullets "*".
| packages = *[[Package: Valve Complete Pack]]