Template:VoiceLineCite/doc: Difference between revisionsGive feedback
Gammaton32 (talk | contribs) |
Gammaton32 (talk | contribs) updated with quotes link |
||
| 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. The template can link to either a "quotes" page or a voice line file. | ||
<nowiki>{{VoiceLineCite|name=hero_name|quotes=Hero/Quotes|transcription=transcription}}</nowiki> | |||
<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 7: | Line 9: | ||
==Example usages== | ==Example usages== | ||
Example: | Example using quotes link: | ||
<nowiki>{{VoiceLineCite|name=Lash|quotes=Lash/Quotes#Hero-Specific Voice Lines|context=(killed Wraith)|transcription=Backed the wrong horse, Wraith. Like always.}}</nowiki> | |||
Result: | |||
{{VoiceLineCite|name=Lash|quotes=Lash/Quotes#Hero-Specific Voice Lines|context=(killed Wraith)|transcription=Backed the wrong horse, Wraith. Like always.}} | |||
Example using file link: | |||
<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 72: | Line 81: | ||
"required": false | "required": false | ||
}, | }, | ||
"quotes": { | |||
"type": "string", | |||
"description": "Link to a character ''quotes'' page, preferably including the section header of the relevant quote (use this or ''file'', not both)", | |||
"required": false | |||
}, | |||
"file": { | "file": { | ||
"type": "string", | "type": "string", | ||
"description": "The name of the uploaded voice | "description": "The name of the uploaded voice line sound file (must include the file extension eg. .mp3) (use this or ''quotes'', not both)", | ||
"required": | "required": false | ||
}, | }, | ||
"context": { | "context": { | ||
| Line 100: | Line 114: | ||
"alt_link", | "alt_link", | ||
"suffix", | "suffix", | ||
"quotes", | |||
"file", | "file", | ||
"context", | "context", | ||