Template:VoiceLineCite: Difference between revisions

No edit summary
fixing what I broke
 
(29 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{HeroIcon|{{{hero}}}}}'s in-game [[:File:{{{file}}}|voice line]] - "''{{{transcription}}}''"</includeonly><noinclude>{{Documentation}}
<includeonly>{{PageRef|{{{name|{{{1}}}}}}|
==Usage==
alt_link={{{alt_link|{{{name|{{{1}}}}}}}}}|
This template can be used to reference in-game voice lines.
alt_name={{{alt_name|{{{name|{{{1}}}}}}}}}|
 
no_file={{{no_pageref_file|}}}}}{{#if:{{{nosuffix|}}}||{{{suffix|'s}}}}} {{#invoke:Dictionary|translate|In-game}} {{#if:{{{file|}}}|[[:file:{{{file}}}|{{#invoke:Dictionary|translate|VoiceLine}}]]}} {{#if:{{{quotes|}}}|[[{{{quotes}}}|{{#invoke:Dictionary|translate|VoiceLine}}]]}} {{{context|}}} - ''"{{{transcription}}}"''</includeonly><noinclude>{{Documentation}}[[Category:Citation templates]]</noinclude>
<nowiki>{{VoiceLineCite|hero=hero_name|file=file_name.extension|transcription=transcription}}</nowiki>
 
==Example usage==
Example:
<nowiki>{{VoiceLineCite|Lash|file=Lash kill wraith 02.mp3|transcription=Back the wrong horse, Wraith. Like always.}}</nowiki>
Result:
 
{{VoiceLineCite|Lash|file=Lash kill wraith 02.mp3|transcription=Back the wrong horse, Wraith. Like always.}}
 
[[Category:Citation templates]]
</noinclude>