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

Шаблон:MobyGames/док

Iz Vojne Enciklopedije
(разл) ← Старија измена | Тренутна верзија (разл) | Новија измена → (разл)


Шаблон:MobyGames displays an external link to a MobyGames page for a video game.

Please only add it in instances where it provides additional or strongly-supporting information to the article.

Usage

One parameter:

{{MobyGames | ID }}
{{MobyGames | id= ID }}

Two parameters:

{{MobyGames | ID | NAME }}
{{MobyGames | id= ID | name= NAME }}

Template data

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

TemplateData за MobyGames

<templatedata> {

       "description": "This template displays an external link to a MobyGames page for a video game.",

"params": { "1": { "label": "ID", "aliases": [ "id" ], "description": "ID string used in the URL.", "type": "string", "required": true }, "2": { "label": "Name", "aliases": [ "name" ], "description": "Name displayed in the link text. If not specified it defaults to the current page name (without disambiguation) and is displayed in italics.", "type": "string",

                       "required": false

} } } </templatedata>

Examples

One parameter

When a name is not specified, the template uses the current page name (without disambiguation) and displays it in italics.

The following examples link to a page for the first Heroes of Might and Magic game:

http://www.mobygames.com/game/heroes-of-might-and-magic

Usage:

{{MobyGames | /heroes-of-might-and-magic }}
{{MobyGames | id= /heroes-of-might-and-magic }}

Results:

MobyGames/док на сајту MobyGames (језик: енглески)
MobyGames/док на сајту MobyGames (језик: енглески)

Two parameters

When a name is specified, the template will not italicize it, so include any wikimarkup as needed.

The following examples link to a page for the Heroes of Might and Magic series:

http://www.mobygames.com/game-group/heroes-of-might-and-magic-series

Usage:

{{MobyGames | -group/heroes-of-might-and-magic-series | ''Heroes of Might and Magic'' series }}
{{MobyGames | id= -group/heroes-of-might-and-magic-series | name= ''Heroes of Might and Magic'' series }}

Results:

Heroes of Might and Magic series на сајту MobyGames (језик: енглески)
Heroes of Might and Magic series на сајту MobyGames (језик: енглески)

See also