Template:VoiceLineCite/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Gammaton32 (talk | contribs)
Created page with "<templatedata> { "params": { "hero": { "type": "string", "description": "The name of the hero who the voice line belongs", "required": true }, "file": { "type": "string", "description": "The name of the uploaded voice-line sound file (must include the file extension eg. .mp3)", "required": true }, "transcription": { "type": "string", "description": "The transcription of the voice line", "required": true } }, "format": "i..."
 
Gammaton32 (talk | contribs)
No edit summary
Line 1: Line 1:
==Usage==
This template can be used to reference in-game voice lines.
<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.}}
<templatedata>
<templatedata>
{
{

Revision as of 14:03, 28 November 2024

Usage

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

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

Example usage

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."


No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
herohero

The name of the hero who the voice line belongs

Stringrequired
filefile

The name of the uploaded voice-line sound file (must include the file extension eg. .mp3)

Stringrequired
transcriptiontranscription

The transcription of the voice line

Stringrequired