Template:Videogamecover: Difference between revisions

From MediaWiki
Jump to navigationJump to search
SanityOrMadness (talk | contribs)
mNo edit summary
Tigerpaw28 (talk | contribs)
Updating documentation and fixing the template so that the console parameter and source parameter do what they were intended to do. Also removing unused unnamed parameter.
Line 1: Line 1:
{{cover|{{#if:{{{cover|}}}||the cover of}} {{#if:{{{console|}}}|the {{{console}}} game}}|source={{{source|a video game}}}|owner={{{owner|[[Hasbro]]/[[TakaraTomy]] and the game publisher}}}|excerpt={{{excerpt|}}}|cover={{{cover|}}}|type=video game|nocategory=y}}
<noinclude>__NOTOC__
{{#if:{{{source|}}} ||'''To the uploader:''' Please include both the publisher of this game, and the cover artist, when drawn.}}<includeonly>[[Category:Video game covers]]</includeonly>
==Description==
<noinclude>To insert this template into an image description, use the following syntax:
{{-}}
This template is for documenting the source of an image which is a cover to a videogame.


'''<tt><nowiki>{{Videogamecover}}</nowiki></tt>'''
It can accept five optional parameters to replace the text "the cover of", identify an excerpt, identify which cover (in the event of multiple covers for a game, such as a difference between the US and UK/Europe covers), identify the source of the image, the copyright holder and the console of origin. If the source parameter is left empty, the template will show a note directing the uploader to add this, including the publisher and artist when known.


It can accept six optional parameters to replace the text "the cover of", identify an excerpt, identify which cover (in the event of multiple covers for a game, such as a difference between the US and UK/Europe covers), identify the source of the image, the copyright holder and the console of origin. The syntax for this is:


'''<tt><nowiki>{{Videogamecover|the cover of|source=SOURCENAME|owner=OWNERNAME|console=|excerpt=yes|cover=cover A}}</nowiki></tt>'''
==Usage==
===Parameters===
====Optional====
* ''source'' - The title of the game the cover belongs to
* ''owner'' - The copyright owner(s) of the game
* ''console'' - The console(s) of origin.
* ''excerpt'' - Yes/no flag for whether the image is an except or the whole cover.
* ''cover'' - Description of the specific cover variant depicted, defaults to "the cover of"
 
===Code===
<pre>
{{Videogamecover
|the cover of
|source=SOURCENAME
|owner=OWNERNAME
|console=
|excerpt=yes
|cover=cover A
}}
</pre>
==Examples==
===Code===
<pre>
{{Videogamecover
|source=''[[Transformers: Devastation]]'', art by [[Guido Guidi]]
|owner=[[Hasbro]], [[Activision]], and [[PlatinumGames]]
|console=Xbox 360, Xbox One, PlayStation 3, PlayStation 4, PC
|cover=the United States cover
}}
</pre>
===Result===
{{Videogamecover
|source=''[[Transformers: Devastation]]'', art by [[Guido Guidi]]
|owner=[[Hasbro]], [[Activision]], and [[PlatinumGames]]
|console=Xbox 360, Xbox One, PlayStation 3, PlayStation 4, PC
|cover=the United States cover
}}
===Code===
<pre>
{{Videogamecover
|source=SOURCENAME
|owner=OWNERNAME
|console=CONSOLENAME
|excerpt=yes
}}
</pre>
===Result===
{{Videogamecover
|source=SOURCENAME
|owner=OWNERNAME
|console=CONSOLENAME
|excerpt=yes
}}
[[Category:Basic image templates|{{PAGENAME}}]]</noinclude>
[[Category:Basic image templates|{{PAGENAME}}]]</noinclude>
<includeonly>
{{cover|source={{{source|a video game}}}|owner={{{owner|[[Hasbro]]/[[TakaraTomy]] and the game publisher}}}|excerpt={{{excerpt|}}}|cover={{{cover|the cover }}} of {{#if:{{{console|}}}|the {{{console}}} version(s)}}|type=video game|nocategory=y}}
{{#if:{{{source|}}} ||'''To the uploader:''' Please include both the publisher of this game, and the cover artist, when drawn.}}[[Category:Video game covers]]</includeonly>

Revision as of 01:27, 25 July 2024

Description


This template is for documenting the source of an image which is a cover to a videogame.

It can accept five optional parameters to replace the text "the cover of", identify an excerpt, identify which cover (in the event of multiple covers for a game, such as a difference between the US and UK/Europe covers), identify the source of the image, the copyright holder and the console of origin. If the source parameter is left empty, the template will show a note directing the uploader to add this, including the publisher and artist when known.


Usage

Parameters

Optional

  • source - The title of the game the cover belongs to
  • owner - The copyright owner(s) of the game
  • console - The console(s) of origin.
  • excerpt - Yes/no flag for whether the image is an except or the whole cover.
  • cover - Description of the specific cover variant depicted, defaults to "the cover of"

Code

{{Videogamecover
|the cover of
|source=SOURCENAME
|owner=OWNERNAME
|console=
|excerpt=yes
|cover=cover A
}}

Examples

Code

{{Videogamecover
|source=''[[Transformers: Devastation]]'', art by [[Guido Guidi]]
|owner=[[Hasbro]], [[Activision]], and [[PlatinumGames]]
|console=Xbox 360, Xbox One, PlayStation 3, PlayStation 4, PC
|cover=the United States cover
}}

Result

This image is the United States cover of the Xbox 360, Xbox One, PlayStation 3, PlayStation 4, PC version(s) of Transformers: Devastation, art by Guido Guidi, the copyright for which is owned by Hasbro, Activision, and PlatinumGames. It is believed that video game covers may be used on MediaWiki under the fair use provision of United States copyright law. See Copyrights.

Code

{{Videogamecover
|source=SOURCENAME
|owner=OWNERNAME
|console=CONSOLENAME
|excerpt=yes
}}

Result

This image is an excerpt from the cover of the CONSOLENAME version(s) of SOURCENAME, the copyright for which is owned by OWNERNAME. It is believed that video game covers may be used on MediaWiki under the fair use provision of United States copyright law. See Copyrights.