Difference between revisions of "Template:Ta"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
! Code !! Example !! Result | ! Code !! Example !! Result | ||
|- | |- | ||
− | | <code><nowiki>{{raw:data:ta|l|text}}</nowiki></code> || <code><nowiki>{{raw:data:ta|l|actual text}} | + | | <code><nowiki>{{raw:data:ta|l|text}}</nowiki></code> || <code><nowiki>{{raw:data:ta|l|actual text}}</nowiki></code> || <div style="width:400px;">{{ta|l|actual text}}</div> |
|- | |- | ||
− | | <code><nowiki>{{raw:data:ta|c|text}}</nowiki></code> || <code><nowiki>{{raw:data:ta|c|actual text}} | + | | <code><nowiki>{{raw:data:ta|c|text}}</nowiki></code> || <code><nowiki>{{raw:data:ta|c|actual text}}</nowiki></code> || <div style="width:400px;">{{ta|c|actual text}}</div> |
|- | |- | ||
− | | <code><nowiki>{{raw:data:ta|r|text}}</nowiki></code> || <code><nowiki>{{raw:data:ta|r|actual text}} | + | | <code><nowiki>{{raw:data:ta|r|text}}</nowiki></code> || <code><nowiki>{{raw:data:ta|r|actual text}}</nowiki></code> || <div style="width:400px;">{{ta|r|actual text}}</div> |
|} | |} | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#ifeq: {{{1}}} |l| <div style="text-align:left">{{{2}}}</div> | {{#ifeq: {{{1}}} |c| <div style="text-align:center">{{{2}}}</div> | {{#ifeq: {{{1}}} |r| <div style="text-align:right">{{{2}}}</div> | }}}}}}</includeonly> | <includeonly>{{#ifeq: {{{1}}} |l| <div style="text-align:left">{{{2}}}</div> | {{#ifeq: {{{1}}} |c| <div style="text-align:center">{{{2}}}</div> | {{#ifeq: {{{1}}} |r| <div style="text-align:right">{{{2}}}</div> | }}}}}}</includeonly> |
Latest revision as of 12:28, 13 November 2020
Stands for text align
Code | Example | Result |
---|---|---|
{{raw:data:ta|l|text}} |
{{raw:data:ta|l|actual text}} |
actual text |
{{raw:data:ta|c|text}} |
{{raw:data:ta|c|actual text}} |
actual text |
{{raw:data:ta|r|text}} |
{{raw:data:ta|r|actual text}} |
actual text |