Template:Source: Difference between revisions

From Metroid Wiki
m
Anything break?
mNo edit summary
m (Anything break?)
Line 1: Line 1:
{{#vardefine: type| {{#switch: {{lc:{{{type|}}}}}|ss|screen shot|screenshot=Screenshots|art|artwork|art work=Artwork|lb|logbook|log book=Logbook Images|mw|metroidwiki|metroid wiki=Metroid Wiki Images|cover|coverart|cover art|ca=Cover Art|scanned|scanned image|scan=Scanned Images|sprite|sprites=Sprites|wm|wikimedia|wiki media=Miscellaneous|manga=Manga Scanned Images|web|web snapshot|webshot|web screenshot=Web Snapshots|inventory|inventories=Inventory Images|#default=Miscellaneous}}}}{{#vardefine: game| {{#switch: {{lc:{{{game|}}}}}|m1|m|metroid|metroid 1|metroid1|metroid (game)=Metroid|metroid ii|metroid 2|metroid 2: return of samus|metroid 2: the return of samus|return of samus|ros|m2|metroid ii: return of samus=Metroid II: Return of Samus|sm|super|s m|supermetroid|super metroid=Super Metroid|mp1|prime|mp|prime 1|prime1|metroid prime (game)|metroid prime=Metroid Prime|mpp|pinball|metroid prime pinball|prime pinball|metroid prime: pinball=Metroid Prime Pinball|mp2|prime 2|echoes|prime2|echoes|dark echoes|mp2 echoes|mp2e|metroid prime 2: echoes=Metroid Prime 2: Echoes|mp3|corruption|mp3c|metroid prime 3|prime 3|prime3|metroid prime 3: corruption=Metroid Prime 3: Corruption|tri|trilogy|mpt|prime trilogy|prime tri|metroid prime: trilogy=Metroid Prime: Trilogy|om|other m|other|otherm|mom|metroid: other m|metroid other m|other m=Metroid: Other M|zm|zero|zero mission|zeromission|mzm|metroid: zero mission=Metroid: Zero Mission|fu|fusion|mf|metroid 4|metroid fusion=Metroid Fusion|hu|hunters|hunter|prime hunters|mph|metroid prime: hunters|metroid prime hunters=Metroid Prime Hunters|ssb|smash|ssb1|smash 1|super smash bros.=Super Smash Bros.|ssbm|melee|super smash bros. melee=Super Smash Bros. Melee|ssbb|brawl|super smash bros. brawl=Super Smash Bros. Brawl|#default=Miscellaneous}}}}
{{#vardefine: type| {{#switch: {{lc:{{{type|}}}}}|ss|screen shot|screenshot=Screenshots|art|artwork|art work=Artwork|t|transparency|transparent|transparent images|transparent image=Transparent Images|lb|logbook|log book=Logbook Images|mw|metroidwiki|metroid wiki=Metroid Wiki Images|cover|coverart|cover art|ca=Cover Art|scanned|scanned image|scan=Scanned Images|sprite|sprites=Sprites|wm|wikimedia|wiki media=Miscellaneous|manga=Manga Scanned Images|web|web snapshot|webshot|web screenshot=Web Snapshots|inventory|inventories=Inventory Images|#default=Miscellaneous}}}}{{#vardefine: game| {{#switch: {{lc:{{{game|}}}}}|m1|m|metroid|metroid 1|metroid1|metroid (game)=Metroid|metroid ii|metroid 2|metroid 2: return of samus|metroid 2: the return of samus|return of samus|ros|m2|metroid ii: return of samus=Metroid II: Return of Samus|sm|super|s m|supermetroid|super metroid=Super Metroid|mp1|prime|mp|prime 1|prime1|metroid prime (game)|metroid prime=Metroid Prime|mpp|pinball|metroid prime pinball|prime pinball|metroid prime: pinball=Metroid Prime Pinball|mp2|prime 2|echoes|prime2|echoes|dark echoes|mp2 echoes|mp2e|metroid prime 2: echoes=Metroid Prime 2: Echoes|mp3|corruption|mp3c|metroid prime 3|prime 3|prime3|metroid prime 3: corruption=Metroid Prime 3: Corruption|tri|trilogy|mpt|prime trilogy|prime tri|metroid prime: trilogy=Metroid Prime: Trilogy|om|other m|other|otherm|mom|metroid: other m|metroid other m|other m=Metroid: Other M|zm|zero|zero mission|zeromission|mzm|metroid: zero mission=Metroid: Zero Mission|fu|fusion|mf|metroid 4|metroid fusion=Metroid Fusion|hu|hunters|hunter|prime hunters|mph|metroid prime: hunters|metroid prime hunters=Metroid Prime Hunters|ssb|smash|ssb1|smash 1|super smash bros.=Super Smash Bros.|ssbm|melee|super smash bros. melee=Super Smash Bros. Melee|ssbb|brawl|super smash bros. brawl=Super Smash Bros. Brawl|#default=Miscellaneous}}}}
<br />
<br />
{| style="{{round|20px}} border: 2px solid #{{mw color light}}; background: #{{mw color}}; float: left; width: 100%" cellpadding=3 cellspacing=3
{| style="{{round|20px}} border: 2px solid #{{mw color light}}; background: #{{mw color}}; float: left; width: 100%" cellpadding=3 cellspacing=3
Line 10: Line 10:
{{#if: {{{game|}}}|
{{#if: {{{game|}}}|
! style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}; text-align: left; width: 30%" {{!}} Game:
! style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}; text-align: left; width: 30%" {{!}} Game:
{{!}} style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}" {{!}} {{#switch: {{#var:game}}|Metroid={{m1}}|Metroid II: Return of Samus={{m2}}|Super Metroid={{sm}}|Metroid Prime={{mp1}}|Metroid Prime Pinball={{mpp}}|Metroid Prime 2: Echoes={{mp2}}|Metroid Prime 3: Corruption={{mp3}}|Metroid Prime: Trilogy={{mpt}}|Metroid: Other M={{om}}|Metroid: Zero Mission={{zm}}|Metroid Fusion={{mf}}|Metroid Prime Hunters={{mph}}|Super Smash Bros.=''[[Super Smash Bros. (game)|Super Smash Bros.]]''|Super Smash Bros. Melee=''[[Super Smash Bros. Melee]]''|Super Smash Bros. Brawl=''[[Super Smash Bros. Brawl]]''|{{{game|}}}}}}}
{{!}} style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}" {{!}} {{#switch: {{#var:game}}|Metroid={{m1}}|Metroid II: Return of Samus={{m2}}|Super Metroid={{sm}}|Metroid Prime={{mp1}}|Metroid Prime Pinball={{mpp}}|Metroid Prime 2: Echoes={{mp2}}|Metroid Prime 3: Corruption={{mp3}}|Metroid Prime: Trilogy={{mpt}}|Metroid: Other M={{om}}|Metroid: Zero Mission={{zm}}|Metroid Fusion={{mf}}|Metroid Prime Hunters={{mph}}|Super Smash Bros.=''[[Super Smash Bros. (game)|Super Smash Bros.]]''|Super Smash Bros. Melee=''[[Super Smash Bros. Melee]]''|Super Smash Bros. Brawl=''[[Super Smash Bros. Brawl]]''|{{{game|}}}}}}}{{#switch:{{lc:{{{mpt|}}}}}|yes=under {{mpt}}|}}
|-
|-
{{#if: {{{source|}}}|
{{#if: {{{source|}}}|
Line 51: Line 51:
|-
|-
| style="text-align: center" colspan=2 |{{small|This image was obtained for [[Metroid Wiki:About|Metroid Wiki]]. If this image is artwork, a screenshot, or a scanned image (i.e. a copyrighted image) it can be used freely in a non-commercial setting. Otherwise, fan art or user-created art must have permission from the user that created the artwork for use.|i}}
| style="text-align: center" colspan=2 |{{small|This image was obtained for [[Metroid Wiki:About|Metroid Wiki]]. If this image is artwork, a screenshot, or a scanned image (i.e. a copyrighted image) it can be used freely in a non-commercial setting. Otherwise, fan art or user-created art must have permission from the user that created the artwork for use.|i}}
|}<includeonly>{{#switch: {{#var: type}} |Manga Scanned Images=[[Category:Manga Scanned Images]]|Cover Art=[[Category:Cover Art]][[Category:{{#var: game}} Images]]|Metroid Wiki Images=[[Category:Metroid Wiki Images]] |Wikimedia Image=[[Category:Miscellaneous Images]] |#default= {{#if: {{{type|}}} | {{#ifeq: {{#var: game}} {{#var: type}}|Miscellaneous Miscellaneous|[[Category: Miscellaneous Images]] | [[Category:{{#var: game}} {{#var: type}}]]}} | [[Category:{{#var: game}} Images]] }}}}</includeonly><noinclude>
|}<includeonly>{{#switch: {{#var: type}} |Manga Scanned Images=[[Category:Manga Scanned Images]]|Cover Art=[[Category:Cover Art]][[Category:{{#var: game}} Images]]|Metroid Wiki Images=[[Category:Metroid Wiki Images]] |Wikimedia Image=[[Category:Miscellaneous Images]] |#default= {{#if: {{{type|}}} | {{#ifeq: {{#var: game}} {{#var: type}}|Miscellaneous Miscellaneous|[[Category: Miscellaneous Images]] | {{#ifeq:{{lc:{{{mpt|}}}}}|yes|[[Category:Metroid Prime: Trilogy {{#var:type}}}}]]|[[Category:{{#var: game}} {{#var: type}}]]}} | [[Category:{{#var: game}} Images]] }}}}</includeonly><noinclude>


<br />
<br />
Line 59: Line 59:
*'''''Type:''''' ( type = ''type of image'': ''ss'', ''art'', ''sprite'', ''lb'', ''cover'', ''scan'', ''mw'', ''wm'', ''web'' for screenshot, artwork, sprites, logbook images, cover art, scanned images, Metroid Wiki images, Wikimedia images, or web snapshots respectively) If the image falls into none of these categories, enter whatever it may be, such as "type=Fan art" for fan art, this will categorize the image under Category:Miscellaneous Images.
*'''''Type:''''' ( type = ''type of image'': ''ss'', ''art'', ''sprite'', ''lb'', ''cover'', ''scan'', ''mw'', ''wm'', ''web'' for screenshot, artwork, sprites, logbook images, cover art, scanned images, Metroid Wiki images, Wikimedia images, or web snapshots respectively) If the image falls into none of these categories, enter whatever it may be, such as "type=Fan art" for fan art, this will categorize the image under Category:Miscellaneous Images.
*'''''Game:''''' ( game = ''game'' ) The game which the image depicts. Unlike most other templates, this section can be left blank. Otherwise, either fill in the full name of the game or use the name's shortcut.
*'''''Game:''''' ( game = ''game'' ) The game which the image depicts. Unlike most other templates, this section can be left blank. Otherwise, either fill in the full name of the game or use the name's shortcut.
*'''''Metroid Prime: Trilogy:''''' ( mpt = ''yes'' or simply left blank ) This only applies to the three games under ''Trilogy''. Check "mpt=''yes''" if the subject image is a screenshot distinct to ''Trilogy'' or if the particular piece of artwork only appears in ''Trilogy''.
*'''''Source:''''' ( source = ''source'' ) The core physical source from which this comes from, such as "Prima Guide" or "Metroid Fusion Gallery". Prima Guide or Nintendo set off automatic links to the Prima Games and Nintendo websites respectively.
*'''''Source:''''' ( source = ''source'' ) The core physical source from which this comes from, such as "Prima Guide" or "Metroid Fusion Gallery". Prima Guide or Nintendo set off automatic links to the Prima Games and Nintendo websites respectively.
**'''''Page:''''' ( page = ''page no.'' ) The page, if applicable, on which the image appears in the assigned source. Works well for manuals and Prima guides. For manuals, it is best to use the NTSC version of the manual, if none is found, use PAL.
**'''''Page:''''' ( page = ''page no.'' ) The page, if applicable, on which the image appears in the assigned source. Works well for manuals and Prima guides. For manuals, it is best to use the NTSC version of the manual, if none is found, use PAL.
Line 75: Line 76:
|type=
|type=
|game=
|game=
|mpt=
|source=
|source=
|page=
|page=