Usuario:Fbstj/testing/value-tag

De La Coppermind
< Usuario:Fbstj
Revisión del 21:57 23 nov 2018 de Fbstj (discusión | contribs.) (Fbstj moved page User:Fbstj/value-tag to User:Fbstj/testing/value-tag without leaving a redirect)
(difs.) ← Revisión anterior | Revisión actual (difs.) | Revisión siguiente → (difs.)
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">4050</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" />