<noinclude>
This is <code><ai></code> - stands for "align items". Used for horizontaly align items. Usages examples: aligning items used for creating pages with paginationin the header or footer of a page.= Top One item === Align left page number ==<code><nowiki>{{pageai|1|tfl|50Content}}</nowiki></code><div style="background: #f3efef; max-width: 200px">{{pageai|1|l|content}}</div>== Align center ==<code><nowiki>{{ai|tf1|50c|Content}}</nowiki></code><div style= Top "background: #f3efef; max-width: 200px">{{ai|1|c|content}}</div>== Align right page number == <code><nowiki>{{pageai|1|trr|50Content}}</nowiki></code><div style="background: #f3efef; max-width: 200px">{{pageai|tr1|50r|content}}</div>= Bottom center page number Two items =<code><nowiki>{{pageai|2|bcfirst|50second}}</nowiki></code><div style="background: #f3efef; max-width: 200px">{{pageai|bc2|50first|contentsecond}}</div>= Bottom left page number Tree items =<code><nowiki>{{pageai|3|first|blsecond|50third}}</nowiki></code><div style="background: #f3efef; max-width: 200px">{{pageai|3|blfirst|50second|contentthird}}</div>= Bottom right page number = Other cases ==<code><nowiki>{{pageai|3|Watchtower|{{ta|brr|5023}}}}</nowiki></code><div style="background: #f3efef; max-width: 200px">{{pageai|3|br|50Watchtower|content{{ta|r|23}}}}</div>
</noinclude>
<includeonly>{{#ifeq: {{{1}}} |tf1| tf {{#ifeq: {{{2}}} |l| <div>{{{3}}}</div> }}{{#ifeq: {{{12}}} |trc| tr <div style="text-align:center;">{{{3}}}</div> }}{{#ifeq: {{{12}}} |brr| br <div style="text-align:right;">{{{3}}}</div> }} }}{{#ifeq: {{{1}}} |bl2| bl <div style="display:flex"><div style="flex:1">{{{2}}}</div><div style="flex:1;text-align:right">{{{3}}}</div></div> }}{{#ifeq: {{{1}}} |bc3| bc <div style="display:flex;justify-content:space-between;"><div style="flex:1">{{{2}}}</div><div style="flex:2;text-align:center;">{{{3}}}</div><div style="flex:1;text-align:right">{{{4}}}</div></div> }}</includeonly>