Difference between revisions of "Template:S"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 25: | Line 25: | ||
</noinclude> | </noinclude> | ||
− | <includeonly> | + | <includeonly>{{#ifeq: {{{1}}} |bold| {{#ifeq:{{{3|}}}|{{{3}}} | <div style="font-size:{{{2}}}px;font-weight:bold;">{{{3}}}</div> | <div style="font-size:30px;font-weight:bold;">{{{2}}}</div> }} | {{#ifeq:{{{2|}}}|{{{2}}} | <div style="font-size:{{{1}}}px;">{{{2}}}</div> | <div style="font-weight:bold;">{{{1}}}</div>}} }}</includeonly> |
− | {{#ifeq: {{{1}}} |bold| {{#ifeq:{{{3|}}}|{{{3}}} | <div style="font-size:{{{2}}}px;font-weight:bold;">{{{3}}}</div> | <div style="font-size:30px;font-weight:bold;">{{{2}}}</div> }} | {{#ifeq:{{{2|}}}|{{{2}}} | <div style="font-size:{{{1}}}px;">{{{2}}}</div> | <div style="font- | ||
− | </includeonly> |
Latest revision as of 06:00, 1 October 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.
Usage
Code | Example | Result |
---|---|---|
{{raw:data:s|text}} |
{{raw:data:s|the actual subtitle}} |
The actual subtitle |
{{raw:data:s|10|text}} |
{{raw:data:s|10|the actual subtitle}} |
The actual subtitle |
{{raw:data:s|bold|text}} |
{{raw:data:s|bold|the actual subtitle}} |
The actual subtitle |
{{raw:data:s|bold|10|text}} |
{{raw:data:s|bold|10|the actual subtitle}} |
The actual subtitle |
Usage in combination with other templates for align and set margins
Code | Example | Result |
---|---|---|
{{raw:data:m|50|{{raw:data:s|bold|10|text}}}} |
{{raw:data:m|50|{{raw:data:s|bold|10|The actual subtitle}}}} |
The actual subtitle |
{{raw:data:ai|1|r|{{raw:data:s|bold|10|text}}}} |
{{raw:data:ai|1|r|{{raw:data:s|bold|10|The actual subtitle}}}} |
The actual subtitle |