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..."
 
East (talk | contribs)
No edit summary
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{HeroIcon|Hero={{{hero}}}}}'s in-game [[:File:{{{file}}}|voice line]] - "''{{{transcription}}}''"<noinclude>
<includeonly>{{HeroIcon|Hero={{{hero}}}}} {{{hero}}}'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|hero=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|hero=Lash|file=Lash kill wraith 02.mp3|transcription=Back the wrong horse, Wraith. Like always.}}


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

Revision as of 20:27, 6 September 2024

Usage

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

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

Parameters

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

Example:

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

Result:

File:MM.png [[|]] Lash's in-game voice line - "Back the wrong horse, Wraith. Like always."