Difference between revisions of "Template:Cite video game/doc"

From blackwiki
Jump to navigation Jump to search
imported>Materialscientist
m (Reverted edits by 2804:D55:52B1:3900:F433:2C7F:B915:44CB (talk) to last version by Glades12)
 
Line 1: Line 1:
documentation subpage
+
{{Documentation subpage}}
please place categories where indicated at the bottom this page and interwikis at wikidataseewikipediawikidatawrappertypesourcebasecite bookintricate templateusage pre>cite video game
+
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
title transtitle developerpublishedate platform version scene level language quote l<pre>or use the inline version code><nowiki>cite video gametitletranstitledeveloperpublisherdate=platform=versionscenelevellanguage=quote<nowiki><code>
+
{{cs1 wrapper |type=source |base=cite book}}
sample inputpre><nowiki>cite video gametitlehalodeveloperbungiepublisher=microsoft game studiosdate=200709-25platformxbox 360version=1olevel=rhe storm
+
{{Intricate template}}
languagequotearbitermore brutes master chiefworse<nowiki><pre>
+
 
sample outputcite video gametitlehalo 3developerbungiepublishermicrosoft game studiosdate20070925platformxbox 360version1olevelthe stormlanguagequotearbitermore brutesmaster chiefworserequired parameters titletitle the gamedeveloperdeveloperthe gameusedeveloperdeveloperdeveloperdeveloperdeveloperdeveloperfor listing multiple developers optional parameterstranstitletranslated title the gameif the cited version's title is not already in Englishdatefull date opublicationthe specified version ust not be wikilinkedcrossreffor acceptable date formatssee section linkhelpcitation style 1datespublisherpublisherif applicable to translationedition; omit if identical to developer
+
=== Usage ===
languagelanguage publication don't specifyenglish" as this is the defaultversionversion if applicableplatformplatform if applicable to the reference if citing something that is the same across all versionsthis is unnecessaryquotethe quote that is used as the referenceuse single quotation marks when quoting direct speechscenescene within which the referred event or quoteif any occursegopeningstaff creditslevellevel or area within which the referred event or quote if anyoccurstemplatedatatemplatedata headertemplatedatadescriptionparamstitlelabeltitletypestringrequired truedescriptiontitle the video gamedeveloperlabeldevelopertypestringrequired truedescriptiondeveloperthe gamepublisherlabelpublishertypestringrequired descriptionpublisherif applicable to translationeditionlomit if identical to developer
+
<pre>{{cite video game
platformlabelplatformtypestringrequireddescriptionplatformif applicable to the referenceuf citing something that is the same across all versionsthis is unnecessaryversionlabelversiontypestringrequireddescriptionversion numberthe video game citedif applicablescenelabelscenetypestring
+
| title =
requireddescriptionscene within which the referred event or quoteif any occursegopeningstaff creditslevellabelLeveltypestringrequireddescriptionlevel or area within which the referred event or quote if anyoccursdatelabeldatetypestringrequireddescriptionfull date publicationthe specified versionmust not be wikilinkedquotelabel quotetypestringrequireddescriptionthe quote that is used as the referencelanguagelabellanguagetypestringrequireddescriptionlanguage  publicationspecify only if it is not englishtemplatedataincludeonly>sandbox othercategories below this line,pleaseinterwikis at Wikidata categoryvideo game typingaid templatespagemaname
+
| trans-title =
includeonly
+
| developer =
 +
| publisher =
 +
| date =
 +
| platform =
 +
| version =
 +
| scene =
 +
| level =
 +
| language =
 +
| quote =
 +
}}</pre>
 +
 
 +
;Or use the inline version: <code><nowiki>{{cite video game |title= |trans-title= |developer= |publisher= |date= |platform= |version= |scene= |level= |language= |quote=
 +
}}</nowiki></code>
 +
 
 +
Sample input:
 +
<pre><nowiki>{{cite video game
 +
|title=[[Halo 3]]
 +
|developer=[[Bungie]]
 +
|publisher=[[Microsoft Game Studios]]
 +
|date=2007-09-25
 +
|platform=[[Xbox 360]]
 +
|version=1.0
 +
|level=The Storm
 +
  |language=
 +
|quote='''Arbiter''': 'More Brutes?' / '''Master Chief''': 'Worse.'
 +
}}</nowiki></pre>
 +
Sample output:
 +
{{cite video game|title=[[Halo 3]]|developer=[[Bungie]]|publisher=[[Microsoft Game Studios]]|date=2007-09-25|platform=[[Xbox 360]]|version=1.0|level=The Storm|language=|quote='''Arbiter''': 'More Brutes?' / '''Master Chief''': 'Worse.'}}
 +
 
 +
==== Required parameters ====
 +
* '''title''': Title of the game.
 +
* '''developer''': Developer of the game.
 +
::Use '''developer2''', '''developer3''', '''developer4''', '''developer5''', '''developer6''', '''developer7''' for listing multiple developers.
 +
 
 +
==== Optional parameters ====
 +
* '''trans-title''': Translated title of the game, if the cited version's title is not already in English
 +
* '''date''': Full date of publication of the specified version. Must not be wikilinked. {{crossref|For acceptable date formats, see {{section link|Help:Citation Style 1|Dates}}.}}
 +
* '''publisher''': Publisher, if applicable to translation/edition; omit if identical to developer
 +
