Difference between revisions of "Template:javascript"
From Anarchopedia
m |
m |
||
Line 3: | Line 3: | ||
Syntax:<br/> | Syntax:<br/> | ||
<nowiki>{{javascript|code.js}}</nowiki> | <nowiki>{{javascript|code.js}}</nowiki> | ||
+ | |||
+ | {| | ||
+ | | Sample application (seconds counter): || '''{{javascript|User:Rev_22/test.js}}''' | ||
+ | |} | ||
+ | |||
</noinclude> | </noinclude> |
Latest revision as of 22:49, 5 August 2006
Template used to add custom javascript code to a page. The code will be executed automatically (by Mediawiki:Monobook.js) after the page has loaded.
Syntax:
{{javascript|code.js}}
Sample application (seconds counter): |