Template:VoiceLineCite/doc: Difference between revisions
Jump to navigation
Jump to search
Gammaton32 (talk | contribs) No edit summary |
Gammaton32 (talk | contribs) No edit summary |
||
Line 15: | Line 15: | ||
{ | { | ||
"params": { | "params": { | ||
" | "hero": { | ||
"aliases": [ | "aliases": [ | ||
" | "1" | ||
], | ], | ||
"description": "The name of the hero who the voice line belongs", | "description": "The name of the hero who the voice line belongs", | ||
Line 23: | Line 23: | ||
}, | }, | ||
"file": { | "file": { | ||
"aliases": [ | |||
"2" | |||
], | |||
"description": "The name of the uploaded voice-line sound file (must include the file extension eg. .mp3)", | "description": "The name of the uploaded voice-line sound file (must include the file extension eg. .mp3)", | ||
"required": true | "required": true | ||
}, | }, | ||
"transcription": { | "transcription": { | ||
"aliases": [ | |||
"3" | |||
], | |||
"description": "The transcription of the voice line", | "description": "The transcription of the voice line", | ||
"required": true | "required": true | ||
Line 33: | Line 39: | ||
"format": "inline", | "format": "inline", | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "hero", | ||
"file", | "file", | ||
"transcription" | "transcription" |
Revision as of 15:10, 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|hero=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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
hero | hero 1 | The name of the hero who the voice line belongs | Unknown | required |
file | file 2 | The name of the uploaded voice-line sound file (must include the file extension eg. .mp3) | Unknown | required |
transcription | transcription 3 | The transcription of the voice line | Unknown | required |