Difference between revisions of "User:RJackson/Template:Get on Steam"
m (Dictionary-dependant version to test.) |
m (Fix ifeq typo) |
||
Line 7: | Line 7: | ||
<span style="color:white; font-size:20px;">'''{{user:RJackson/Template:Gameinfo|{{{app}}}|name}}'''</span><br/> | <span style="color:white; font-size:20px;">'''{{user:RJackson/Template:Gameinfo|{{{app}}}|name}}'''</span><br/> | ||
<span style="color:#D6D7D8; font-size:15px; font-weight:bold">{{lang | <span style="color:#D6D7D8; font-size:15px; font-weight:bold">{{lang | ||
− | | en = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}} / {{user:RJackson/Template:Gameinfo|{{{app}}}|price-gbp}} / {{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} | + | | en = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}} / {{user:RJackson/Template:Gameinfo|{{{app}}}|price-gbp}} / {{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} |
− | | ar = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}}} | + | | ar = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}}} |
− | | cs = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} | + | | cs = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} |
− | | de = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} | + | | de = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} |
− | | es = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}} / {{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} | + | | es = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}} / {{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} |
− | | fi = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} | + | | fi = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} |
− | | fr = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} | + | | fr = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} |
− | | hu = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} | + | | hu = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} |
− | | it = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} | + | | it = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} |
− | | ja = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}}} | + | | ja = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}}} |
− | | ko = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}}} | + | | ko = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}}} |
− | | nl = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} | + | | nl = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} |
− | | no = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} | + | | no = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} |
− | | pl = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} | + | | pl = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} |
− | | pt = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} | + | | pt = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} |
− | | pt-br = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-brl}}}} | + | | pt-br = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-brl}}}} |
− | | ro = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} | + | | ro = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} |
− | | ru = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-rub}}}} | + | | ru = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-rub}}}} |
− | | sv = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} | + | | sv = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-eur}}}} |
− | | tr = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}}} | + | | tr = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}}} |
− | | zh-hant = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}} / {{user:RJackson/Template:Gameinfo|{{{app}}}|price-rub}}}} | + | | zh-hant = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}} / {{user:RJackson/Template:Gameinfo|{{{app}}}|price-rub}}}} |
− | | zh-hans = {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}}} | + | | zh-hans = {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|Free to play|{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}}} |
}}</span><br/> | }}</span><br/> | ||
− | {{ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|[steam://install/{{{app}}}/ <span style="color:white; font-weight:bold; padding:0 3px; background-color:#73A234; -moz-border-radius: 2px 2px 2px 2px; border-radius: 2px 2px 2px 2px;">{{lang | + | {{#ifeq:{{user:RJackson/Template:Gameinfo|{{{app}}}|price-usd}}|-|[steam://install/{{{app}}}/ <span style="color:white; font-weight:bold; padding:0 3px; background-color:#73A234; -moz-border-radius: 2px 2px 2px 2px; border-radius: 2px 2px 2px 2px;">{{lang |
| en = Install | | en = Install | ||
| cs = Instalovat | | cs = Instalovat |
Revision as of 12:47, 23 April 2013
Documentation for RJackson/Template:Get on Steam
Displays a status box on your mod's page, and adds it to the appropriate categories. Some information is loaded from Template:Dictionary/Gameinfo.
Usage:{{Get on Steam
| app = 440 // Game's app-number on Steam
| part = <yes/no> // For 2-part games (L4D, Portal)
| app2 = 550 // Second part of game.
| placing = <left/right/center> // placing of the box. Default value is right.
}}
Example:
- See source for template code.
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. User:RJackson/Template:Get on Steam/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: cs, es, fr, ko, nl, pl, pt-br, ru, zh-hant, fi (add) |