Template:Infobox VG/sandbox: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 21: Line 21:


|<!--Series Category Links-->
|<!--Series Category Links-->
<!--Grr: spaces are not being output (i.e. this eats spaces around commas), excess category tags are output, seemingly on a empty match-->
{{#if:{{{series|}}}|{{!}} '''*Series''' {{!!}}{{#regex: {{#regex: {{{series|}}}|/''/|}}|/\s*([^,]+)/rs| [[:Category:$1 series|$1]]}}}}
{{#if:{{{series|}}}|{{!}} '''*Series''' {{!!}}{{#regex: {{#regex: {{{series|}}}|/''/|}}|/\s*([^,]+)/rs|@$1@}}}}


|{{#if:{{{platform|{{{platforms|}}}}}}| {{!}} '''Platform(s)''' {{!!}} {{{platform|{{{platforms|}}}}}}}}
|{{#if:{{{platform|{{{platforms|}}}}}}| {{!}} '''Platform(s)''' {{!!}} {{{platform|{{{platforms|}}}}}}}}