Difference between revisions of "Template:Ta"

From Data JW United
Jump to navigation Jump to search
(Created page with "<noinclude> {| class="wikitable" |- ! Code !! Example !! Result |- | <code><nowiki>{{raw:data:ta|l|text}}</nowiki></code> || <code><nowiki>{{raw:data:ta|l|actual text}}</code>...")
 
Line 11: Line 11:
 
|}
 
|}
 
</noinclude>
 
</noinclude>
<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>
{{#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>
 

Revision as of 07:30, 1 October 2020

Code Example Result
{{raw:data:ta|l|text}} {{raw:data:ta|l|actual text}}</code>
actual text
{{raw:data:ta|c|text}} {{raw:data:ta|c|actual text}}</code>
actual text
{{raw:data:ta|r|text}} {{raw:data:ta|r|actual text}}</code>
actual text