Шаблон:Cite video game/док
{{#ifeq:док |док
|
{{#ifeq:show |show
|
| Ово је документациона подстраница за Шаблон:Cite video game. Садржи информације о коришћењу, категоријама и другом садржају који није део оригиналне странице. |
}}{{#if: |
| {{#ifexist:Шаблон:Cite video game
| [[Категорија:Документација {{#switch:Шаблон |Шаблон=шаблона |Модул=модула |Корисник=корисничких страница |#default=Википедије}}]]
|
}}
}}
|
}}
| Овај шаблон употребљава замршене функције викисинтаксе.
Саветује Вам се да се упознате са поставкама за шаблон и парсер функцијама пре уређивања. Ако Ваша измена проузрокује неочекиване проблеме, молимо да је вратите што је пре могуће, зато што се овај шаблон вероватно користи на великом броју страница. Имајте на уму да можете да проводите експерименте и да требате да тестирате сваку евентуалну измену, или на {{#switch: {{#ifexist:Шаблон:Cite video game/док/sandbox |sandbox | {{#ifexist:Шаблон:Cite video game/док/Sandbox |Sandbox | {{#ifexist:Шаблон:Cite video game/док/test sandbox|test sandbox| {{#ifexist:Шаблон:Cite video game/док/Test sandbox|Test sandbox| {{#ifexist:Шаблон:Cite video game/док/test |test | {{#ifexist:Шаблон:Cite video game/док/Test |Test | {{#ifexist:Шаблон:Cite video game/док/песак |песак | {{#ifexist:Шаблон:Cite video game/док/Песак |Песак | {{#ifexist:Шаблон:Cite video game/док/тест песак |тест песак | {{#ifexist:Шаблон:Cite video game/док/Тест песак |Тест песак | {{#ifexist:Шаблон:Cite video game/док/тест |тест | {{#ifexist:Шаблон:Cite video game/док/Тест |Тест | }} }} }} }} }} }} }} }} }} }} }} }} | sandbox = подстраници /sandbox | Sandbox = подстраници /Sandbox | test sandbox = подстраници /test sandbox | Test sandbox = подстраници /Test sandbox | test = подстраници /test | Test = подстраници /Test | песак = подстраници /песак | Песак = подстраници /Песак | тест песак = подстраници /тест песак | Тест песак = подстраници /Тест песак | тест = подстраници /тест | Тест = подстраници /Тест | #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
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>