Template:Gameid: Difference between revisions

Template page
(Created page with "<includeonly>{{#regex:{{{id}}}|/([^,]+)(,? ?)/rs|[https://www.google.com/search?#q={{#regex:{{PAGENAME}}|/\s/|+}}+$1+site:forums.rpcs3.net&btnI $1]$2}}</includeonly><noinclude...")
 
No edit summary
Line 1: Line 1:
<includeonly>{{#regex:{{{id}}}|/([^,]+)(,? ?)/rs|[https://www.google.com/search?#q={{#regex:{{PAGENAME}}|/\s/|+}}+$1+site:forums.rpcs3.net&btnI $1]$2}}</includeonly><noinclude>
<includeonly><includeonly>{{#if:{{{1}}}|{{#regex:{{{1}}}|/([^,]+)(,? ?)/rs|[https://www.google.com/search?#q={{#regex:{{PAGENAME}}|/\s/|+}}+$1+site:forums.rpcs3.net&btnI $1]$2}}|[[Category:Game pages without GameID(s)]]}}</includeonly><noinclude>
== Overview ==
== Overview ==
This template is designed to be used in conjunction with the ''|gameid'' parameter of the [[Template:vginfobox|vginfobox template]] using <code><nowiki>{{gameid|id = GameID1, GameID2, GameID3}}</nowiki></code>. This template will allow every game ID mentioned in the infobox to be linked to its respective forum thread.  
This template is designed to be used in conjunction with the ''|gameid'' parameter of the [[Template:vginfobox|vginfobox template]] using <code><nowiki>{{gameid|GameID1, GameID2, GameID3}}</nowiki></code>. This template will allow every game ID mentioned in the infobox to be linked to its respective forum thread.  


As shown below, in case the game IDs for a game need to be distinguished from each other, the template can be used twice with breaks added in between.
As shown below, in case the game IDs for a game need to be distinguished from each other, the template can be used twice with breaks added in between.
Line 7: Line 7:
== Examples ==
== Examples ==
'''[[Demon's Souls]]''' - Standard  
'''[[Demon's Souls]]''' - Standard  
<pre>{{gameid|id=BLES00932, BLUS30443, NPEB01202, NPUB30910}}</pre>
<pre>{{gameid|BLES00932, BLUS30443, NPEB01202, NPUB30910}}</pre>




'''[[Catherine]]''' - Call separated to distinguish the regular IDs from the demo version
'''[[Catherine]]''' - Call separated to distinguish the regular IDs from the demo version
<pre>{{gameid|id=BLUS30428, BLES01459, NPUB30698, NPEB00875}}<br/>'''''Demo'''''<br/>{{gameid|id=NPUB90645}}</pre>
<pre>{{gameid|BLUS30428, BLES01459, NPUB30698, NPEB00875}}<br/>'''''Demo'''''<br/>{{gameid|NPUB90645}}</pre>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 16:06, 28 December 2017

Overview

This template is designed to be used in conjunction with the |gameid parameter of the vginfobox template using {{gameid|GameID1, GameID2, GameID3}}. This template will allow every game ID mentioned in the infobox to be linked to its respective forum thread.

As shown below, in case the game IDs for a game need to be distinguished from each other, the template can be used twice with breaks added in between.

Examples

Demon's Souls - Standard

{{gameid|BLES00932, BLUS30443, NPEB01202, NPUB30910}}


Catherine - Call separated to distinguish the regular IDs from the demo version

{{gameid|BLUS30428, BLES01459, NPUB30698, NPEB00875}}<br/>'''''Demo'''''<br/>{{gameid|NPUB90645}}