79,228
edits
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
<!--Hrm, these need to be nested to not output publisher multiple times, but the if complicates that. Also these comments are likely weird since they seem to output regardless if region is present--> | <!--Hrm, these need to be nested to not output publisher multiple times, but the if complicates that. Also these comments are likely weird since they seem to output regardless if region is present--> | ||
<!--NA | <!--NA-->{{#regex:{{{publisher|}}}|/{{#regex:{{{publisher|}}}|/.*?NA.*?>.*?>\s*([^\[]*).*/r|$1|1}}/r|{{#ifeq:{{#regex:{{{publisher|}}}|/.*NA.*/rs|NA}}|NA|[[:Category:Published by {{#regex:{{{publisher|}}}|/.*?NA.*?>.*?>\s*([^\[]*).*/r|$1|1}}|{{#regex:{{{publisher|}}}|/.*?NA.*?>.*?>\s*([^\[]*).*/r|$1}}]]}}|1}}}} | ||
<!--Why does this break the infobox output by adding additional rows--> | |||
<!--JP-->{{#regex:{{{publisher|}}}|/{{#regex:{{{publisher|}}}|/.*?JP.*?>.*?>\s*([^\[]*).*/r|$1|1}}/r|{{#ifeq:{{#regex:{{{publisher|}}}|/.*JP.*/rs|JP}}|JP|[[:Category:Published by {{#regex:{{{publisher|}}}|/.*?JP.*?>.*?>\s*([^\[]*).*/r|$1|1}}|{{#regex:{{{publisher|}}}|/.*?JP.*?>.*?>\s*([^\[]*).*/r|$1}}]]}}|1}}}} | |||
}} | }} |