Template:VoiceLineCite: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
East (talk | contribs)
Created page with "{{HeroIcon|Hero={{{hero}}}}}'s in-game [[:File:{{{file}}}|voice line]] - "''{{{transcription}}}''"<noinclude> ==Usage== This template can be used to reference in-game voice lines. <nowiki>{{VoiceLineCite|hero_name|file_name.extension|transcription}}</nowiki> ===Parameters=== There are three required parameters: {| class="wikitable" |- ! Parameter !! Explanation |- | hero || The name of the hero who the voice line belongs |- | file || The name of the uploaded voice-line..."
 
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{HeroIcon|Hero={{{hero}}}}}'s in-game [[:File:{{{file}}}|voice line]] - "''{{{transcription}}}''"<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.
  <nowiki>{{VoiceLineCite|hero_name|file_name.extension|transcription}}</nowiki>
  <nowiki>{{VoiceLineCite|hero=hero_name|file=file_name.extension|transcription=transcription}}</nowiki>


===Parameters===
===Parameters===
Line 19: Line 19:
==Example usage==
==Example usage==
Example:
Example:
  <nowiki>{{VoiceLineCite|Lash|Lash kill wraith 02.mp3|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|Lash|Lash kill wraith 02.mp3|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."