Template:Voice actor: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(Use named args)
(Add templatedata)
Line 9: Line 9:
|named args=yes
|named args=yes
|template=Url
|template=Url
}}</onlyinclude></includeonly>
}}</onlyinclude></includeonly><noinclude>{{documentation|content=
 
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]].


Usage (if voice actor exists): <code><nowiki>{{VA|Jennifer English}}</nowiki></code>
Usage (if voice actor exists): <code><nowiki>{{VA|Jennifer English}}</nowiki></code>
Line 22: Line 21:


[[Category:Templates]]
[[Category:Templates]]
==Template data==
<templatedata>
{
"params": {
"1": {
"label": "voice actor",
"description": "The name of the voice actor, spelled '''exactly''' as on the voice actors page",
"required": true
}
},
"description": "Inserts a link to the IMDB page of a voice actor.",
"format": "inline"
}
</templatedata>
}}
</noinclude>

Revision as of 11:01, 15 November 2023

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.

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

Unknownrequired