Difference between revisions of "Magic Cube"

From PKC
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#len: }}
<HR/>
<HR/>
{{PageNameTemplate
{{PageNameTemplate
|qCode=32432
|qCode=32432
|url=http://cnn.com
|url=https://rubiks.com/
}}
}}
1
[[wikipedia:{{PAGENAME}}|{{PAGENAME}}]]([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])
2
[[{{#ifexpr: {{#len:{{{url|wikipedia:{{PAGENAME}}}}} }} >0|{{PAGENAME}}]]([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])
[[{{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}} }}
[{{#if: {{ {{{url}}} }}| {{{url}}} | wikipedia:{{PAGENAME}} }} {{PAGENAME}} ] ([[wikidata:Q{{{qCode}}}|Q{{{qCode}}}]])
#switch
{{#switch: comparison string
| case = result
| case = result
| ...
| case = result
| default result
}}
{{#switch: test | Bar | {{#len:{{{url}}} }} >0 = Foo | baz = Baz }}
[[
{{#switch: {{{url}}} | wikipedia:{{PAGENAME}} | {{{url}}} }}  {{PAGENAME}}
]]
|url = https://rubiks.com/

Latest revision as of 12:18, 9 July 2022