On 19/02/2008, 65s.mg(a)atlas.cz <65s.mg(a)atlas.cz> wrote:
Try {{#ifeq:...|%DPL-1.6.4-WARNING: No results!||...}}
instead of {{#ifexist:}}. -MGrabovsky
Thanks for the suggestion. I tried:
{{#ifeq:
{{#dpl:
|category = Service
|category = CU {{{cu_name}}}
|titlematch = Infobox SC %
}}
|%DPL-1.6.4-WARNING: No results!
||
{{#dpl:
|category = Service
|category = CU {{{cu_name}}}
|titlematch = Infobox SC %
|include = {Infobox Service Info}:sc_id:sla_id:sla_title:comment
|table=class = sortable border=2 cellpadding=2,-,service id,sla
id,sla title,comment
}}
}}
which works if the data exist, but returns a "%DPL-1.6.4-WARNING: No
results!" when the data is missing. I guess I somehow need to escape
the special characters, but I cannot find what Mediawiki uses for
escape character. Is there one?
Kind regards,
Herta
--
"Life on Earth may be expensive,
but it comes with a free ride around the Sun."