Difference between revisions of "Template:T"
Jump to navigation
Jump to search
(Created page with "This template can be used to create a title. = One parameter = {| class="wikitable" |- ! Code !! Example !! Result |- | <code><nowiki>{{raw:data:t|text}}</nowiki></code> || <...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude> | ||
This template can be used to create a title. | This template can be used to create a title. | ||
= One parameter = | = One parameter = | ||
Line 6: | Line 7: | ||
! Code !! Example !! Result | ! Code !! Example !! Result | ||
|- | |- | ||
− | | <code><nowiki>{{raw:data:t|text}}</nowiki></code> || <code><nowiki>{{raw:data:t|the actual title text}}</nowiki></code> || <div style="width:400px;">{{t|the actual title text}}</div> | + | | <code><nowiki>{{raw:data:t|text}}</nowiki></code> || <code><nowiki>{{raw:data:t|the actual title}}</nowiki></code> || <div style="width:400px;">{{t|The actual title}}</div> |
+ | |- | ||
+ | | <code><nowiki>{{raw:data:t|10|text}}</nowiki></code> || <code><nowiki>{{raw:data:t|10|the actual title}}</nowiki></code> || <div style="width:400px;">{{t|10|The actual title}}</div> | ||
+ | |- | ||
+ | | <code><nowiki>{{raw:data:t|bold|text}}</nowiki></code> || <code><nowiki>{{raw:data:t|bold|the actual title}}</nowiki></code> || <div style="width:400px;">{{t|bold|The actual title}}</div> | ||
+ | |- | ||
+ | | <code><nowiki>{{raw:data:t|bold|10|text}}</nowiki></code> || <code><nowiki>{{raw:data:t|bold|10|the actual title}}</nowiki></code> || <div style="width:400px;">{{t|bold|10|The actual title}}</div> | ||
|} | |} | ||
+ | </noinclude> | ||
<includeonly> | <includeonly> | ||
− | <div style="font-size:30px;text-align: | + | {{#ifeq: {{{1}}} |bold| {{#ifeq:{{{3|}}}|{{{3}}} | <div style="font-size:{{{2}}}px;text-align:center;font-weight:bold;">{{{3}}}</div> | <div style="font-size:30px;text-align:center;font-weight:bold;">{{{2}}}</div> }} | {{#ifeq:{{{2|}}}|{{{2}}} | <div style="font-size:{{{1}}}px;text-align:center;">{{{2}}}</div> | <div style="font-size:30px;text-align:center;">{{{1}}}</div>}} }} |
</includeonly> | </includeonly> |
Latest revision as of 04:17, 1 October 2020
This template can be used to create a title.
One parameter
Code | Example | Result |
---|---|---|
{{raw:data:t|text}} |
{{raw:data:t|the actual title}} |
The actual title
|
{{raw:data:t|10|text}} |
{{raw:data:t|10|the actual title}} |
The actual title
|
{{raw:data:t|bold|text}} |
{{raw:data:t|bold|the actual title}} |
The actual title
|
{{raw:data:t|bold|10|text}} |
{{raw:data:t|bold|10|the actual title}} |
The actual title
|