Ad placeholder

Template:Voice actor: Difference between revisions

Jump to navigation Jump to search
Use named args
(Create.)
(Use named args)
Line 1: Line 1:
<includeonly><onlyinclude>{{#cargo_query:tables=voice_actors
<includeonly><onlyinclude>{{#cargo_query:tables=voice_actors
|fields=imdb_link, CONCAT("{{{1}}}")
|fields=imdb_link=link, CONCAT("{{{1}}}")=text
|where=name="{{{1}}}"
|where=name="{{{1}}}"
|order by=name
|order by=name
Line 7: Line 7:
|default={{{1}}}
|default={{{1}}}
|format=template
|format=template
|named args=yes
|template=Url
|template=Url
}}</onlyinclude></includeonly>
}}</onlyinclude></includeonly>
Line 17: Line 18:
Usage (if voice actor doesn't exist): <code><nowiki>{{VA|Adam Smith}}</nowiki></code>
Usage (if voice actor doesn't exist): <code><nowiki>{{VA|Adam Smith}}</nowiki></code>
Result: {{VA|Adam Smith}}
Result: {{VA|Adam Smith}}
Test VA with period: {{VA|Robert G. Slade}}


[[Category:Templates]]
[[Category:Templates]]

Navigation menu