Widget:Test2: Difference between revisions
Appearance
Created page with " <noinclude>__NOTOC__ This is just a little widget to prove how we code, this text will be visible when you "look" at the widget </noinclude> <includeonly> <script type="text/..." |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
<includeonly> | <includeonly> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
//var text = '<!--{$text} -->'; | |||
var colour = '<!--{$colour}-->'; | //var colour = '<!--{$colour} -->'; | ||
document.write('So I need to send the message' + text); | var text = 'Text Text"'; | ||
document.write('And I will use the colour' + colour); | var colour = 'RED'; | ||
document.write('I wrote something!!!'); | |||
document.write(' So I need to send the message' + text); | |||
document.write(' And I will use the colour' + colour); | |||
document.write(' I wrote something!!!'); | |||
</script> | </script> | ||
</includeonly> | </includeonly> | ||
Latest revision as of 16:16, 11 February 2022
This is just a little widget to prove how we code, this text will be visible when you "look" at the widget