Template:VoiceLine: Difference between revisions
SimpleArrows (talk | contribs) (Created page with "<includeonly> {| style="font-size: 12px;" |style="border-right: 1px dotted grey; padding-right: 5px; width: 80px; word-break: break-word; font-weight: bold;"|{{{1}}} |style="padding-left: 5px;"|{{{2}}} |}</includeonly><noinclude> == Dialogue == {{VoiceLine|Hugo Davies|This will be a piece of cake. We're transmitting the base coordinates now.}} {{VoiceLine|Alec Mason|Got it. I'm on my way, um...}} ;Arrived at base {{VoiceLine|Mason|Alright, I'm at the base.}} </noinclude>") |
SimpleArrows (talk | contribs) mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{| style="font-size: 12px;" | {| style="font-size: 12px;" | ||
|style="border-right: 1px dotted grey; padding-right: 5px; width: 80px; word-break: break-word; font-weight: bold;"|{{{1}}} | |style="border-right: 1px dotted grey; padding-right: 5px; width: 80px; word-break: break-word; font-weight: bold; vertical-align: top;"|{{{1}}} | ||
|style="padding-left: 5px;"|{{{2}}} | |style="padding-left: 5px;"|{{{2}}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude>[[Category:Block Templates]] | ||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Character", | |||
"description": "The name of the character speaking the voice line.", | |||
"example": "Alec Mason", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Voice Line", | |||
"description": "Use the text from the game's subtitles preferably. If subtitles are not available, transcribe it by ear.", | |||
"example": "That was always Dan's problem... Couldn't run from a fight.", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"format": "inline" | |||
} | |||
</templatedata> | |||
<pre>{{VoiceLine|CHARACTER_NAME|VOICE_LINE}}</pre> | |||
'''Usage:''' | |||
<pre>{{VoiceLine|Hugo Davies|This will be a piece of cake. We're transmitting the base coordinates now.}}</pre> | |||
'''Output:''' | |||
{{VoiceLine|Hugo Davies|This will be a piece of cake. We're transmitting the base coordinates now.}} | {{VoiceLine|Hugo Davies|This will be a piece of cake. We're transmitting the base coordinates now.}} | ||
{{VoiceLine|Alec Mason| | |||
'''Headings:''' | |||
For missions/level , sections of dialogue are only triggered once the player gets to a specific point in the mission. | |||
For example, [[Better Red Than Dead]]: Once the player starts the mission, the first section of dialogue is played (which doesn't need to be specified by a heading). However, once that section of dialogue ends, no further dialogue is delivered until the player arrives at the base, in which the second section of dialogue is played. We can separate these sections by having a heading to denote which section plays at which time. For the sequence previously mentioned, section 2 of the dialogue would play once the player has "Arrived at base". Use the <code>;</code> symbol before the heading to format it. | |||
<pre>;Arrived at base | |||
{{VoiceLine|Alec Mason|Alright, I'm at the base.}} | |||
</pre> | |||
;Arrived at base | ;Arrived at base | ||
{{VoiceLine|Mason|Alright, I'm at the base.}} | {{VoiceLine|Alec Mason|Alright, I'm at the base.}} | ||
</noinclude> | </noinclude> |
Latest revision as of 07:07, 15 February 2024
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Character | 1 | The name of the character speaking the voice line.
| String | required |
Voice Line | 2 | Use the text from the game's subtitles preferably. If subtitles are not available, transcribe it by ear.
| String | required |
{{VoiceLine|CHARACTER_NAME|VOICE_LINE}}
Usage:
{{VoiceLine|Hugo Davies|This will be a piece of cake. We're transmitting the base coordinates now.}}
Output:
Hugo Davies | This will be a piece of cake. We're transmitting the base coordinates now. |
Headings: For missions/level , sections of dialogue are only triggered once the player gets to a specific point in the mission.
For example, Better Red Than Dead: Once the player starts the mission, the first section of dialogue is played (which doesn't need to be specified by a heading). However, once that section of dialogue ends, no further dialogue is delivered until the player arrives at the base, in which the second section of dialogue is played. We can separate these sections by having a heading to denote which section plays at which time. For the sequence previously mentioned, section 2 of the dialogue would play once the player has "Arrived at base". Use the ;
symbol before the heading to format it.
;Arrived at base {{VoiceLine|Alec Mason|Alright, I'm at the base.}}
- Arrived at base
Alec Mason | Alright, I'm at the base. |