1,813
edits
mNo edit summary |
mNo edit summary |
||
Line 21: | Line 21: | ||
|- | |- | ||
{{#ifeq:{{{media|other}}}|other|| !Media | {{#ifeq:{{{media|other}}}|other|| !Media | ||
{{!}} {{#switch:{{{media}}} | album=Album | merch=Merchandise | marketing=Marketing material | website=Website | podcast=Podcast | nonmarathon={{#if:{{{title|}}}|''{{#ifexist:{{{title}}}|[[{{{title}}}]]|{{{title}}}}}''|Non-''Marathon'' | {{!}} {{#switch:{{{media}}} | album=Album | merch=Merchandise | marketing=Marketing material | website=Website | podcast=Podcast | nonmarathon={{#if:{{{title|}}}|''{{#ifexist:{{{title}}}|[[{{{title}}}]]|{{{title}}}}}''|Non-''Marathon'' file}} | #default=<span style="color:red">'''Error:''' Please remove the <code>media</code> parameter or enter one of the following, if applicable: album, merch, marketing, website, podcast, nonmarathon.</span>}} }} | ||
|- | |- | ||
{{#if:{{{artist|{{{artist1|}}}}}} | !id="fileinfotpl_aut"{{!}}Artist{{#if:{{#forargs:artist|key|value|{{#ifeq:{{#var:key}}|1||{{#if:{{#var:key}}|{{#var:value}}}}}}}}|s}} | {{#if:{{{artist|{{{artist1|}}}}}} | !id="fileinfotpl_aut"{{!}}Artist{{#if:{{#forargs:artist|key|value|{{#ifeq:{{#var:key}}|1||{{#if:{{#var:key}}|{{#var:value}}}}}}}}|s}} |