Jump to content

Template:Comic Vine/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Syntax

[edit]

This template generates an external link to a character page on Comic Vine using two input methods:

Slug name (optional)

The first part of the URL, usually the character name in lowercase and hyphenated form. Defaults to character if omitted.

(e.g., https://comicvine.gamespot.com/paco-testas/4005-10763/ → name = paco-testas)
ID number (required)

The unique Comic Vine character ID number located in the URL after 4005-.

(e.g., https://comicvine.gamespot.com/paco-testas/4005-10763/ → ID = 10763)
Display name (optional, recommended)

The text displayed for the link. Defaults to the page name via {{PAGENAME}}. Recommended on character list articles.

Parameters

[edit]

This template supports both named and positional parameters. Do not mix styles in a single use to avoid alignment issues.

Named parameters
{{Comic Vine|name=SLUG|id=ID NUMBER|title=DISPLAY NAME}}
Positional parameters
{{Comic Vine|SLUG|ID NUMBER|DISPLAY NAME}}

Examples

[edit]
Named parameters
{{Comic Vine|name=paco-testas|id=10763|title=Paco Testas}} → Paco Testas at Comic Vine
Positional parameters
{{Comic Vine|paco-testas|10763|Paco Testas}} → Paco Testas at Comic Vine
Mixed parameters (rare)
Using a named id= with a positional display text requires a placeholder pipe:
{{Comic Vine|id=10763||Paco Testas}} → Comic Vine/doc at Comic Vine
The reverse mix works without issues:
{{Comic Vine|10763|title=Paco Testas}} → Paco Testas at Comic Vine