Usuario:Fbstj/testing/value-tag

De La Coppermind
Ir a la navegación Ir a la búsqueda
get value before it's set
<value key="test" />
set value
<value key="test">testing</value>
get value after it's set
<value key="test" />
set value to a link
<value key="test">Kaladin</value>
get value after it's set
<value key="test" />
set value to something more complex
<value key="test">4045</value>
get value after it's set
<value key="test" />
define total value of pages
<value key="total">0</value><value key="total" />
define a function ratio($CATEGORY)

<calculation name="ratio" arg="category">División por cero.%</calculation>

call ratio(complete articles)
<calculation call="ratio" category="complete articles" />
call ratio(articles nearing completion)
<calculation call="ratio" category="articles nearing completion" />
call ratio(partially complete articles)
<calculation call="ratio" category="partially complete articles" />
call ratio(stubs)
<calculation call="ratio" category="stubs" />