Difference between revisions of "User:Garrett/Sandbox3"
From PCGamingWiki, the wiki about fixing PC games
m (?) |
(prev test) |
||
Line 1: | Line 1: | ||
− | + | {| class="vertical-navbox" cellspacing="1" cellpadding="0" style="float: right; clear: right; color: black; background: #f9f9f9; border: 1px solid #aaa; width: 300px; margin:0em 0 1.0em 1.0em; padding: 0.2em 0 0 0; border-spacing: 0.1em 0.1em 0.1em 0.1em; text-align: center; line-height: 1.4em; font-size: 93%;" | |
− | + | |+ style="padding-bottom: 2px; font-size: 125%; line-height: 1.2em; font-weight: bold;" |{{{title|{{PAGENAME}}}}} <includeonly>[[Category:Games]]</includeonly> | |
− | + | |- | |
− | {{#if: {{{cover|}}} | | + | {{#if:{{{cover|}}}| |
− | + | {{!}} style="font-size: 110%; align: center; padding-top:5px; padding-bottom:5px" {{!}} [[File:{{{cover}}}{{!}}282px]] | |
− | |||
− | |||
}} | }} | ||
+ | |- | ||
+ | {{Alternating rows table section | ||
+ | |es=background:#f0f0f0; | ||
− | {{#if: {{{developers|}}} | | + | <!-- Developers --> |
− | + | |{{#if: {{{developers|}}}| | |
− | + | {{!}} style="text-align: left; vertical-align: top; padding: 2px 4px 2px 6px;" {{!}} '''Developers''' | |
− | + | <div style="position: relative; display: block;"> | |
− | + | {{{developers}}} | |
+ | </div> | ||
+ | {{!-}} | ||
}} | }} | ||
<!-- Publishers --> | <!-- Publishers --> | ||
− | {{#if: {{{publishers|}}} | | + | |{{#if: {{{publishers|}}}| |
− | + | {{!}} style="text-align: left; vertical-align: top; padding: 2px 4px 2px 6px;" {{!}} '''Publishers''' | |
− | + | <div style="position: relative; display: block;"> | |
− | + | {{{publishers}}} | |
− | + | </div> | |
+ | {{!-}} | ||
}} | }} | ||
<!-- Engines --> | <!-- Engines --> | ||
− | {{#if: {{{engines|}}} | | + | |{{#if: {{{engines|}}}| |
− | + | {{!}} style="text-align: left; vertical-align: top; padding: 2px 4px 2px 6px;" {{!}} '''Engines''' | |
− | + | <div style="position: relative; display: block;"> | |
− | + | {{{engines}}} | |
− | + | </div> | |
+ | {{!-}} | ||
}} | }} | ||
<!-- Release dates --> | <!-- Release dates --> | ||
− | {{#if: {{{release dates|}}}| | + | |{{#if: {{{release dates|}}}| |
− | + | {{!}} style="text-align: left; vertical-align: top; padding: 2px 7px 2px 6px;" {{!}} '''Release dates''' | |
− | + | <div style="position: relative; display: block;"> | |
− | + | {{{release dates|}}} | |
− | + | </div> | |
− | }}{{#if: {{{wikipedia|}}}{{{steam appid main|{{{steam appid|}}}}}}{{{winehq|}}}| | + | {{!-}}|<includeonly>[[Category:Pages with no release dates]]</includeonly> |
− | + | }} | |
− | + | ||
− | -->{{#if: {{{winehq|}}} | <div | + | <!-- Icons --> |
+ | |{{#if: {{{wikipedia|}}}{{{steam appid main|{{{steam appid|}}}}}}{{{winehq|}}}| | ||
+ | {{!}} style="text-align: right; vertical-align: top; padding: 5px 4px 4px 6px;" {{!}} <!-- | ||
+ | -->{{#if: {{{winehq|}}} | <div style="padding:0 2px; display:inline">[[File:WineHQ Icon.svg|18px|link=http://appdb.winehq.org/objectManager.php?sClass=application&iId={{{winehq}}}|alt={{PAGENAME}} at WineHQ|{{PAGENAME}} at WineHQ]]</div>}}<!-- | ||
-->{{#if: {{{steam appid main|{{{steam appid|}}}}}} | {{#ifeq: {{#get_web_data: | -->{{#if: {{{steam appid main|{{{steam appid|}}}}}} | {{#ifeq: {{#get_web_data: | ||
url=http://m.co-optimus.com/api/games.php?search=true&steamid={{{steam appid main|{{{steam appid|}}}}}}&json=true | url=http://m.co-optimus.com/api/games.php?search=true&steamid={{{steam appid main|{{{steam appid|}}}}}}&json=true | ||
|format=JSON | |format=JSON | ||
|data=coopgameid=gameid,coopurl=urlSlug | |data=coopgameid=gameid,coopurl=urlSlug | ||
− | }} | | + | }} | Error: Invalid JSON. ||<div style="padding:0 2px; display:inline">[[File:Co-Optimus Icon.png|18px|link=http://www.co-optimus.com/game/{{#external_value:coopgameid}}/pc/{{#external_value:coopurl}}.html|alt={{PAGENAME}} at Co-Optimus|{{PAGENAME}} at Co-Optimus]]{{#vardefine:coopt|http://www.co-optimus.com/game/{{#external_value:coopgameid}}/pc/{{#external_value:coopurl}}.html}}</div>}}<div style="padding:0 2px; display:inline">[[File:SteamDB Icon.svg|18px|link=https://steamdb.info/app/{{{steam appid main|{{{steam appid|}}}}}}/|alt={{PAGENAME}} at SteamDB|{{PAGENAME}} at SteamDB]]</div> }}<!-- |
− | -->{{#if: {{{wikipedia|}}} | | + | -->{{#if: {{{wikipedia|}}} | [[File:Wikipedia Icon.svg|18px|link=Wikipedia:{{{wikipedia}}}|alt={{PAGENAME}} at Wikipedia|{{PAGENAME}} at Wikipedia]] }} |
− | + | {{!-}} | |
}} | }} | ||
Line 54: | Line 62: | ||
{{#if: {{{steam appid side|}}}| {{#arraymap:{{{steam appid side|}}}|,|var|[[Steam AppID::var| ]]| }} }} | {{#if: {{{steam appid side|}}}| {{#arraymap:{{{steam appid side|}}}|,|var|[[Steam AppID::var| ]]| }} }} | ||
{{#if: {{{winehq|}}}| [[WineHQ AppID::{{{winehq}}}| ]] }} | {{#if: {{{winehq|}}}| [[WineHQ AppID::{{{winehq}}}| ]] }} | ||
− | {{#if: {{{gogcom page|}}}| | + | {{#if: {{{gogcom page|}}}| {{#arraymap:{{{gogcom page|}}}|,|var|[[GOGcom page::var| ]]| }} }} |
{{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }} | {{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }} | ||
− | + | }} | |
+ | |}<noinclude>{{Documentation}}</noinclude> |
Revision as of 21:50, 20 September 2015
Template:Alternating rows table section
Documentation for the above template (sometimes hidden from view).
Visit User:Garrett/Sandbox3/Documentation to edit this text. (How does this work?)