Template:VoiceLineCite: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
East (talk | contribs)
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{HeroIcon|Hero={{{hero}}}}} {{{hero}}}'s in-game [[:File:{{{file}}}|voice line]] - "''{{{transcription}}}''"</includeonly><noinclude>
<includeonly>{{HeroIcon|{{{1}}}}}'s in-game [[:File:{{{file}}}|voice line]] - "''{{{transcription}}}''"</includeonly><noinclude>
==Usage==
==Usage==
This template can be used to reference in-game voice lines.
This template can be used to reference in-game voice lines.
Line 19: Line 19:
==Example usage==
==Example usage==
Example:
Example:
  <nowiki>{{VoiceLineCite|hero=Lash|file=Lash kill wraith 02.mp3|transcription=Back the wrong horse, Wraith. Like always.}}</nowiki>
  <nowiki>{{VoiceLineCite|Lash|file=Lash kill wraith 02.mp3|transcription=Back the wrong horse, Wraith. Like always.}}</nowiki>
Result:
Result:


{{VoiceLineCite|hero=Lash|file=Lash kill wraith 02.mp3|transcription=Back the wrong horse, Wraith. Like always.}}
{{VoiceLineCite|Lash|file=Lash kill wraith 02.mp3|transcription=Back the wrong horse, Wraith. Like always.}}


[[Category:Citation templates]]
[[Category:Citation templates]]
</noinclude>
</noinclude>

Latest revision as of 19:42, 20 September 2024

Usage[edit source]

This template can be used to reference in-game voice lines.

{{VoiceLineCite|hero=hero_name|file=file_name.extension|transcription=transcription}}

Parameters[edit source]

There are three required parameters:

Parameter Explanation
hero The name of the hero who the voice line belongs
file The name of the uploaded voice-line sound file (must include the file extension eg. .mp3)
transcription The transcription of the voice line

Example usage[edit source]

Example:

{{VoiceLineCite|Lash|file=Lash kill wraith 02.mp3|transcription=Back the wrong horse, Wraith. Like always.}}

Result:

Lash's in-game voice line - "Back the wrong horse, Wraith. Like always."