Editing Template:VoiceLineCite/docGive feedback
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
| Latest revision | Your text | ||
| Line 1: | Line 1: | ||
==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|name=hero_name|file=file_name.extension|transcription=transcription}}</nowiki> | <nowiki>{{VoiceLineCite|name=hero_name|file=file_name.extension|transcription=transcription}}</nowiki> | ||
| Line 9: | Line 7: | ||
==Example usages== | ==Example usages== | ||
Example | Example: | ||
<nowiki>{{VoiceLineCite|name=Lash|file=Lash kill wraith 02.mp3|context=(killed Wraith)|transcription=Backed the wrong horse, Wraith. Like always.}}</nowiki> | <nowiki>{{VoiceLineCite|name=Lash|file=Lash kill wraith 02.mp3|context=(killed Wraith)|transcription=Backed the wrong horse, Wraith. Like always.}}</nowiki> | ||
Result: | Result: | ||
{{VoiceLineCite|name=Lash|file=Lash kill wraith 02.mp3|context=(killed Wraith)|transcription=Backed the wrong horse, Wraith. Like always.}} | {{VoiceLineCite|name=Lash|file=Lash kill wraith 02.mp3|context=(killed Wraith)|transcription=Backed the wrong horse, Wraith. Like always.}} | ||
To remove the icon file (note: in most common cases of pages without icons, this is already handled as exceptions by the template itself): | To remove the icon file (note: in most common cases of pages without icons, this is already handled as exceptions by the template itself): | ||
| Line 29: | Line 19: | ||
{{VoiceLineCite|name=Lash|no_pageref_file=true|file=Lash kill wraith 02.mp3|transcription=Backed the wrong horse, Wraith. Like always.}} | {{VoiceLineCite|name=Lash|no_pageref_file=true|file=Lash kill wraith 02.mp3|transcription=Backed the wrong horse, Wraith. Like always.}} | ||
Example of suffix change: | Example of suffix change: | ||
| Line 37: | Line 26: | ||
{{VoiceLineCite|name=Abrams|suffix='|file=Abrams select 01.mp3|transcription=Don't worry, I'm on the case.}} | {{VoiceLineCite|name=Abrams|suffix='|file=Abrams select 01.mp3|transcription=Don't worry, I'm on the case.}} | ||
Example of alt name: | Example of alt name: | ||
| Line 45: | Line 33: | ||
{{VoiceLineCite|name=Lash|alt_name=Jacob|file=Lash kill wraith 02.mp3|transcription=Backed the wrong horse, Wraith. Like always.}} | {{VoiceLineCite|name=Lash|alt_name=Jacob|file=Lash kill wraith 02.mp3|transcription=Backed the wrong horse, Wraith. Like always.}} | ||
Example of alt link: | Example of alt link: | ||
| Line 53: | Line 40: | ||
{{VoiceLineCite|name=Lash|alt_link=Abrams|file=Lash kill wraith 02.mp3|transcription=Backed the wrong horse, Wraith. Like always.}} | {{VoiceLineCite|name=Lash|alt_link=Abrams|file=Lash kill wraith 02.mp3|transcription=Backed the wrong horse, Wraith. Like always.}} | ||
<templatedata> | <templatedata> | ||
| Line 81: | Line 67: | ||
"required": false | "required": false | ||
}, | }, | ||
"file": { | "file": { | ||
"type": "string", | "type": "string", | ||
"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": | "required": true | ||
}, | }, | ||
"context": { | "context": { | ||
| Line 114: | Line 95: | ||
"alt_link", | "alt_link", | ||
"suffix", | "suffix", | ||
"file", | "file", | ||
"context", | "context", | ||