This template eases the amount of typing needed to place the references header and symbol for the citation function.

+

== Explanation ==

−

</noinclude>

+

−

<noinclude>[[category:templates]]</noinclude>

+

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 [[template:citelink|''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 '''<nowiki>{{Citelink|url=</nowiki>'''''complete URL'''''|txt='''''alternate text'''''}}'''

+

+

=== Special External ===

+

+

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

: Place one '''<<nowiki>noinclude>{{refheading}}</noinclude</nowiki>>''' at the bottom of the page, above the category links section.

+

:* A large red text warning message which mentions <nowiki><ref></nowiki> is automatically generated by the wiki when the second half of the setup is missing. However, if the refheading is present and citelink is not used on the page, it results in an empty ''References'' header that could cause confusion, as below:

+

{{refheading}}

+

[[category:templates]]</noinclude>

Revision as of 02:50, 21 April 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 - 2nd part

The refheading template method to satisfy the per-page part.

Place one <noinclude>{{refheading}}</noinclude> at the bottom of the page, above the category links section.

A large red text warning message which mentions <ref> is automatically generated by the wiki when the second half of the setup is missing. However, if the refheading is present and citelink is not used on the page, it results in an empty References header that could cause confusion, as below: