Difference between revisions of "Template:S"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This template is used for subtitles. It is mainly used for the WatchTower magazines, but it can be used to other types of literature.<br> | This template is used for subtitles. It is mainly used for the WatchTower magazines, but it can be used to other types of literature.<br> | ||
− | |||
− | |||
=== Examples === | === Examples === | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 19: | Line 17: | ||
</noinclude> | </noinclude> | ||
<includeonly> | <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> }} | + | {{#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> |
− | |||
− | </includeonly> |
Revision as of 13:16, 30 September 2020
This template is used for subtitles. It is mainly used for the WatchTower magazines, but it can be used to other types of literature.
Examples
Code | Example | Result |
---|---|---|
{{raw:data:s|text}} |
{{s|the actual subtitle text}} |
the actual subtitle text |
{{raw:data:s|l|text}} |
{{s|l|the actual subtitle text}} |
the actual subtitle text |
{{raw:data:s|c|text}} |
{{s|c|the actual subtitle text}} |
the actual subtitle text |
{{raw:data:s|r|text}} |
{{s|r|the actual subtitle text}} |
the actual subtitle text |
{{s|the actual subtitle text}}