Confirmed users
574
edits
m (grammar) |
m (flow) |
||
| Line 56: | Line 56: | ||
=== "not" operator === | === "not" operator === | ||
Since the Knowledgebase will see the addition of new OSes and browser versions from time to time, we introduce a future-proof way of saying, for example, "any OS | Since the Knowledgebase will see the addition of new OSes and browser versions from time to time, we introduce a future-proof way of saying, for example, "any OS but these". This is the role of the {for not} syntax. | ||
Press the {for mac} | Press the {for not mac}Control{/for}{for mac}Apple{/for} key. | ||
The addition of the word "not" causes the {for} contents to show when they would otherwise have hidden and vice versa. The above message would thus read "Control" on any system not running Mac OS. | The addition of the word "not" causes the {for} contents to show when they would otherwise have hidden and vice versa. The above message would thus read "Control" on any system not running Mac OS. | ||
"not" can | "not" can also be used with combinations of items: | ||
{for not mac,win}You aren't using a Mac or Windows.{/for} | {for not mac,win}You aren't using a Mac or Windows.{/for} | ||