Template:Script line: Difference between revisions

From Tears of Themis Wiki
imported>Elaeagnifolia
No edit summary
imported>Elaeagnifolia
No edit summary
Line 1: Line 1:
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{{#if:{{{link|}}}
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{{#switch:{{{1|}}}
|Luke Pearce
|Luke={{#vardefine:color|#d0ab00}}
|Artem Wing
|Artem={{#vardefine:color|#c30e0e}}
|Marius von Hagen
|Marius={{#vardefine:color|#8772dd}}
|Vyn Richter
|Vyn={{#vardefine:color|#7dbe84}}
|#default={{#vardefine:color|black}}
}}<span style="color:{{#var:color}};">{{#if:{{{link|}}}
| '''[[{{{link|}}}|{{{1|}}}]]'''
| '''[[{{{link|}}}|{{{1|}}}]]'''
| {{#if:{{#var:{{{1|}}}}} | '''[[{{#var:{{{1|}}}}}|{{{1|}}}]]''' | '''{{{1|}}}'''}}
| {{#if:{{#var:{{{1|}}}}} | '''[[{{#var:{{{1|}}}}}|{{{1|}}}]]''' | '''{{{1|}}}'''}}
}}: {{{2|}}}
}}</span>: {{{2|}}}
</includeonly>
</includeonly>

Revision as of 02:10, 7 August 2021

Template-info.png Documentation

Description

Used for single script lines.

Usage

{{SL|<speaker>|<line>}}

Example

{{SL|Person|Saying something}}

Person: Saying something


The text will change color for the LIs (Also works with full names):

{{SL|Luke|My name is Luke!}}
{{SL|Artem|My name is Artem!}}
{{SL|Marius|My name is Marius!}}
{{SL|Vyn|My name is Vyn!}}

Luke: My name is Luke!

Artem: My name is Artem!

Marius: My name is Marius!

Vyn: My name is Vyn!