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
Line 2: Line 2:
==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:26, 6 September 2024

File:MM.png [[|]]'s in-game [[:File:{{{file}}}|voice line]] - "{{{transcription}}}"

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 [[|]]'s in-game voice line - "Back the wrong horse, Wraith. Like always."