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> | ||
There's an optional parameter to change the | There's an optional parameter to change the quote suffix and one to add extra context to the line. | ||
==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 63: | Line 37: | ||
], | ], | ||
"type": "string", | "type": "string", | ||
"description": "The name of the character | "description": "The name of the character who the voice line belongs", | ||
"required": true | "required": true | ||
}, | }, | ||
"suffix": { | "suffix": { | ||
"type": "string", | "type": "string", | ||
"description": " | "description": "Optional suffix change for characters whose name ends with 's'", | ||
"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> | ||