From EncyclopAtys
FairyFighter (talk | contribs) m |
FairyFighter (talk | contribs) m |
||
Line 10: | Line 10: | ||
<div style="display: flex; justify-content: space-between; width: 100%; height: 24px;"> | <div style="display: flex; justify-content: space-between; width: 100%; height: 24px;"> | ||
− | {{#if | + | {{#if|expr|{{{CellCount}}}<2| {{:dn-button-3|{{{CellCount}}}|{{{Link1}}} }} | ​}} |
{{#if: {{{CellCount}}}<3 | {{:dn-button-3|CellCount={{{CellCount}}}|text={{{Link2}}} }} | ​}} | {{#if: {{{CellCount}}}<3 | {{:dn-button-3|CellCount={{{CellCount}}}|text={{{Link2}}} }} | ​}} | ||
{{#if: {{{CellCount}}}<4 | {{:dn-button-3|CellCount={{{CellCount}}}|text={{{Link3}}} }} | ​}} | {{#if: {{{CellCount}}}<4 | {{:dn-button-3|CellCount={{{CellCount}}}|text={{{Link3}}} }} | ​}} | ||
Line 17: | Line 17: | ||
{{#if: {{{CellCount}}}<7 | {{:dn-button-3|CellCount={{{CellCount}}}|text={{{Link6}}} }} | ​}} | {{#if: {{{CellCount}}}<7 | {{:dn-button-3|CellCount={{{CellCount}}}|text={{{Link6}}} }} | ​}} | ||
</div> | </div> | ||
+ | |||
+ | |||
+ | {{if|expr|2<3| p | q }} gives " p " | ||
+ | {{#ifexpr:2<3| p | q }} |
Revision as of 23:26, 22 February 2021
<div style="float: left; height: 100%; width: Expression error: Unexpected < operator.%; border-radius: 6px; background-image: linear-gradient(to right, #{{{Color1}}} 70%, #{{{Color2}}}); text-align: center; box-shadow: 5px 5px 4px #{{{Color3}}}; color: #{{{Color4}}};">
{{{Link1}}}<div style="float: left; height: 100%; width: Expression error: Unexpected < operator.%; border-radius: 6px; background-image: linear-gradient(to right, #{{{Color1}}} 70%, #{{{Color2}}}); text-align: center; box-shadow: 5px 5px 4px #{{{Color3}}}; color: #{{{Color4}}};"> {{{Link2}}}</div> <div style="float: left; height: 100%; width: Expression error: Unexpected < operator.%; border-radius: 6px; background-image: linear-gradient(to right, #{{{Color1}}} 70%, #{{{Color2}}}); text-align: center; box-shadow: 5px 5px 4px #{{{Color3}}}; color: #{{{Color4}}};"> {{{Link3}}}</div> <div style="float: left; height: 100%; width: Expression error: Unexpected < operator.%; border-radius: 6px; background-image: linear-gradient(to right, #{{{Color1}}} 70%, #{{{Color2}}}); text-align: center; box-shadow: 5px 5px 4px #{{{Color3}}}; color: #{{{Color4}}};"> {{{Link4}}}</div> <div style="float: left; height: 100%; width: Expression error: Unexpected < operator.%; border-radius: 6px; background-image: linear-gradient(to right, #{{{Color1}}} 70%, #{{{Color2}}}); text-align: center; box-shadow: 5px 5px 4px #{{{Color3}}}; color: #{{{Color4}}};"> {{{Link5}}}</div> <div style="float: left; height: 100%; width: Expression error: Unexpected < operator.%; border-radius: 6px; background-image: linear-gradient(to right, #{{{Color1}}} 70%, #{{{Color2}}}); text-align: center; box-shadow: 5px 5px 4px #{{{Color3}}}; color: #{{{Color4}}};"> {{{Link6}}}</div> </div>
<div style="float: left; height: 100%; width: Expression error: Unexpected < operator.%; border-radius: 6px; background-image: linear-gradient(to right, #{{{Color1}}} 70%, #{{{Color2}}}); text-align: center; box-shadow: 5px 5px 4px #{{{Color3}}}; color: #{{{Color4}}};">
{{{Link2}}}<div style="float: left; height: 100%; width: Expression error: Unexpected < operator.%; border-radius: 6px; background-image: linear-gradient(to right, #{{{Color1}}} 70%, #{{{Color2}}}); text-align: center; box-shadow: 5px 5px 4px #{{{Color3}}}; color: #{{{Color4}}};"> {{{Link3}}}</div> <div style="float: left; height: 100%; width: Expression error: Unexpected < operator.%; border-radius: 6px; background-image: linear-gradient(to right, #{{{Color1}}} 70%, #{{{Color2}}}); text-align: center; box-shadow: 5px 5px 4px #{{{Color3}}}; color: #{{{Color4}}};"> {{{Link4}}}</div> <div style="float: left; height: 100%; width: Expression error: Unexpected < operator.%; border-radius: 6px; background-image: linear-gradient(to right, #{{{Color1}}} 70%, #{{{Color2}}}); text-align: center; box-shadow: 5px 5px 4px #{{{Color3}}}; color: #{{{Color4}}};"> {{{Link5}}}</div> <div style="float: left; height: 100%; width: Expression error: Unexpected < operator.%; border-radius: 6px; background-image: linear-gradient(to right, #{{{Color1}}} 70%, #{{{Color2}}}); text-align: center; box-shadow: 5px 5px 4px #{{{Color3}}}; color: #{{{Color4}}};"> {{{Link6}}}</div> </div>
Template:If gives " p "
p