Doc Icon Shortcode

Summary

Use the Doc Icon shortcode to add a document icon to any link. This is useful for linking to documents that are not in the document collection. There is no reason to use this for documents that are in the document collection on the current site - in that case, use the Document Shortcode.

This shortcode is not enabled by default. It must be enabled by an admin on each community site that will use it.

The text of the link goes between the [uwsa_tooltip] and [/uwsa_tooltip] tags, just like using <a></a> tags.

Required Attributes

url

This specifies the URL of the document. 

Optional Attributes

type

This is the type of document you are linking to. The shortcode will try look at the link to determine the file extension, but this can be used to override it if necessary.

Example: type="pdf"

Examples

Yearly and Monthly Lists

[doc url="https://www.wisconsin.edu/strategic-planning/download/Green-Bay-Parking-Info.pdf"]2017-19 Biennial Budget Proposal[/doc]