User:Bazylevnik0/sandbox

From Wikipedia, the free encyclopedia

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:

This looks like a button [[Talk:Main Page|Actualy button]]
https://en.wikipedia.org/wiki/Template:Clickable_button

Magic words:

https://en.wikipedia.org/wiki/Help:Magic_words

for example: 20240516025031
'{'{'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: 20240516025030
'{'{'#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...

Wikimania_Singapore_Logo

Addapted for interactive snippet illustration of Wikimania Singapore
Addapted for interactive snippet illustration of Wikimania Singapore


Singapore (SG), Gardens By The Bay -- 2019 -- 4755

Singapore Gardens by the Bay 08

Singapore (SG), Gardens By The Bay -- 2019 -- 4468

[[1]] [[2]] [[3]]


East West Line logo addapted to interactive(icon)

Singapore MRT East West Line logo addapted to interactive(back)