Template:Script line: Difference between revisions
From Tears of Themis Wiki
imported>Elaeagnifolia (Created page with "<noinclude>{{doc}}Category:Templates</noinclude><includeonly>{{#if:{{#var:{{{1|}}} | '''[[{{#var:{{{1|}}}}}|{{{1|}}}]]''' | '''{{{1|}}}'''}}: {{{2|}}}</includeonly>") |
imported>Harmonea (+codenames for use with NXX-OS) |
||
(8 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly>{{#if:{{#var:{{{1|}}} | '''[[{{#var:{{{1|}}}}}|{{{1|}}}]]''' | '''{{{1|}}}'''}}: {{{2|}}}</includeonly> | <noinclude>{{doc}}[[Category:Templates]]</noinclude><includeonly><!-- | ||
-->{{#css: | |||
.luke-script-line, | |||
.luke-script-line a { | |||
color: #d0ab00; | |||
} | |||
.artem-script-line, | |||
.artem-script-line a { | |||
color: #c30e0e; | |||
} | |||
.marius-script-line, | |||
.marius-script-line a { | |||
color: #8772dd; | |||
} | |||
.vyn-script-line, | |||
.vyn-script-line a { | |||
color: #7dbe84; | |||
} | |||
}}<!-- | |||
### Variable Define | |||
-->{{#switch:{{{1|}}} | |||
|Luke Pearce | |||
|Luke | |||
|Raven={{#vardefine:class|luke-script-line}} | |||
|Artem Wing | |||
|Artem | |||
|Libra={{#vardefine:class|artem-script-line}} | |||
|Marius von Hagen | |||
|Marius | |||
|King={{#vardefine:class|marius-script-line}} | |||
|Vyn Richter | |||
|Vyn | |||
|Adjudicator={{#vardefine:class|vyn-script-line}} | |||
|#default={{#vardefine:class|}} | |||
}}<!-- | |||
### Template Display | |||
--><span class="{{#var:class}}">{{#if:{{{link|}}} | |||
| '''[[{{{link|}}}|{{{1|}}}]]''' | |||
| {{#if:{{#var:{{{1|}}}}} | '''[[{{#var:{{{1|}}}}}|{{{1|}}}]]''' | '''{{{1|}}}'''}} | |||
}}</span>: {{{2|}}} | |||
</includeonly> |
Latest revision as of 07:18, 4 March 2022
Description[edit source]
Used for single script lines.
Usage[edit source]
{{SL|<speaker>|<line>}}
Example[edit source]
{{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!
The above documentation is transcluded from Template:Script line/doc. (edit | history)