Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Difference between revisions of "Template:Infobox game"

From AppleGamingWiki, the wiki about gaming on M1 Apple silicon Macs
m (removed legacy SMW call)
m (cleaned up SMW leftovers causing random empty Wikipedia links)
 
Line 106: Line 106:
 
}}<!-- Hidden properties
 
}}<!-- Hidden properties
 
-->{{#ifeq: {{NAMESPACE}} | | <!-- begin ONLY APPLY ON PAGES IN MAIN NAMESPACE begin (fixes PCGW Steam/GOG Redirect API endpoints among other things)
 
-->{{#ifeq: {{NAMESPACE}} | | <!-- begin ONLY APPLY ON PAGES IN MAIN NAMESPACE begin (fixes PCGW Steam/GOG Redirect API endpoints among other things)
-->{{#if: {{{steam appid|}}}| [[Steam AppID::{{{steam appid}}}| ]] {{#vardefine:steam appid|{{{steam appid}}}}} }}<!--
+
-->{{#if: {{{steam appid|}}}| {{#vardefine:steam appid|{{{steam appid}}}}} }}<!--
-->{{#if: {{{steam appid side|}}}| {{#ifeq: {{{steam appid|}}}||[[Category:Invalid template usage (infobox game)]]}}{{#arraymap:{{{steam appid side|}}}|,|var|[[Steam AppID::var| ]]|&#32;}} }}<!--
+
-->{{#if: {{{steam appid side|}}}| {{#ifeq: {{{steam appid|}}}||[[Category:Invalid template usage (infobox game)]]}}{{#arraymap:{{{steam appid side|}}}|,|var||&#32;}} }}<!--
-->{{#if: {{{winehq|}}}| [[WineHQ AppID::{{{winehq}}}| ]] }}<!--
+
-->{{#if: {{{winehq|}}}| }}<!--
-->{{#if: {{{gogcom id|}}}| [[GOGcom page::{{{gogcom id}}}| ]][[GOGcom ID::{{{gogcom id}}}| ]] {{#vardefine:gogcom id|{{{gogcom id}}}}} }}<!--
+
-->{{#if: {{{gogcom id|}}}| {{#vardefine:gogcom id|{{{gogcom id}}}}} }}<!--
-->{{#if: {{{gogcom id side|}}}| {{#arraymap:{{{gogcom id side|}}}|,|var|[[GOGcom page::var| ]][[GOGcom ID::var| ]]|&#32;}} }}<!--
+
-->{{#if: {{{gogcom id side|}}}| {{#arraymap:{{{gogcom id side|}}}|,|var||&#32;}} }}<!--
-->{{#if: {{{strategywiki|}}}| [[StrategyWiki::{{{strategywiki}}}| ]] }}<!--
+
-->{{#if: {{{strategywiki|}}}| }}<!--
-->{{#if: {{{wikipedia|}}}| [[Wikipedia::{{{wikipedia}}}| ]] }}<!--
+
-->{{#if: {{{wikipedia|}}}| }}<!--
 
-->{{#if: {{{license|}}}| {{Infobox game/license|{{lc:{{{license|}}}}}}} }}<!--
 
-->{{#if: {{{license|}}}| {{Infobox game/license|{{lc:{{{license|}}}}}}} }}<!--
 
-->}}<!-- end ONLY APPLY ON PAGES IN MAIN NAMESPACE end
 
-->}}<!-- end ONLY APPLY ON PAGES IN MAIN NAMESPACE end

Latest revision as of 19:32, 29 September 2022

This template defines the table "Game". This table has not been created yet.

Documentation for the above template (sometimes hidden from view).