Difference between revisions of "Help:Sandbox/protected"

m (Protected "Help:Sandbox/protected": for testing stuff that only works on protected pages [edit=sysop:move=sysop])
(func xmltag)
 
Line 1: Line 1:
Useful function for printing HTML tags:
<pre>
<func xmltag contents>
<func xmltag contents>
   <let name=out chr=60 />
   <let name=out chr=60 />
Line 5: Line 7:
   <echo><get name=out raw /></echo>
   <echo><get name=out raw /></echo>
</func>
</func>
 
</pre>
something: <call xmltag contents="randomtag" />
 
This is a <call xmltag contents="b" />test<call xmltag contents="/b" />

Latest revision as of 00:44, 15 September 2008

Useful function for printing HTML tags:

<func xmltag contents>
  <let name=out chr=60 />
  <let name=out append copy=contents />
  <let name=out append chr=62 />
  <echo><get name=out raw /></echo>
</func>