Template:අධිකාරී/සබැඳි/උපදෙස්

From Wikisource
Jump to navigation Jump to search

භාවිතය[edit]

To create citation type link (link) templates for "hosted works" (works composed of multiple smaller works, for example encyclopedias or anthologies), especially on Author: pages.

It can be used directly for a link using the parameters that you require or it can be used to create another/derivative template for further use.

Direct[edit]

{{අධිකාරී/සබැඳි
 | title =  Catholic Encyclopedia  (1913)| title display = Catholic Encyclopedia
 | link = Roger Brooke Taney
 | year = 1913
 | contributor = J. P. W. McNeal
 | publisher = The Encyclopaedia Press
 | location = New York
 | editor = Charles G. Herbermann and others
}}

producing

Derivative template[edit]

When using the template to create another template (eg. {{CE link}} as in the above example) it takes either

  • hard values to be set, eg. title = title text here
  • parameters to be re-used, eg. if the work has article contributors then contributor = {{{contributor|}}}
  • values can be omitted, where not needed
{{අධිකාරී/සබැඳි
 | title =  Catholic Encyclopedia  (1913)| title display = Catholic Encyclopedia
 | link = {{{link|{{{1}}}}}}
 | year = 1913
 | contributor = {{{contributor|{{{author|}}}}}}
 | publisher = The Encyclopaedia Press
 | location = New York
 | editor = Charles G. Herbermann and others
}}

Noting that the derivative template can have alternative names for its parameters (right hand side of equation) rather than use the default parameter name.

Examples of other citation templates using this format

මේවාත් බලන්න[edit]