Template:Source: Difference between revisions

From Metroid Wiki
Deprecating in favor of Template:File Info
m (I'll finish this later.)
 
(Deprecating in favor of Template:File Info)
 
(73 intermediate revisions by 6 users not shown)
Line 1: Line 1:
==Description==
<noinclude>{{PhasedOut|File Info}}</noinclude>{{#vardefine: type| {{#switch: {{lc:{{{type|}}}}}|ss|screen shot|screenshot=Screenshots|art|artwork|art work=Artwork|transparency|transparent|transparent images|transparent image|t=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|model=Model|web|web snapshot|webshot|web screenshot=Web Snapshots|inventory|inventories=Inventory Images|sound|sounds|audio=Audio|trophy=Trophy|#default=Miscellaneous}}}}{{#vardefine: game| {{Game-key|{{{game}}}|#default=Miscellaneous}}}}
{| style="{{round|20px}} border: 2px solid #{{mw color light}}; background: #{{mw color}}; float: center; width: 100%" cellpadding=3 cellspacing=3
<br />
{| style="{{round|20px}} border: 2px solid #{{mw color light}}; background: #{{mw color}}; float: left; width: 100%" cellpadding=3 cellspacing=3
|-
! colspan=2 | <big>''Image Sourcing''</big>
|-
! style="{{background}} {{border}}; text-align: left; width: 30%" | Type:
| style="{{background}} {{border}}" | {{#switch: {{#var: type}} |Miscellaneous={{{type|Other}}}|{{#var: type}}}}
|-
|-
{{#if: {{{game|}}}|
{{#if: {{{game|}}}|
! Game:
! style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}; text-align: left; width: 30%" {{!}} Game:
| {{{game|}}}}}
{{!}} style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}" {{!}} {{Game-link|{{{game}}}}} {{#switch:{{lc:{{{mpt|}}}}}|yes= under {{Game-link|mpt}}|}}
}}
|-
{{#if: {{{source|}}}|
! style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}; text-align: left; width: 30%" {{!}} Original source:
{{!}} style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}" {{!}} {{#switch: {{lc:{{{source|}}}}}|prima|prima guide|prima games|prima games guide= [http://www.primagames.com/ Prima Games Guide] [[File:PrimaIcon.png{{!}}50px{{!}}link=http://www.primagames.com/]] |ninten|n|nintendo=[http://www.nintendo.com/ Nintendo] [[File:Nintendo Logo.png{{!}}100px{{!}}link=http://www.nintendo.com/]] |{{{source|}}}}}}} {{#if: {{{page|}}}| - Page {{{page|}}}|}}
|-
{{#if: {{{edited|}}}|
! style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}; text-align: left; width: 30%" {{!}} Image edited by:
{{!}} style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}" {{!}} {{#ifexist: User:{{{edited|}}} | [[User:{{{edited|}}}|{{{edited|}}}]]|{{{edited|}}}}}}} {{#switch: {{lc:{{{editing tool|}}}}}|ms paint|paint|microsoft paint|mspaint= using [http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/mspaint_overview.mspx?mfr=true Microsoft Paint] [[File:PaintIcon.png{{!}}50px{{!}}Microsoft Paint]] |gnu image manipulation program|gimp= using [http://www.gimp.org/ GIMP] [[File:GimpIcon.png{{!}}50px{{!}}link=http://www.gimp.org/]] |ps|p s|photoshop|photo shop|adobe ps|adobe photo shop|adobe p s|adobeps|adobephotoshop|adobe photoshop= using [http://www.adobe.com/products/photoshop/photoshop/ Adobe Photoshop][[File:PhotoshopIcon.png{{!}}50px{{!}}link=http://www.adobe.com/products/photoshop/photoshop/]] |{{#if:{{{editing tool|}}}|using|}} {{{editing tool|}}}}}
|-
{{#if: {{{editing purpose|}}}|
! style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}; text-align: left; width: 30%" {{!}} Reason for editing:
{{!}} style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}" {{!}} {{{editing purpose|}}}}}
|-
{{#if: {{{screenshot|}}}|
! style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}; text-align: left; width: 30%" {{!}} Screenshot taken by:
{{!}} style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}" {{!}} {{#ifexist: User:{{{screenshot|}}} | [[User:{{{screenshot|}}}|{{{screenshot|}}}]]|{{{screenshot|}}}}}}}
|-
|-
! Original source:
{{#if: {{{scanned|}}}|
| {{{source|}}}
! style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}; text-align: left; width: 30%" {{!}} Image scanned by:
{{!}} style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}" {{!}} {{#ifexist: User:{{{scanned|}}} | [[User:{{{scanned|}}}|{{{scanned|}}}]]|{{{scanned|}}}}}}}
|-
|-
! Image edited by:
{{#if: {{{obtained|}}}|
| {{#ifexist: User:{{{edited|}}} | [[User:{{{edited|}}}|]] | {{{edited|}}}}}
! style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}; text-align: left; width: 30%" {{!}} Obtained from:
{{!}} valign=center style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}" {{!}} {{#switch:{{lc:{{{obtained|}}}}}|mario wiki|mariowiki=[[File:Super Mario Wiki Button.png{{!}}Mario Wiki{{!}}link={{{url|http://www.mariowiki.com/}}}]] <span class="plainlinks">[{{{url|}}} {{small|(click the image for a link)}}]</span>|mr|m r|metroid recon|metroid.retropixel.net|metroidrecon|recon=[[File:MetroidReconButton.gif{{!}}Metroid Recon{{!}}link={{{url|http://metroid.retropixel.net/}}}]] <span class="plainlinks">[{{{url|}}} {{small|(click the image for a link)}}]</span>|ninten|n|nintendo=[[File:Nintendo Logo.png{{!}}100px{{!}}link={{{url|http://www.nintendo.com/}}}]] <span class="plainlinks">[{{{url|}}} {{small|(click the image for a link)}}]</span>|mdb|m d b|metroiddatabase|metroid-database|database|metroid database=[[File:MetroidDatabaseButton.gif{{!}}link={{{url|http://www.metroid-database.com/}}}]] <span class="plainlinks">[{{{url|}}} {{small|(click the image for a link)}}]</span>|yt|you tube|youtube=[[File:YoutubeButton.png{{!}}YouTube|link={{{url|http://www.youtube.com/}}}]] <span class="plainlinks">[{{{url|}}} {{small|(click the image for a link)}}]</span>|ss|s s|shinesparker|shinesparkers.net|shinesparkers=[[File:ShinesparkersButton.png{{!}}link={{{url|http://www.shinesparkers.net/}}}]] <span class="plainlinks">[{{{url|}}} {{small|(click the image for a link)}}]</span>|mhq|metroid headquarters|metroidheadquarters=[[File:MHQButton.gif{{!}}Metroid Headquarters{{!}}link={{{url|http://www.metroidheadquarters.com/}}}]] <span class="plainlinks">[{{{url|}}} {{small|(click the image for a link)}}]</span>|{{#if:{{{url|}}}|<span class="plainlinks">[{{{url|}}} {{{obtained|}}}]</span>|{{{obtained|}}}}}}}}}
|-
|-
! Screenshot taken by:
{{#if: {{{notes|}}}|
| {{#ifexist: User:{{{screenshot|}}} | [[User:{{{screenshot|}}}|]] | {{{screenshot|}}}}}
! style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}; text-align: left; width: 30%" {{!}} Notes:
{{!}} style="background: #{{mw color dark}}; border: 1px solid #{{mw color light}}" {{!}} {{#switch:{{lc:{{{notes|}}}}}|simplify sprite=This sprite is not a true sprite, it has been simplified to become visually appealing rather than appearing as random squares.|{{{notes|}}}}}}}
|-
|-
! Image scanned by:
{{#ifeq: {{{copyright|}}} |no||
| {{#ifexist: User:{{{edited|}}} | [[User:{{{edited|}}}|]] | {{{edited|}}}}}
! rowspan="2" style="{{background}} {{border}}" {{!}} [[File:Copyright.png|center|100px|Copyright laws, beware of them.]]
{{!}} style="{{background}} {{border}} font-weight: bold" {{!}} This file is {{#switch: {{#var: type}} | Screenshots=a screenshot of|Artwork=artwork for|Sprites=a sprite from|Logbook Images=an edited screenshot of|Cover Art=cover artwork of|Scanned Images=a scanned image relating to|Audio=an audio file from|Model=a model from|#default=a screenshot of, or official artwork for,}} a copyrighted video game, and the copyright for it is probably held by the company or person that developed the game (most likely [[Nintendo]]). It is believed that its use here constitutes fair use, given that:
{{!-}}
{{!}} style="{{background}} {{border}} font-weight: bold" {{!}}
*it is used in a non-commercial setting, and therefore is not being used to generate profit in this context
*its use here does not significantly impede the right of the copyright holder to sell the copyrighted material
*it is used in a largely unaltered state, where any editing has been done purely for cosmetic purposes
*the original content of the file has not been modified, and it is not a derivative work}}
|-
|-
! Obtained with permission from:
| 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}}
| {{#switch:{{lc:{{{obtained|}}}}}|mr|m r|metroid recon|metroid.retropixel.net|metroidrecon|recon=[[File:MetroidReconButton.gif{{!}}Metroid Recon{{!}}link={{{url|http://metroid.retropixel.net/}}}]]|mdb|m d b|metroiddatabase|metroid-database|database|metroid database=|ss|s s|shinesparker|shinesparkers.net|shinesparkers=[[File:ShinesparkersButton.png{{!}}link={{{url|http://www.shinesparkers.net/}}}]]|{{{obtained|}}}}}
|}<includeonly>{{#switch: {{#var: type}} |Web Snapshots=[[Category:Web Snapshots]]|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]]|Audio=[[Category:Audio]][[Category:{{#var: game}} Audio Files]] |Model=[[Category:{{#var: game}} Models]]|Trophy=[[Category:{{#var: game}} Trophies]]|#default= {{#if: {{{type|}}} | {{#ifeq: {{#var: game}} {{#var: type}}|Miscellaneous Miscellaneous|[[Category: Miscellaneous Images]] | {{#ifeq:{{lc:{{{mpt|}}}}}|yes|[[Category:{{#var: game}} {{#var: type}}]][[Category:Metroid Prime: Trilogy {{#var: type}}]]|[[Category:{{#var: game}} {{#var: type}}]]}} | [[Category:{{#var: game}} Images]] }}}}}}</includeonly><noinclude>
|}
 
<br/>
==Code==
Below is the complete list of parameters. Any unused parameters should '''not''' be included.
 
<pre>
{{source
|type=
|game=
|mpt=
|source=
|page=
|edited=
|editing purpose=
|editing tool=
|screenshot=
|scanned=
|obtained=
|url=
|notes=
|copyright=
}}
</pre>
 
==Usage==
This template is used to source images to how they were made, obtained, rendered, etc. It has many parameters, all of which are optional. The more information provided, the better.
 
'''If the <u>type</u> and <u>game</u> parameters are provided, this template also uses the information to <u>automatically categorize</u> the image. Please provide these whenever possible.'''
 
 
*'''''Type:''''' ( type = ''type of image'': ''ss'', ''art'', ''sprite'', ''t'', ''lb'', ''cover'', ''scan'', ''manga'', ''model'', ''mw'', ''wm'', ''web'', ''inventory'', ''trophy'', or ''audio'' for screenshots, artwork, sprites, transparent images, logbook images, cover art, scanned images, scanned manga images, models, Metroid Wiki images, Wikimedia images, web snapshots, inventory images, trophies, or audio files respectively) Entering any of these options will categorize the image accordingly. If the image falls into none of these categories, however, enter a descriptive alternative (such as "type=Fan art" for fan art), which will categorize the image under [[:Category:Miscellaneous Images]].
**'''''Screenshot:''''' ( screenshot = ''username'' ) Same as edited, intended specifically for screenshots.
 
*'''''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 game's shortcut, and the image will be categorized accordingly.
 
*'''''Metroid Prime: Trilogy:''''' ( mpt = ''yes'' or simply left blank ) Use "mpt=''yes''" if the subject image is a screenshot distinct to the ''Metroid Prime 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.
**'''''Page:''''' ( page = ''page number'' ) 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 can be found, use PAL.
 
*'''''Edited:''''' ( edited = ''username'' ) The image editor's username. If the user has no profile, he or she can still be credited by simply writing his or her name here. To link to a profile under another name, write this: '''<nowiki>[[User:</nowiki> '''''profile username''''' | '''''desired displayname'''''<nowiki>]]</nowiki>'''
**'''''Editing Purpose:''''' ( editing purpose = ''purpose'' ) Why the image was edited (e.g. Quality, Transparency, Animation).
**'''''Editing Tool:''''' ( editing tool= ''program used to edit'' ) This is used to display what program was used to edit. It is optional. The commands ''GIMP'', ''Paint'', and ''Photoshop'' trigger logos with links to their respective websites. However, any other tool can be listed by writing this: '''<nowiki>[ </nowiki>'''''url''''' '''''name'''''<nowiki> ]</nowiki>'''
 
*'''''Obtained:''''' ( obtained = ''name of place obtained'' ) Such as "Nintendo" or "Metroid Database." It should be used for the official name of the place where the website was obtained. ''Nintendo'', ''YT'', ''MD'', ''MHQ'', ''SS'', and ''MR'' all trigger images for Nintendo, Youtube, Metroid Database, Metroid Headquarters, Shinesparkers, and Metroid Recon.
**'''''URL:''''' ( url = ''url'' ) The exact url of the precise page from where it was obtained. For example ''<nowiki>http://metroid.retropixel.net/metroid/artwork/</nowiki>'' a specific page on a certain website. This is necessary to credit where exactly the image was acquired. Whether or not the image was edited, it should still be credited to the website from which it was obtained. If this website credits another website, use the original one.
 
*'''''Notes:''''' Any notes that differentiate this sourcing from another. ''press'' can be used to stand for the Nintendo press site. ''simplify sprite'' says that sprites were fixed and are not true values. This works best for ''Return of Samus'' and ''Metroid 1'' sprites.
 
*'''''Copyright:''''' The Copyright portion of the template can be removed by placing "''copyright=no''" as a parameter. This should be used on any and all non-copyrighted images. Most images used in Metroid Wiki are copyrighted images used under fair use.
 
 
[[Category:Image Templates]]
[[Category:License tags]]
587

edits