Template:Voice actor: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Updated documentation and added category)
 
Line 12: Line 12:
This template links a voice actor's IMDB page, if the entry exists. The entries are put into the database using [[Template:VA/Insert]] on page [[Voice actors]].
This template links a voice actor's IMDB page, if the entry exists. The entries are put into the database using [[Template:VA/Insert]] on page [[Voice actors]].


Usage (if voice actor exists): <code><nowiki>{{VA|Jennifer English}}</nowiki></code>
In order to fetch the IMDB link, the parameter must exactly match an entry in the database. Otherwise, the template will omit the link and just display the name.
Result: {{VA|Jennifer English}}


Usage (if voice actor doesn't exist): <code><nowiki>{{VA|Adam Smith}}</nowiki></code>
== Examples ==
Result: {{VA|Adam Smith}}
{{Template demo
| style = table
| <nowiki>{{VA|Jennifer English}}</nowiki>
| <nowiki>{{VA|Robert G. Slade}}</nowiki>
| <nowiki>{{VA|Robert G Slade}}</nowiki>
}}


Test VA with period: {{VA|Robert G. Slade}}
[[Category:Templates]]
==Template data==
==Template data==
<templatedata>
<templatedata>
Line 28: Line 29:
"label": "voice actor",
"label": "voice actor",
"description": "The name of the voice actor, spelled '''exactly''' as on the voice actors page",
"description": "The name of the voice actor, spelled '''exactly''' as on the voice actors page",
            "type": "string",
"required": true
"required": true
}
}
Line 34: Line 36:
"format": "inline"
"format": "inline"
}
}
</templatedata>
</templatedata>}}
}}
[[Category:Templates]]
[[Category:Link templates]]
[[Category:External link templates]]
</noinclude>
</noinclude>

Latest revision as of 21:12, 21 July 2024

Template documentation
Shortcuts

This template links a voice actor's IMDB page, if the entry exists. The entries are put into the database using Template:VA/Insert on page Voice actors.

In order to fetch the IMDB link, the parameter must exactly match an entry in the database. Otherwise, the template will omit the link and just display the name.

Examples

Markup Renders as
{{VA|Jennifer English}}
Jennifer English
{{VA|Robert G. Slade}}
Robert G. Slade
{{VA|Robert G Slade}}
Robert G Slade

Template data

Inserts a link to the IMDB page of a voice actor.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
voice actor1

The name of the voice actor, spelled '''exactly''' as on the voice actors page

Stringrequired