1,816
edits
mNo edit summary |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
|- | |- | ||
{{#if:{{{game|}}} | !Game | {{#if:{{{game|}}} | !Game | ||
{{!}} | {{!}} {{#ifexist:{{{game}}}|[[{{{game}}}|''{{PAGETITLE|{{{game}}}}}'' {{get id|{{{game}}}|p=y}}]]|{{{game}}}}} }} {{#if:{{{subgame|}}}|({{#ifexist:{{{subgame}}}|[[{{{subgame}}}|''{{PAGETITLE|{{{subgame}}}}}'' {{get id|{{{subgame}}}|p=y}}]]|{{{subgame}}}}})}} | ||
|- | |- | ||
{{#if:{{{film|}}} | !Film/series | {{#if:{{{film|}}} | !Film/series | ||
{{!}} | {{!}} {{#ifexist:{{{film}}}|[[{{{film}}}|''{{PAGETITLE|{{{film}}}}}'' {{get id|{{{film}}}|p=y}}]]|{{{film}}}}} }} | ||
|- | |- | ||
{{#if:{{{comic|}}} | !Comic | {{#if:{{{comic|}}} | !Comic | ||
{{!}} | {{!}} {{#ifexist:{{{comic}}}|[[{{{comic}}}|''{{PAGETITLE|{{{comic}}}}}'' {{get id|{{{comic}}}|p=y}}]]|{{{comic}}}}} }} | ||
|- | |- | ||
{{#if:{{{book|}}} | !Book | {{#if:{{{book|}}} | !Book | ||
{{!}} | {{!}} {{#ifexist:{{{book}}}|[[{{{book}}}|''{{PAGETITLE|{{{book}}}}}'' {{get id|{{{book}}}|p=y}}]]|{{{book}}}}} }} | ||
|- | |- | ||
{{#ifeq:{{{media|other}}}|other|| !Media | {{#ifeq:{{{media|other}}}|other|| !Media | ||
{{!}} {{#switch:{{{media}}} | album=Album | merch=Merchandise | marketing=Marketing material | website=Website | 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}} | ||
Line 42: | Line 42: | ||
{{#switch:{{{type}}} | {{#switch:{{{type}}} | ||
|screenshot={{#switch:{{{media}}} | |screenshot={{#switch:{{{media}}} | ||
|website=[[Category:Website screenshots]] | |||
|nonmarathon=[[Category:Non-Marathon screenshots]] | |nonmarathon=[[Category:Non-Marathon screenshots]] | ||
|#default={{#if:{{{game|}}}{{{film|}}}||[[Category:Screenshots]]}}}} | |#default={{#if:{{{game|}}}{{{film|}}}||[[Category:Screenshots]]}}}} | ||
|terminal={{#if:{{{game|}}}||[[Category:Terminal images]]}} | |terminal={{#if:{{{game|}}}||[[Category:Terminal images]]}} | ||
Line 86: | Line 86: | ||
|marketing=[[Category:Marketing audio files]] | |marketing=[[Category:Marketing audio files]] | ||
|website=[[Category:Website audio files]] | |website=[[Category:Website audio files]] | ||
|podcast=[[Category:Podcast audio files]] | |||
|nonmarathon=[[Category:Non-Marathon audio files]] | |nonmarathon=[[Category:Non-Marathon audio files]] | ||
|#default={{#if:{{{game|}}}{{{film|}}}{{{comic|}}}{{{book|}}}||[[Category:Audio files]]}}}} | |#default={{#if:{{{game|}}}{{{film|}}}{{{comic|}}}{{{book|}}}||[[Category:Audio files]]}}}} | ||
Line 151: | Line 152: | ||
-->{{#switch:{{{media|}}} | -->{{#switch:{{{media|}}} | ||
|album={{#switch:{{{type|}}} | |album={{#switch:{{{type|}}} | ||
|audio|document|cover= | |||
|#default=[[Category:Album images]]}} | |#default=[[Category:Album images]]}} | ||
|merch={{#switch:{{{type|}}} | |merch={{#switch:{{{type|}}} | ||
Line 161: | Line 162: | ||
|#default=[[Category:Marketing images]]}} | |#default=[[Category:Marketing images]]}} | ||
|website={{#switch:{{{type|}}} | |website={{#switch:{{{type|}}} | ||
|audio|document|screenshot= | |||
|#default=[[Category:Website images]]}} | |#default=[[Category:Website images]]}} | ||
|nonmarathon={{#switch:{{{type|}}} | |nonmarathon={{#switch:{{{type|}}} | ||
|screenshot|render|sprite | |audio|document|screenshot|render|sprite= | ||
|#default=[[Category:Non-Marathon images]]}} | |#default=[[Category:Non-Marathon images]]}} | ||
}}<!-- | }}<!-- | ||
Line 215: | Line 216: | ||
|- | |- | ||
! media | ! media | ||
| Media type || The type of media the file is from if it's not from a ''Marathon'' game, film, comic, or book: album, merch, marketing, website, nonmarathon. If none of these apply, don't include the parameter. | | Media type || The type of media the file is from if it's not from a ''Marathon'' game, film, comic, or book: album, merch, marketing, website, podcast, nonmarathon. If none of these apply, don't include the parameter. | ||
|- | |- | ||
! title | ! title |