Thank you very much! This would be handy in my next projects.
Greetings, Martin
Am Montag, 9. März 2015 13:05:16 UTC+1 schrieb Tiffany Grenier:
>
> ... and I kept my promise.
> I removed the "classification" parameter and added a "substr" function, so
> the previous examples would become the following ones:
> <(multisearch group={p}.* if='! equal {+:cat} date' when='inlist
> list="{+:cat}" item="logement"|inlist list="{+:cat}" item="bureau"|true'
> template='subpageslistlog|subpageslistbur|subpageslist' count=false
> type=-{zones})>
> [(multisearch
> group=character.apc.+,character.npc.+,character.pc.+.+,character.epc.+.+
> sort="{+:birthlastname} {+:birthfirstname}" type=-{zones} template="[if new
> {(substr {+:birthlastname} 0 1)}]<(substr {+:birthlastname} 0
> 1)>\n[if][[{+p}|+]] : {+:birthlastname} {+:birthfirstname}" count=false)]
> [(multisearch
> group=character.apc.+,character.npc.+,character.pc.+.+,character.epc.+.+
> sort="{+:birthdateyear} {+:birthlastname} {+:birthfirstname}" type=-{zones}
> template="[if new {+:birthdateyear}]{+:birthdateyear}\n[if][[{+p}|+]] :
> {+:birthlastname} {+:birthfirstname}" count=false)]
> [(multisearch group=jeu.* when='inlist list="{+:cat}"
> item="logement"%inlist list="{+:cat}" item="bureau"'
> template='optionhome%optionwork' whensep='%' count=false type=-{zones})]
>
> Enjoy!
>
> Le vendredi 27 février 2015 09:01:34 UTC+1, Tiffany Grenier a écrit :
>>
>> Hi,
>> I think I will remove the classification parameter, as it sometimes seams
>> buggy and even better results can be achieved by using the "new" condition
>> I just discovered, althought I'll then have to provide a waytto check for
>> the novelty based on the first letter or character to be able to do the
>> exact same.
>> Something great will alo to add a "sortunique" parameter or a "unique"
>> flag.I hope I can come back soon with these features.
>> Cheers,
>> Tiffany, alias Maelite/Mélité
>>
>
--
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/boltwire.
For more options, visit https://groups.google.com/d/optout.