Template:VoiceLineCite/doc: Difference between revisions

No edit summary
Sur (talk | contribs)
m example added that shows it works if icon doesnt exist
Line 4: Line 4:
  <nowiki>{{VoiceLineCite|1=hero_name|file=file_name.extension|transcription=transcription}}</nowiki>
  <nowiki>{{VoiceLineCite|1=hero_name|file=file_name.extension|transcription=transcription}}</nowiki>


==Example usage==
==Example usages==
Example:
Example:
  <nowiki>{{VoiceLineCite|1=Lash|file=Lash kill wraith 02.mp3|transcription=Back the wrong horse, Wraith. Like always.}}</nowiki>
  <nowiki>{{VoiceLineCite|1=Lash|file=Lash kill wraith 02.mp3|transcription=Back the wrong horse, Wraith. Like always.}}</nowiki>
Line 10: Line 10:


{{VoiceLineCite|1=Lash|file=Lash kill wraith 02.mp3|transcription=Back the wrong horse, Wraith. Like always.}}
{{VoiceLineCite|1=Lash|file=Lash kill wraith 02.mp3|transcription=Back the wrong horse, Wraith. Like always.}}
Example where the png icon for Amber Hand doesn't exist:
<nowiki>{{VoiceLineCite|1=Amber Hand|file=Lash kill wraith 02.mp3|transcription=Back the wrong horse, Wraith. Like always.}}</nowiki>
Result:
{{VoiceLineCite|1=Amber Hand|file=Lash kill wraith 02.mp3|transcription=Back the wrong horse, Wraith. Like always.}}