Changes

Jump to navigation Jump to search

Template:S

1,097 bytes added, 13:15, 30 September 2020
no edit summary
= Parameters =
<code>first</code> - the actual subtitle text.<br>
=== Examples ==={| class="wikitable"|-! Code !! Example !! Result|-| <code><nowiki>{{raw:data:s|text}}</nowiki></code> || <code><nowiki>{{s|the actual subtitle text}}</nowiki></code> || <div style="width:400px;">{{s|the actual subtitle text}}</div>|-| <code><nowiki>{{raw:data:s|l|text}}</nowiki></code> || <code><nowiki>{{s|l|the actual subtitle text}}</nowiki></code> || <div style="width:400px;">{{s|l|the actual subtitle text}}</div>|-| <code><nowiki>{{raw:data:s|c|text}}</nowiki></code> || <code><nowiki>{{s|c|the actual subtitle text}}</nowiki></code> || <div style="width:400px;">{{s|c|the actual subtitle text}}</div>|-| <code><nowiki>{{raw:data:s|r|text}}</nowiki></code> || <code><nowiki>{{s|r|the actual subtitle text}}</nowiki></code> || <div style="width:400px;">{{s|r|the actual subtitle text}}</div>|}
<code><nowiki>{{s|the actual subtitle text}}</nowiki></code><br>
</noinclude>
<includeonly>
{{#ifeq:{{{2|}}}|{{{2}}}| {{#ifeq: {{{1}}} |l| <div style="text-align:left;font-weight:bold;">{{{2}}}</div>}}{{#ifeq: {{{1}}} |r| <div style="text-align:right;font-weight:bold;">{{{2}}}</div>}}{{#ifeq: {{{1}}} |c| <div style="text-align:center;font-weight:bold;">{{{2}}}</div>}} | <div style="text-align:left;font-weight:bold;">{{{1}}}</div>}} 
</includeonly>

Navigation menu