NOTICE: This is a static version of the wiki site. Please excuse, not all features are operating, but response will be much faster!

FootLinks

This topic is a macro which will format links so they are also included in a footnote list. This is suitable for print-format production as it provides the full URL of the link, but also allows for easy clicking if the link is provided locally. This requires System.FootNotePlugin. This is an INFRASTRUCTURE topic.

To use it, you call as follows:
%INCLUDE{"FootLinks" LINKURL="full url" WEBTOPIC="web/topic" LINKTEXT="arbitrary text" LINKDESC="additional description not part of link but included after it."}%

%LINKTEXT%%FOOTNOTE{"%IF{'defined WEBTOPIC' then='%VIEWURL%/%WEBTOPIC%' else='%LINKURL%'}% %LINKTEXT% - %IF{'defined LINKDESC' then="%LINKDESC%"}%"}% %IF{'defined LINKDESC' then="%LINKDESC%"}%

Example Source:
%INCLUDE{"FootLinks" LINKURL="https://copswiki.org/w/pub/Common/FootLinks/ballot096fc.jpg" LINKTEXT="Scanned Ballot" LINKDESC="Full-color, one side, JPEG format, 96 dpi, 191KB"}% %INCLUDE{"FootLinks" WEBTOPIC="Common/FootLinks" LINKTEXT="Link to this topic" LINKDESC="A handy include topic for creating hardcopy-friendly links"}%

Results In:

  • %INCLUDE{"FootLinks" LINKURL="%ATTACHURL%/ballot096fc.jpg" LINKTEXT="Scanned Ballot" LINKDESC="Full-color, one side, JPEG format, 96 dpi, 191KB"}%
  • %INCLUDE{"FootLinks" WEBTOPIC="Common/FootLinks" LINKTEXT="Link to this topic" LINKDESC="A handy include topic for creating hardcopy-friendly links"}%

And footnotes below: