PmWiki

Conditional Markup-Talk

Markup Shortcut

You can also use an abbreviated form of (:ifend:), (:if:) for brevity:

(:if cond1:) cond1 is true (:if:)
(:if cond1:) cond1 is true (:if cond2:) cond2 is true (:if:)

The latter is identical to :

(:if cond1:) cond1 is true (:ifend:)(:if cond2:) cond2 is true (:ifend:)

Note that the use of(:if:) without parameters and (:ifend:) is identical.

Where is the difference between round and square brackets in combined conditions?

?

Can specific attachments be tested for existence?

eg (:if attachments descriptor='*.jpg,*.jpeg':) see ConditionalMarkupSamples?

Can attachments on a specific page be tested for existence?

eg (:if attachments Group.PageName:) ?

Can a numerical expression be tested for?

eg (:if {(strlen "{$:Summary}")} < 20:) ?

How can I achieve (:if link=Category/Something:)

?

Is it possible to test for (:if skin myskin:)

?

This is a talk page for improving PmWiki.ConditionalMarkup.