Difference between revisions of "Template:Wai"
Jump to navigation
Jump to search
(Created page with "<noinclude> <code><ai></code> - stands for "wrapped align items". Used for horizontaly align items. Usages examples: aligning items used in the header or footer of a page. =...") |
|||
Line 3: | Line 3: | ||
= Tree items = | = Tree items = | ||
<code><nowiki>{{wai|3|first|second|third}}</nowiki></code> | <code><nowiki>{{wai|3|first|second|third}}</nowiki></code> | ||
− | <div style="background: #f3efef; max-width: 200px;">{{wai|3|first|second|third}}</div> | + | <div style="background: #f3efef; max-width: 200px;">{{wai|3|first|second|third}}</div><br> |
<div style="background: #f3efef; max-width: 65px;">{{wai|3|first|second|third}}</div> | <div style="background: #f3efef; max-width: 65px;">{{wai|3|first|second|third}}</div> | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#ifeq: {{{1}}} |3| <div style="display:flex;flex-wrap:wrap;"><div style="margin:0 auto;">{{{2}}}</div><div style="margin:0 auto;">{{{3}}}</div><div style="margin: 0 auto;">{{{4}}}</div></div> }}</includeonly> | <includeonly>{{#ifeq: {{{1}}} |3| <div style="display:flex;flex-wrap:wrap;"><div style="margin:0 auto;">{{{2}}}</div><div style="margin:0 auto;">{{{3}}}</div><div style="margin: 0 auto;">{{{4}}}</div></div> }}</includeonly> |
Latest revision as of 06:01, 6 October 2020
<ai>
- stands for "wrapped align items". Used for horizontaly align items. Usages examples: aligning items used in the header or footer of a page.
Tree items
{{wai|3|first|second|third}}
first
second
third
first
second
third