1,278
edits
Changes
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>