Template:Authority reference

To link internally for References within the body of a work to a Table of Authorities that exists within the work. For this template to function there is the requirement that the pages of the table of authorities have anchors for each of the references in the table of authorities and that the text for each authority/reference is a labelled section utilising <section begin=AUTHORITY /> text text text <section end=AUTHORITY />.

In Page: namespace to put the specific reference number in superscript text and to hyperlink to the specific reference in the table of authorities

In the main namespace, where the pages from the work are transcluded, to separately transclude the specific reference text from the table of authorities as a reference <ref>Authority</ref> and to have it appear as use of the Cite extension <references/>.