1,288
edits
Changes
Jump to navigation
Jump to search
! Code !! Example !! Result| <code><nowiki>{{raw:data:s|bold|text}}</nowiki></code> || <code><nowiki>{{raw:data:s|bold|the actual subtitle}}</nowiki></code> || <div style="width:400px;">{{s|bold|The actual subtitle}}</div>
{{#ifeq:{{{5|}}}|{{{5}}} | {{#ifeq: {{{1}}} |l| <div style="padding-left:{{{2}}}px; padding-top:{{{3}}}px; padding-right:{{{4}}}px; padding-bottom:{{{5}}}px; text-align:left;font-weight:bold;">{{{6}}}</div>}} {{#ifeq: {{{1}}} |r| <div style="padding-left:{{{2}}}px; padding-top:{{{3}}}px; padding-right:{{{4}}}px; padding-bottom:{{{5}}}px;text-align:right;font-weight:bold;">{{{6}}}</div>}} {{#ifeq: {{{1}}} |c| <div style="padding-left:{{{2}}}px; padding-top:{{{3}}}px; padding-right:{{{4}}}px; padding-bottom:{{{5}}}px;text-align:center;font-weight:bold;">{{{6}}}</div>}} |{{#ifeq:{{{4|}}}|{{{4}}} | {{#ifeq: {{{13}}} |l| <div style="padding-top:{{{2}}}px; padding-bottom:{{{3}}}px;text-align:left;font-weight:bold;">{{{4}}}</div>}} {{#ifeq: {{{1}}} |r| <div style="padding-topsize:{{{2}}}px; padding-bottom:{{{3}}}px;text-align:right;font-weight:bold;">{{{4}}}</div>}} {{#ifeq: {{{1}}} |c| <div style="padding-top:{{{2}}}px; padding-bottom:{{{3}}}px;text-align:center;font-weight:bold;">{{{4}}}</div>}} | {{#ifeq:{{{3|}}}|{{{3}}} | {{#ifeq: {{{1}}} |l| <div style="padding-top:{{{2}}}px; padding-bottom:{{{2}}}px;text-align:left;font-weightsize:bold;">{{{3}}}</div>}} {{#ifeq: {{{1}}} |r| <div style="padding-top:{{{2}}}px; padding-bottom:{{{2}}}px;text-align:right30px;font-weight:bold;">{{{3}}}</div>}} {{#ifeq: {{{1}}} |c| <div style="padding-top:{{{2}}}px; padding-bottom:{{{2}}}px;text-align:center;font-weight:bold;">{{{3}}}</div>}} | {{#ifeq:{{{2|}}}|{{{2}}} | {{#ifeq: {{{1}}} |l| <div style="text-align:left;font-weight:bold;">{{{2}}}</div>}} {{#ifeqsize: {{{1}}} |r| <div style="text-align:right;font-weight:bold;">{{{2}}}</div>}} {{#ifeq: {{{1}}} |c| <div style="text-align:center;font-weight:boldpx;">{{{2}}}</div>}} | <div style="text-align:left;font-weightsize:bold30px;">{{{1}}}</div> }} }} }}}}
no edit summary
<noinclude>
This template is used for subtitles. It is mainly used for the WatchTower magazines, but it can be used for other types of literature.<br>
= Parameters =With <code>no parameter</code> the alignment will be left.* <code>l</code> left* <code>c</code> center* <code>r</code> right= One parameter Usage =
{| class="wikitable"
|-
! Code !! Example !! Result
|-
| <code><nowiki>{{raw:data:s|text}}</nowiki></code> || <code><nowiki>{{raw:data:s|the actual subtitle text}}</nowiki></code> || <div style="width:400px;">{{s|the actual subtitle text}}</div>|} = Two parameters =The first parameter represents the desired alignment and can be one of the following:* <code>l</code> - left* <code>c</code> - center* <code>r</code> - right{| class="wikitable"|-! Code !! Example !! Result|-| <code><nowiki>{{raw:data:s|l|text}}</nowiki></code> || <code><nowiki>{{raw:data:s|l|the actual subtitle text}}</nowiki></code> || <div style="width:400px;">{{s|l|the actual subtitle text}}</div>
|-
| <code><nowiki>{{raw:data:s|c10|text}}</nowiki></code> || <code><nowiki>{{raw:data:s|c10|the actual subtitle text}}</nowiki></code> || <div style="width:400px;">{{s|c10|the The actual subtitle text}}</div>|-| <code><nowiki>{{raw:data:s|r|text}}</nowiki></code> || <code><nowiki>{{raw:data:s|r|the actual subtitle text}}</nowiki></code> || <div style="width:400px;">{{s|r|the actual subtitle text}}</div>|} = Tree parameters =The second parameter represents the top and bottom distance in px. It can be whatever number.* <code><a number></code> - distance top & bottom in pixels. {| class="wikitable"
|-
|-
| <code><nowiki>{{raw:data:s|cbold|10|text}}</nowiki></code> || <code><nowiki>{{raw:data:s|cbold|10|the actual subtitle text}}</nowiki></code> || <div style="width:400px;">{{s|cbold|10|the The actual subtitle text}}</div></div>
|}
= Four parameters Usage in combination with other templates for align and set margins =The second parameter represents distance top in px.<br>The third parameter represents distance bottom in px.<br>
{| class="wikitable"
|-
! Code !! Example !! Result
|-
| <code><nowiki>{{raw:data:m|50|{{raw:data:s|cbold|10|40|text}}}}</nowiki></code> || <code><nowiki>{{raw:data:m|50|{{raw:data:s|cbold|10|40|the The actual subtitle text}}}}</nowiki></code> || <div style="width:400px;">{{m|50|{{s|cbold|10|40|the The actual subtitle text}}}}</div></div>|} = Six parameters =The second parameter represents distance left in px.<br>The third parameter represents distance top in px.<br>The forth parameter represents distance right in px.<br>The fifth parameter represents distance bottom in px.<br> {| class="wikitable"|-! Code !! Example !! Result
|-
| <code><nowiki>{{raw:data:sai|c1|100r|50{{raw:data:s|50bold|510|text}}}}</nowiki></code> || <code><nowiki>{{raw:data:sai|c1|100r|50{{raw:data:s|50bold|510|the The actual subtitle text}}}}</nowiki></code> || <div style="width:400px;">{{sai|c1|100r|50{{s|50bold|510|the The actual subtitle text}}}}</div>
|}
</noinclude>
<includeonly>
</includeonly>