Template:Voice actor: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Use Template:Trim.) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#cargo_query:tables=voice_actors | <includeonly><onlyinclude>{{#cargo_query:tables=voice_actors | ||
|fields=imdb_link=link, CONCAT("{{{1}}}")=text | |fields=imdb_link=link, CONCAT("{{trim | {{{1}}} }}")=text | ||
|where=name="{{{1}}}" | |where=name="{{trim | {{{1}}} }}" | ||
|order by=name | |order by=name | ||
|limit=1 | |limit=1 | ||
|more results text= | |more results text= | ||
|default={{{1}}} | |default={{trim | {{{1}}} }} | ||
|format=template | |format=template | ||
|named args=yes | |named args=yes |
Revision as of 21:23, 18 June 2024
Template documentation
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): {{VA|Jennifer English}}
Result: Jennifer English
Usage (if voice actor doesn't exist): {{VA|Adam Smith}}
Result: Adam Smith
Test VA with period: Robert G. Slade
Template data
Inserts a link to the IMDB page of a voice actor.
Parameter | Description | Type | Status | |
---|---|---|---|---|
voice actor | 1 | The name of the voice actor, spelled '''exactly''' as on the voice actors page | Unknown | required |