Template:Voice actor: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(link to insert template)
(Create.)
Line 1: Line 1:
<includeonly><onlyinclude>[[{{#cargo_query:tables=voice_actors
<includeonly><onlyinclude>{{#cargo_query:tables=voice_actors
|fields=imdb_link
|fields=imdb_link, CONCAT("{{{1}}}")
|where=name={{{1}}}
|where=name="{{{1}}}"
|order by=name
|limit=1
|limit=1
|more results text=
|more results text=
|default={{{1}}}
|default={{{1}}}
|format=list
|format=template
}}|{{{1}}}]]</onlyinclude></includeonly>
|template=Url
}}</onlyinclude></includeonly>


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

Revision as of 17:41, 20 September 2023


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

Usage (if voice actor exists): {{VA|Jennifer English}} Result: {{{text}}}

Usage (if voice actor doesn't exist): {{VA|Adam Smith}} Result: Adam Smith