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

From blackwiki
Jump to navigation Jump to search
imported>Glades12
(→‎Required parameters: Mentioned two new ones)
Line 1: Line 1:
{{Documentation subpage}}
+
documentation subpage
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
+
please place categories where indicated at the bottom this page and interwikis at wikidataseewikipediawikidatawrappertypesourcebasecite bookintricate templateusage pre>cite video game
{{cs1 wrapper |type=source |base=cite book}}
+
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>
{{Intricate template}}
+
sample inputpre><nowiki>cite video gametitlehalodeveloperbungiepublisher=microsoft game studiosdate=200709-25platformxbox 360version=1olevel=rhe storm
 
+
languagequotearbitermore brutes master chiefworse<nowiki><pre>
=== Usage ===
+
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
<pre>{{cite video game
+
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
| title =
+
platformlabelplatformtypestringrequireddescriptionplatformif applicable to the referenceuf citing something that is the same across all versionsthis is unnecessaryversionlabelversiontypestringrequireddescriptionversion numberthe video game citedif applicablescenelabelscenetypestring
| trans-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
| developer =
+
includeonly
| 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>
 

Revision as of 15:54, 18 November 2020

documentation subpage please place categories where indicated at the bottom this page and interwikis at wikidataseewikipediawikidatawrappertypesourcebasecite bookintricate templateusage pre>cite video game

title transtitle developerpublishedate platform version scene level language quote l

or use the inline version code><nowiki>cite video gametitletranstitledeveloperpublisherdate=platform=versionscenelevellanguage=quote<nowiki>
sample inputpre><nowiki>cite video gametitlehalodeveloperbungiepublisher=microsoft game studiosdate=200709-25platformxbox 360version=1olevel=rhe storm
languagequotearbitermore brutes  master chiefworse<nowiki>
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
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
platformlabelplatformtypestringrequireddescriptionplatformif applicable to the referenceuf citing something that is the same across all versionsthis is unnecessaryversionlabelversiontypestringrequireddescriptionversion numberthe video game citedif applicablescenelabelscenetypestring
		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
includeonly