Difference between revisions of "Magic Cube"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
[[{{PAGENAME}}]] | [[{{PAGENAME}}]] | ||
3 | |||
[[wikipedia:{{PAGENAME}}|{{PAGENAME}}]]([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]]) | |||
[{{#ifexpr: {{#len:{{{url}}} }} >0| |}}{{#ask: | |||
[[wikipedia:{{PAGENAME}}]] | |||
}} {{PAGENAME}}]([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]]) | |||
{{#ifexpr: 3<5 | This expression is {{#expr: 0=0}} | This expression is evaluated to {{#expr: 9>9}} }} | |||
#switch | |||
{{#switch: comparison string | |||
| case = result | |||
| case = result | |||
| ... | |||
| case = result | |||
| default result | |||
}} | |||
{{#switch: test | Bar | {{#len:{{{url}}} }} >0 = Foo | baz = Baz }} |
Revision as of 02:32, 2 July 2022
1 Magic Cube([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])
2 [[{{#ifexpr: 20 >0|Magic Cube]]([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])
3 Magic Cube([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])
[ Magic Cube]([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])
This expression is 1
- switch
default result