Revision as of 23:18, 23 September 2013

Contents

Explanation

This template exists to simplify addition of a footnote feature within the handbook pages, to reduce the work needed when the handbook wiki is published into the dead tree version. It may also facilitate verification of all external links except that this assumes that all external links (of both types below) are in the wiki using this template. In addition, the links are made 'simple' which means there will only be the subscripted numeral within square brackets, and no square with upper-right pointing arrow symbol.

Implementation - 1st part

The Citelink template method to satisfy the per-link part.

External

The URL is for a location outside of wiki.pcbsd.org.

For the link use {{Citelink|url=complete URL|txt=alternate text}}

Special External (standard)

The URL is for a site not part of the PC-BSD wiki, but has a defined shortcut such as for wikipedia.

Special External (abbreviation)

The URL would otherwise be obscenely long especially due to defining languages the external site has localized.

{{Citelink|shortcut|txtAb=alternate text}}

Example of abbreviation use: [https://creativecommons.org/licenses/by/3.0/deed.en Creative Commons]<br
/> would be{{citelink|url=https://creativecommons.org/licenses/by/3.0/deed{{testLangURL|es|es_ES|ca|de|eo|fr|id|it|hu|no|nl|pl|pt|pt_BR|fi|sv|is|el|ru|uk|zh|zh_TW|ko}}|txt=Creative Commons}}but due to txtAb is now {{citelink|ccby3|txtAb=Creative Commons}}

Current defined shortcuts

Where a localized page exists (shown below with iso code of en within the URL) it will match the language of a localized PC-BSD wiki page it appears on.