User:Bazylevnik0/sandbox
maybe someone interested in this proposal:
to add something interactive during this hackathon to the Singapore page,
i made the little research of existed now a possible programming logic through Wiki markup, looks interesting...
Interactive media:
When media iteract with an input...
What I found interesting:
Buttons:
https://en.wikipedia.org/wiki/Template:Clickable_button
Magic words:
https://en.wikipedia.org/wiki/Help:Magic_words
for example:
20241021211412
'{'{'CURRENTTIMESTAMP'}'}'
Current date and time - time variable
https://en.wikipedia.org/wiki/Template:Time
Math:
https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions
https://meta.wikimedia.org/wiki/Help:Calculation
for example:
20241021211411
'{'{'#expr: '{'{'CURRENTTIMESTAMP'}'}'-1 '}'}'
Arithmetic with variable
Conditions:
https://en.wikipedia.org/wiki/Template:If
https://en.wikipedia.org/wiki/Help:Conditional_expressions
for example:
true
'{'{'if|expr|{{CURRENTTIMESTAMP'}'}'-1 <'{'{'CURRENTTIMESTAMP'}'}'| true | false '}'}'
Conditionals with variables
test snippets in progress:
*click,move,etc...