<patTemplate:tmpl name="snippet" type="condition" conditionvar="protocol" useglobals="yes">
    <patTemplate:sub condition="mailto">
        <patTemplate:var hidden="yes" name="href" modifier="specialchar" mode="tex" />
        \href{mailto:<{PATH}>@<{HOST}>}{<{TITLE}>}\footnote{E-Mail: <{PATH}>@<{HOST}>}
    </patTemplate:sub>
    <patTemplate:sub condition="self">
        \href{<{HREF}>}{<{CDATA}>}\footnote{<{TITLE}>: [[PROTOCOL]]://[[SERVER]][[SELF]]<{HREF}>}
    </patTemplate:sub>
    <patTemplate:sub condition="__default">
        \href{<{HREF}>}{<{CDATA}>}\footnote{<{TITLE}>: <{HREF}>}
    </patTemplate:sub>
</patTemplate:tmpl>