* '''language''': language of publication (don't specify "English" as this is the default)
 +
* '''version''': version, if applicable
 +
* '''platform''': platform, if applicable to the reference. (If citing something that is the same across all versions, this is unnecessary)
 +
* '''quote''': the quote that is used as the reference. (Use single quotation marks when quoting direct speech)
 +
* '''scene''': scene within which the referred event or quote (if any) occurs (e.g. opening, staff credits).
 +
* '''level''': level or area within which the referred event or quote (if any) occurs.
 +
 
 +
==TemplateData==
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
"description": "",
 +
"params": {
 +
"title": {
 +
"label": "Title",
 +
"type": "string",
 +
"required": true,
 +
"description": "Title of the video game"
 +
},
 +
"developer": {
 +
"label": "Developer",
 +
"type": "string",
 +
"required": true,
 +
"description": "Developer of the game"
 +
},
 +
"publisher": {
 +
"label": "Publisher",
 +
"type": "string",
 +
"required": false,
 +
"description": "Publisher, if applicable to translation/edition; omit if identical to developer"
 +
},
 +
"platform": {
 +
"label": "Platform",
 +
"type": "string",
 +
"required": false,
 +
"description": "Platform, if applicable to the reference. (If citing something that is the same across all versions, this is unnecessary)"
 +
},
 +
"version": {
 +
"label": "Version",
 +
"type": "string",
 +
"required": false,
 +
"description": "Version number of the video game cited, if applicable"
 +
},
 +
"scene": {
 +
"label": "Scene",
 +
"type": "string",
 +
"required": false,
 +
"description": "Scene within which the referred event or quote (if any) occurs (e.g. opening, staff credits)"
 +
},
 +
"level": {
 +
"label": "Level",
 +
"type": "string",
 +
"required": false,
 +
"description": "Level or area within which the referred event or quote (if any) occurs"
 +
},
 +
"date": {
 +
"label": "Date",
 +
"type": "string",
 +
"required": false,
 +
"description": "Full date of publication of the specified version. Must not be wikilinked."
 +
},
 +
"quote": {
 +
"label": "Quote",
 +
"type": "string",
 +
"required": false,
 +
"description": "The quote that is used as the reference"
 +
},
 +
"language": {
 +
"label": "Language",
 +
"type": "string",
 +
"required": false,
 +
"description": "Language of publication; specify only if it is not English"
 +
}
 +
}
 +
}
 +
</templatedata>
 +
 
 +
 
 +
<includeonly>{{sandbox other||
 +
<!-- Categories below this line, please; interwikis at Wikidata -->
 +
[[Category:Video game typing-aid templates|{{PAGENAME}}]]
 +
}}</includeonly>

Latest revision as of 15:55, 18 November 2020

Usage

{{cite video game
| title = 
| trans-title =
| developer = 
| publisher = 
| date = 
| platform = 
| version = 
| scene = 
| level = 
| language = 
| quote = 
}}
Or use the inline version
{{cite video game |title= |trans-title= |developer= |publisher= |date= |platform= |version= |scene= |level= |language= |quote= }}

Sample input:

{{cite video game
 |title=[[Halo 3]]
 |developer=[[Bungie]]
 |publisher=[[Microsoft Game Studios]]
 |date=2007-09-25
 |platform=[[Xbox 360]]
 |version=1.0
 |level=The Storm
 |language=
 |quote='''Arbiter''': 'More Brutes?' / '''Master Chief''': 'Worse.'
}}

Sample output: Bungie (2007-09-25). Halo 3 (Xbox 360) (1.0 ed.). Microsoft Game Studios. Level/area: The Storm. Arbiter: 'More Brutes?' / Master Chief: 'Worse.'

Required parameters

  • title: Title of the game.
  • developer: Developer of the game.
Use developer2, developer3, developer4, developer5, developer6, developer7 for listing multiple developers.

Optional parameters

  • trans-title: Translated title of the game, if the cited version's title is not already in English
  • date: Full date of publication of the specified version. Must not be wikilinked. For acceptable date formats, see Script error: No such module "Section link"..
  • publisher: Publisher, if applicable to translation/edition; omit if identical to developer
  • language: language of publication (don't specify "English" as this is the default)
  • version: version, if applicable
  • platform: platform, if applicable to the reference. (If citing something that is the same across all versions, this is unnecessary)
  • quote: the quote that is used as the reference. (Use single quotation marks when quoting direct speech)
  • scene: scene within which the referred event or quote (if any) occurs (e.g. opening, staff credits).
  • level: level or area within which the referred event or quote (if any) occurs.

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Cite video game

Template parameters

ParameterDescriptionTypeStatus
Titletitle

Title of the video game

Stringrequired
Developerdeveloper

Developer of the game

Stringrequired
Publisherpublisher

Publisher, if applicable to translation/edition; omit if identical to developer

Stringoptional
Platformplatform

Platform, if applicable to the reference. (If citing something that is the same across all versions, this is unnecessary)

Stringoptional
Versionversion

Version number of the video game cited, if applicable

Stringoptional
Scenescene

Scene within which the referred event or quote (if any) occurs (e.g. opening, staff credits)

Stringoptional
Levellevel

Level or area within which the referred event or quote (if any) occurs

Stringoptional
Datedate

Full date of publication of the specified version. Must not be wikilinked.

Stringoptional
Quotequote

The quote that is used as the reference

Stringoptional
Languagelanguage

Language of publication; specify only if it is not English

Stringoptional