[pmwiki-users] translation table using a variable

lists at basel-inside.ch lists at basel-inside.ch
Tue Jun 24 09:27:57 CDT 2014


Hello,

I updated to the latest pmwiki in the hope it may work, as I already  
posted about this issue:

$[Small] Category: $[{(substr {*$Trail} 9 7)}]  [1]
                                 ^
                                 |--  Small
  Klein                           Small

Is there a way to archive a translation from a substring?

regards
Patrick Ogay


[1]
macro:  (but think doesn't work in content either)
[[#prnxontrail]]
(:template each:)
(:if equal {*$FullName} {=$FullName}:)
||table border=0 align=left width=500
||[[{<$FullName}?Trail={*$Trail}|<]][[{<$FullName}?Trail={*$Trail}|$[back]]]  
|| $[Small] Category: $[{(substr {*$Trail} 9 7)}]   || (:if2  
  ! equal "{*$Trail} "  "  
":)[[{>$FullName}?Trail={*$Trail}|$[next]]][[{>$FullName}?Trail={*$Trail}|>]](:if2end:)||
[[<<]]
(:ifend:)
[[#prnxontrailend]]
(:templateend:)




More information about the pmwiki-users mailing list