I don't understand well your question, but why not using this directly
on your wiki, with this (if it's
possible):http://www.pmwiki.org/wiki/PmWiki/ConditionalMarkup
>I cannot figure out how used variables in skin. I guess {$LastModified} and {$LastModifiedBy} are not evaluate in the <!--function: markup...