Editing Template:VoiceLineCite/docGive feedback
Jump to navigation
Jump to search
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: | ||
| Line 23: | Line 14: | ||
Example where the png icon for Amber Hand doesn't exist: | |||
<nowiki>{{VoiceLineCite|name= | <nowiki>{{VoiceLineCite|name=Amber Hand|file=Lash kill wraith 02.mp3|transcription=Backed the wrong horse, Wraith. Like always.}}</nowiki> | ||
Result: | Result: | ||
{{VoiceLineCite|name= | {{VoiceLineCite|name=Amber Hand|file=Lash kill wraith 02.mp3|transcription=Backed the wrong horse, Wraith. Like always.}} | ||
| Line 37: | Line 28: | ||
{{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.}} | ||
<templatedata> | <templatedata> | ||
| Line 66: | Line 40: | ||
"required": true | "required": true | ||
}, | }, | ||
"suffix": { | "suffix": { | ||
"type": "string", | "type": "string", | ||
| Line 81: | Line 45: | ||
"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 100: | Line 59: | ||
"description": "The transcription of the voice line (without quotation marks)", | "description": "The transcription of the voice line (without quotation marks)", | ||
"required": true | "required": true | ||
} | |||
}, | }, | ||
"format": "inline", | "format": "inline", | ||
"paramOrder": [ | "paramOrder": [ | ||
"name", | "name", | ||
"suffix", | "suffix", | ||
"file", | "file", | ||
"context", | "context", | ||
"transcription | "transcription" | ||
] | ] | ||
} | } | ||
</templatedata><noinclude>[[Category:Template documentation]]</noinclude> | </templatedata><noinclude>[[Category:Template documentation]]</noinclude> | ||