Template:Infobox VG/sandbox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 22: Line 22:
|<!--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-->
<!--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|@$1@}}}}
{{#if:{{{series|}}}|{{!}} '''*Series''' {{!!}}{{#regex: {{#regex: {{{series|}}}|/''/|}}|/\s*([^,]+)/rs|@$1@}}}}


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