From: Niklas L. <nik...@gm...> - 2012-02-17 08:46:02
|
Hi Markus, Let's say I have query like: {{#ask:[[Liittyvä nimitys::{{FULLPAGENAME}}]] [[Kieli::!suomi]] |intro=<h2>Käännösvastineet</h2> |mainlabel=- |?Nimitys = |?Kieli = |?Käännösvastaavuus = |sort=Kieli |format=ul }} Which gives output like: * blómhlífarblað (islanti) * blomsterblad (norja) * hylleblad (ruotsi osittainen käännösvastaavuus: viittaa laajempaan käsitteesen) But I'd like to have the output as: * blómhlífarblað (islanti) * blomsterblad (norja) * hylleblad (ruotsi; osittainen käännösvastaavuus: viittaa laajempaan käsitteesen) But I'd like to have it like this: NimitysValue (KieliValue) NimitysValue (KieliValue; KäännösvastaavuusValue) So to have ; as separator if there is multiple properties in the parenthesis. In IRC I found out that there is something called per property separators, but I could not accomplish above with documentation or help from the channel, and they told that you would know how to do this if it is supported. -Niklas -- Niklas Laxström |
From: badon <fas...@gm...> - 2012-02-21 22:18:38
|
I think you need to have this bug fixed for that to work: https://bugzilla.wikimedia.org/show_bug.cgi?id=32863 I haven't used that format in a long time because of that problem, so maybe there's another way to do it that I don't know about. -- View this message in context: http://wikimedia.7.n6.nabble.com/Per-property-separators-tp4479037p4493135.html Sent from the Semantic Mediawiki - User mailing list archive at Nabble.com. |
From: Stephan G. <s7...@gm...> - 2012-02-21 23:10:29
|
> So to have ; as separator if there is multiple properties in the > parenthesis. In IRC I found out that there is something called per > property separators, but I could not accomplish above with > documentation or help from the channel, and they told that you would > know how to do this if it is supported. Hi Niklas, just activated the "sep" parameter for formats ul and ol. Try the dev version of SRF please. Cheers, Stephan |
From: Niklas L. <nik...@gm...> - 2012-02-23 15:45:05
|
On 22 February 2012 01:10, Stephan Gambke <s7...@gm...> wrote: >> So to have ; as separator if there is multiple properties in the >> parenthesis. In IRC I found out that there is something called per >> property separators, but I could not accomplish above with >> documentation or help from the channel, and they told that you would >> know how to do this if it is supported. > > Hi Niklas, > > just activated the "sep" parameter for formats ul and ol. Try the dev > version of SRF please. Thanks, but it looks like Foxtrott made sep= work for all lists in SMW in the mean time, so I don't need to install a new extension to do that. -Niklas -- Niklas Laxström |
From: Stephan G. <s7...@gm...> - 2012-02-23 16:28:20
|
That's me. :) Just mixed up SMW and SRF. Cheers, Stephan On 23 February 2012 16:44, Niklas Laxström <nik...@gm...> wrote: > On 22 February 2012 01:10, Stephan Gambke <s7...@gm...> wrote: >>> So to have ; as separator if there is multiple properties in the >>> parenthesis. In IRC I found out that there is something called per >>> property separators, but I could not accomplish above with >>> documentation or help from the channel, and they told that you would >>> know how to do this if it is supported. >> >> Hi Niklas, >> >> just activated the "sep" parameter for formats ul and ol. Try the dev >> version of SRF please. > > > Thanks, but it looks like Foxtrott made sep= work for all lists in SMW > in the mean time, so I don't need to install a new extension to do > that. > -Niklas > > > -- > Niklas Laxström |