Template:Val: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Cpiral
(Undid revision 663604827 by Cpiral (talk))
meta>Headbomb
(extra }})
Line 114: Line 114:
     No brackets are needed if there is no up or upl, just add the non-breaking space.
     No brackets are needed if there is no up or upl, just add the non-breaking space.


   -->|{{#if:{{{u|}}}|{{val/units|{{{u}}}|nbsp}}}}<!--
   -->|{{#if:{{{u|}}}|{{#invoke:String|match
   -->{{#if:{{{ul|}}}|{{val/unitswithlink|{{{ul}}}|nbsp|ls={{{long scale}}}}}}}<!--
        |{{val/unitswithlink|{{{u|}}}}}|pattern=(.+)%]%]
        |start={{#expr:{{#invoke:String|find|{{val/unitswithlink|{{{u|}}}}}|{{!}}}}+1}}}}
        |nbsp}}}}<!--
   -->{{#if:{{{ul|}}}|{{val/unitswithlink|{{{ul}}}|nbsp|ls={{{long scale}}}}}<!--
-->}}<!--  
-->}}<!--  
END UNITS
END UNITS

Revision as of 12:13, 26 May 2015