Пређи на садржај

Шаблон:Cite video game/док

Iz Vojne Enciklopedije

{{#ifeq:док |док

    | 

{{#ifeq:show |show

|

        }}{{#if: |
         |   {{#ifexist:Шаблон:Cite video game
                  | [[Категорија:Документација {{#switch:Шаблон |Шаблон=шаблона |Модул=модула |Корисник=корисничких страница |#default=Википедије}}]]
                  | 
                 }}
        }}
    | 
   }}

{{#ifeq: Cite video game/док | Cite video game | }}

Usage

{{cite video game
| title = 
| developer = 
| publisher = 
| date = 
| platform = 
| version = 
| scene = 
| level = 
| language = 
| quote = 
}}
Or use the inline version
{{cite video game |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: {{#if:{{#if:Bungie|Halo 3|Bungie}}

 |Bungie (2007-09-25). Halo 3. Xbox 360. Microsoft Game Studios. {{#if:|Scene: |}}{{#if:The Storm|{{#if:|. }}Level/area: The Storm}}. »Arbiter: "More Brutes?" / Master Chief: "Worse."« 
 |Грешка: {{Cite video game}} requires title and developer parameters{{#if:| при употреби {{[[Шаблон:{{{2}}}|{{{2}}}]]}}}}{{#ifeq:|true||{{#switch:    
 {{#switch:    
   {{#if: 
     | {{{demospace}}}
     | {{#if: 
       | 
         {{#ifeq:|
         | talk
         |  
         }}
       | 
         {{#ifeq:шаблон|разговор о шаблону
         | talk
         | шаблон 
         }}
       }}
     }}
 | showall   = showall   
 | main         
 |           = 1
 | talk      =   
 | user      =   
 | wikipedia =   
 | file
 | image     = 2
 | mediawiki =   
 | template  = 2
 | help      = 2
 | category  = 2
 | portal    =   
 | book      =   
 | other
 | #default  =  
 }}

| 1 = {{#if: |[[Категорија:{{{cat}}}]]|}} | 2 = {{#if: |[[Категорија:{{{cat}}}]]|}} | 3 = | 4 = | 5 = | 6 = | showall = {{#if: |[[Категорија:{{{cat}}}]]|}}{{#if: |[[Категорија:{{{cat}}}]]|}} }}}} }}

Required parameters

  • title: Title of the game.
  • developer: Developer of the game.

Optional parameters

  • date: Full date of publication of the specified version, in ISO 8601 YYYY-MM-DD format, e.g. 2006-02-17. Must not be wikilinked.
  • 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 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

{{#if:|погледајте месечни извештај о грешкама за овај шаблон.|Ово је {{#if:|TemplateData|TemplateData}} документација за овај шаблон, коришћена у Визуелном уређивачу и у другим алаткама; погледајте месечни извештај о грешкама за овај шаблон.}}

TemplateData за Cite video game

{{#ifeq:док|sandbox||

}} <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>