Open main menu

Changes

Template:Ai

81 bytes added, 08:48, 1 October 2020
no edit summary
<div style="background: #f3efef; max-width: 200px">{{ai|2|first|second}}</div>
= Tree items =
<code><nowiki>{{ai|3|first|second|{{raw:data:ta|r|third}}}}</nowiki></code><div style="background: #f3efef; max-width: 200px">{{ai|3|first|second|{{ta|r|third}}}}</div>
== Other cases ==
<code><nowiki>{{ai|3|Watchtower|{{ta|r|23}}}}</nowiki></code><div style="background: #f3efef; max-width: 200px">{{ai|3||Watchtower|{{ta|r|23}}}}</div>
</noinclude>
<includeonly>{{#ifeq: {{{1}}} |1| {{#ifeq: {{{2}}} |l| <div>{{{3}}}</div> }}{{#ifeq: {{{2}}} |c| <div style="text-align:center;">{{{3}}}</div> }} {{#ifeq: {{{2}}} |r| <div style="text-align:right;">{{{3}}}</div> }} }} {{#ifeq: {{{1}}} |2| <div style="display:flex"><div style="flex:1">{{{2}}}</div><div style="flex:1;text-align:right">{{{3}}}</div></div> }} {{#ifeq: {{{1}}} |3| <div style="display:flex;justify-content:space-between;"><div style="flex:1">{{{2}}}</div><div style="flex:1;display:flex;justify-content:center;">{{{3}}}</div><div style="flex:1;">{{{4}}}</div></div> }}</includeonly>