Template:Val: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Cpiral
No edit summary
meta>Cpiral
(Undid revision 663604827 by Cpiral (talk))
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|}}}|{{#invoke:String|match
   -->|{{#if:{{{u|}}}|{{val/units|{{{u}}}|nbsp}}}}<!--
        |{{val/unitswithlink|{{{u|}}}}}|pattern=(.+)%]%]
        |start={{#expr:{{#invoke:String|find|{{val/unitswithlink|{{{u|}}}}}|{{!}}}}+1}}}}
        |nbsp}}}}<!--
   -->{{#if:{{{ul|}}}|{{val/unitswithlink|{{{ul}}}|nbsp|ls={{{long scale}}}}}}}<!--
   -->{{#if:{{{ul|}}}|{{val/unitswithlink|{{{ul}}}|nbsp|ls={{{long scale}}}}}}}<!--
-->}}<!--  
-->}}<!--  

Revision as of 23:25, 22 May 2015