"ଛାଞ୍ଚ:Val" ପୃଷ୍ଠାର ସଂସ୍କରଣଗୁଡ଼ିକ ମଧ୍ୟରେ ତଫାତ
Content deleted Content added
Adding category check for header and footer parameters, per discussion on talk page. (Of course, revert this if it breaks things.) |
Adding prefix/suffix parameters, per discussion on talk page. Existing header/footer parameters will still work if provided (and p/s are not). |
||
୩୩ କ ଧାଡ଼ି:
-->|<!-- Is arg "up" and "upl" specified? NO
END ERROR CHECKING, START OUTPUT
-->{{{p|{{{h|}}}}}}<!-- If p (prefix) is defined, display p; if p is not defined, but (the deprecated header parameter) h is defined, display h; if h is not defined, do nothing.
-->{{val/delimitnum|{{{1|}}}}}<!-- Output arg1, formatted.
-->{{#if: {{{2|}}}|<!-- Are there 2 or more arguments?
୫୫ କ ଧାଡ଼ି:
-->{{#if:{{{up|}}}|/{{val/units|{{{up}}}}}}}<!-- up=per units
-->{{#if:{{{upl|}}}|/{{val/unitswithlink|{{{upl}}}}}}}<!-- up=per units with link
-->{{{s|{{{f|}}}}}}<!-- If s (suffix) is defined, display s; if s is not defined, but (the deprecated footer parameter) f is defined, display f; if f is not defined, do nothing.
-->}}<!-- End Is arg "up" and "upl" specified?
-->}}<!-- End Is arg "u" and "ul" specified?
|