Difference between revisions of "Template:S"
Jump to navigation
Jump to search
Line 42: | Line 42: | ||
|} | |} | ||
= Four parameters = | = Four parameters = | ||
− | The | + | The second parameter represents distance top in px.<br> |
− | The third parameter represents distance bottom in px. | + | The third parameter represents distance bottom in px.<br> |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 53: | Line 53: | ||
= Six parameters = | = Six parameters = | ||
− | The second parameter represents distance left in px. | + | The second parameter represents distance left in px.<br> |
− | The third parameter represents distance top in px. | + | The third parameter represents distance top in px.<br> |
− | The forth parameter represents distance right in px. | + | The forth parameter represents distance right in px.<br> |
− | The fifth parameter represents distance bottom in px. | + | The fifth parameter represents distance bottom in px.<br> |
{| class="wikitable" | {| class="wikitable" |
Revision as of 14:23, 30 September 2020
This template is used for subtitles. It is mainly used for the WatchTower magazines, but it can be used for other types of literature.
Contents
Parameters
With no parameter
the alignment will be left.
l
leftc
centerr
right
One parameter
Code | Example | Result |
---|---|---|
{{raw:data:s|text}} |
{{s|the actual subtitle text}} |
the actual subtitle text
|
Two parameters
The first parameter represents the desired alignment and can be one of the following:
l
- leftc
- centerr
- right
Code | Example | Result |
---|---|---|
{{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
|
Tree parameters
The second parameter represents the top and bottom distance in px. It can be whatever number.
<a number>
- distance top & bottom in pixels.
Code | Example | Result |
---|---|---|
{{raw:data:s|c|10|text}} |
{{s|c|10|the actual subtitle text}} |
the actual subtitle text
|
Four parameters
The second parameter represents distance top in px.
The third parameter represents distance bottom in px.
Code | Example | Result |
---|---|---|
{{raw:data:s|c|10|40|text}} |
{{s|c|10|40|the actual subtitle text}} |
the actual subtitle text
|
Six parameters
The second parameter represents distance left in px.
The third parameter represents distance top in px.
The forth parameter represents distance right in px.
The fifth parameter represents distance bottom in px.
Code | Example | Result |
---|---|---|
{{raw:data:s|c|100|50|50|5|text}} |
{{s|c|100|50|50|5|the actual subtitle text}} |
the actual subtitle text
|