Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Scottish document: Difference between revisions

Template page
No edit summary
 
m 1 revision imported
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
{{#if: {{{description|}}}{{{library_title|}}}{{{nls_title|}}}{{{tna_title|}}}{{{nrs_title|}}}{{{rps_title|}}}{{{poms_charter_type|}}}|{{!}} style="vertical-align:top;" {{!}} {{{description|{{{library_title|{{{nls_title|{{{tna_title|{{{nrs_title|{{{rps_title|{{{poms_charter_type|}}}}}}}}}}}}}}}}}}}}} }}
{{#if: {{{description|}}}{{{library_title|}}}{{{nls_title|}}}{{{tna_title|}}}{{{nrs_title|}}}{{{rps_title|}}}{{{poms_charter_type|}}}|{{!}} style="vertical-align:top;" {{!}} {{{description|{{{library_title|{{{nls_title|{{{tna_title|{{{nrs_title|{{{rps_title|{{{poms_charter_type|}}}}}}}}}}}}}}}}}}}}} }}
|-
|-
{{#if: {{{language|}}}{{{poms_language|}}}{{{nrs_language|}}}{{{tna_language|}}}{{{poms_firm_date|}}}{{{nrs_date|}}}{{{document_date|}}}{{{tna_covering_dates|}}}|{{!}} colspan="2" {{!}} Originally written {{#if: {{{language|}}}{{{tna_language|}}}{{{poms_language|}}}{{{nrs_language|}}}|in {{#arraymap:{{{language|{{{poms_language|{{{nrs_language|{{{tna_language|}}}}}}}}}}}}|;|x|[[Has language::x]]}}}} {{{document_date|{{{poms_firm_date|{{{nrs_date|{{{poms_probable_date|{{{tna_covering_dates|}}}}}}}}}}}}}}} }}
{{#if: {{{language|}}}{{{poms_language|}}}{{{nrs_language|}}}{{{tna_language|}}}{{{poms_firm_date|}}}{{{nrs_date|}}}{{{document_date|}}}{{{tna_covering_dates|}}}|{{!}} colspan="2" {{!}} Originally written {{#if: {{{language|}}}{{{tna_language|}}}{{{poms_language|}}}{{{nrs_language|}}}|in {{#arraymap:{{{language|{{{poms_language|{{{nrs_language|{{{tna_language|}}}}}}}}}}}}|;|@|[[Has language::@]]}}}} {{{document_date|{{{poms_firm_date|{{{nrs_date|{{{poms_probable_date|{{{tna_covering_dates|}}}}}}}}}}}}}}} }}
|}
|}
{{#if: {{{transcription|}}}|== Transcription ==
{{#if: {{{transcription|}}}|== Transcription ==
<div style="margin-left:20px; {{#switch: {{{font|}}}|Script=class{{=}}oldscript|Latin=class{{=}}junicodelatin |Insular=class{{=}}insular |class{{=}}booktext}}">{{{transcription|}}}{{#ifeq:{{{text_reader|}}}|TRUE|<br>{{Text reader}}}}</div>}}
<div style="margin-left:20px;" {{#switch: {{{font|}}}|Script=class{{=}}"oldscript|Latin=class{{=}}"junicodelatin |Insular=class{{=}}"insular |class{{=}}"booktext}}">{{{transcription|}}}{{#ifeq:{{{text_reader|}}}|Yes|<br>{{Text reader}}}}</div>}}
{{#if: {{{translation|}}}|== Translation ==
{{#if: {{{translation|}}}|== Translation ==
<div style="margin-left:20px;">{{{translation|}}}{{#ifeq:{{{google_translate|}}}|TRUE|<br>{{Google translate}}}}</div>}}
<div style="margin-left:20px;">{{{translation|}}}{{#ifeq:{{{google_translate|}}}|Yes|<br>{{Google translate}}}}</div>}}
{{#if:{{{publication|}}}{{{repository|}}}{{{nls_id|}}}{{{tna_citable_reference|}}}{{{nrs_reference|}}}{{{rps_id|}}}{{{poms_id|}}}|== Document ==}}
{{#if:{{{publication|}}}{{{repository|}}}{{{nls_id|}}}{{{tna_citable_reference|}}}{{{nrs_reference|}}}{{{rps_id|}}}{{{poms_id|}}}|== Document ==}}
{| style="text-align:left;margin-left:20px;margin-top:20px;"
{| style="text-align:left;margin-left:20px;margin-top:20px;"
Line 55: Line 55:
|-
|-
{{#if: {{{tna_collection|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Collection}}
{{#if: {{{tna_collection|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Collection}}
{{#if: {{{tna_collection|}}}|{{!}} style="vertical-align:top;" {{!}} [[Has library collection::{{{tna_collection|}}}]] }}
{{#if: {{{tna_collection|}}}|{{!}} style="vertical-align:top;" {{!}} [[Has library collection::{{{tna_collection|}}}]] {{#if:{{{tna_folio|}}}
|([[Source:TNA catalogue entry {{{tna_citable_reference|}}}|{{{tna_citable_reference|}}}]])
|{{#ifeq:{{#count:{{{tna_citable_reference|}}}|/}}|0||([[Source:TNA catalogue entry {{Trim ID|{{{tna_citable_reference|}}}}}|{{Trim ID|{{{tna_citable_reference|}}}}}]])}}}}}}
|-
|-
{{#if: {{{tna_context_description|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Collection notes}}
{{#if: {{{tna_context_description|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Collection notes}}
Line 61: Line 63:
|-
|-
{{#if: {{{tna_citable_reference|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Reference}}
{{#if: {{{tna_citable_reference|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Reference}}
{{#if: {{{tna_citable_reference|}}}|{{!}} style="vertical-align:top;" {{!}} {{#if:{{{tna_id|}}}
{{#if: {{{tna_citable_reference|}}}|{{!}} style="vertical-align:top;" {{!}} {{#if:{{{tna_id|}}}
|[https://discovery.nationalarchives.gov.uk/details/r/{{{tna_id|}}} {{{tna_citable_reference|}}}] <small>(link to catalog entry)</small>{{#set: Has National Archives UK ID={{{tna_id|}}}|Has source title=TNA, {{{tna_citable_reference|}}} |Has National Archives UK reference={{{tna_citable_reference|}}}}}
|[https://discovery.nationalarchives.gov.uk/details/r/{{{tna_id|}}} {{{tna_citable_reference|}}}] <small>(link to catalog entry)</small>{{#set: Has National Archives UK ID={{{tna_id|}}}|Has source title=TNA, {{{tna_citable_reference|}}} |Has National Archives UK reference={{{tna_citable_reference|}}}}}
Line 78: Line 79:
{{#if: {{{tna_note|}}}|{{!}} style="vertical-align:top;" {{!}} {{{tna_note|}}} }}
{{#if: {{{tna_note|}}}|{{!}} style="vertical-align:top;" {{!}} {{{tna_note|}}} }}
|-
|-
{{#if: {{{tna_covering_dates|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Date}}
{{#if: {{{tna_covering_dates|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Period}}
{{#if: {{{tna_covering_dates|}}}|{{!}} style="vertical-align:top;" {{!}} {{{tna_covering_dates|}}} }}
{{#if: {{{tna_covering_dates|}}}|{{!}} style="vertical-align:top;" {{!}} {{{tna_covering_dates|}}} }}
|-
{{#if: {{{tna_start_date|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Date range}}
{{#if: {{{tna_start_date|}}}|{{!}} style="vertical-align:top;" {{!}} {{#dateformat|{{{tna_start_date|}}}|dmy}}—{{#dateformat|{{{tna_end_date|}}}|dmy}}{{#set:Has start date={{{tna_start_date|}}}|Has end date={{{tna_end_date|}}}}}}}
|-
|-
{{#if: {{{tna_language|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Language}}
{{#if: {{{tna_language|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Language}}
Line 109: Line 113:
{{#if: {{{nrs_collection|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Collection}}
{{#if: {{{nrs_collection|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Collection}}
{{#if: {{{nrs_collection|}}}|{{!}} style="vertical-align:top;" {{!}} [[Has library collection::{{{nrs_collection|}}}]] {{#if:{{{nrs_folio|}}}
{{#if: {{{nrs_collection|}}}|{{!}} style="vertical-align:top;" {{!}} [[Has library collection::{{{nrs_collection|}}}]] {{#if:{{{nrs_folio|}}}
|([[Source:NRS catalogue entry {{{nrs_reference|}}}|{{{nrs_reference|}}}]])
|([[Include in source page::Source:NRS catalogue entry {{{nrs_reference|}}}|{{{nrs_reference|}}}]])
|{{#ifeq:{{#count:{{{nrs_reference|}}}|/}}|0||([[Source:NRS catalogue entry {{Trim ID|{{{nrs_reference|}}}}}|{{Trim ID|{{{nrs_reference|}}}}}]])}}}}}}
|{{#ifeq:{{#count:{{{nrs_reference|}}}|/}}|0||([[Source:NRS catalogue entry {{Trim ID|{{{nrs_reference|}}}}}|{{Trim ID|{{{nrs_reference|}}}}}]])}}}}}}
|-
|-
Line 133: Line 137:
|-
|-
{{#if: {{{nrs_location|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Location}}
{{#if: {{{nrs_location|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Location}}
{{#if: {{{nrs_location|}}}|{{!}} style="vertical-align:top;" {{!}} {{{nrs_location|}}}}}
{{#if: {{{nrs_location|}}}|{{!}} style="vertical-align:top;" {{!}} {{{nrs_location|}}}{{#set:Has library access={{{nrs_location|}}}}}}}
|-
|-
{{#if: {{{nrs_description|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Description}}
{{#if: {{{nrs_description|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Description}}
Line 184: Line 188:
|-
|-
{{#if: {{{nrs_associated_places|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Associated places}}
{{#if: {{{nrs_associated_places|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Associated places}}
{{#if: {{{nrs_associated_places|}}}|{{!}} style="vertical-align:top;" {{!}} {{#arraymap:{{{nrs_associated_places|}}}|;|x|[[Has NRS place code::x]]}} ([[Has location::{{#arraymaptemplate:{{{nrs_associated_places|}}}|NRS place code switch values|;|{{))!}}, {{!((}}Has location::}}]])}}
{{#if: {{{nrs_associated_places|}}}|{{!}} style="vertical-align:top;" {{!}} {{#arraymap:{{{nrs_associated_places|}}}|;|@|[[Has NRS place code::@]]}} ([[Has location::{{#arraymaptemplate:{{{nrs_associated_places|}}}|NRS place code switch values|;|{{))!}}, {{!((}}Has location::}}]])}}
|-
|-
{{#if: {{{rps_id|}}} |! colspan=2 {{!}} [[The Records of the Parliaments of Scotland to 1707|Records of the Parliaments of Scotland]] database {{#set: Has repository=The Records of the Parliaments of Scotland to 1707}}}}
{{#if: {{{rps_id|}}} |! colspan=2 {{!}} [[The Records of the Parliaments of Scotland to 1707|Records of the Parliaments of Scotland]] database {{#set: Has repository=The Records of the Parliaments of Scotland to 1707}}}}
Line 233: Line 237:
|-
|-
{{#if: {{{poms_charter_type|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Charter type}}
{{#if: {{{poms_charter_type|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Charter type}}
{{#if: {{{poms_charter_type|}}}|{{!}} style="vertical-align:top;" {{!}} {{{poms_charter_type|}}}{{#set: Has document type={{{poms_charter_type|}}}}}}}
{{#if: {{{poms_charter_type|}}}|{{!}} style="vertical-align:top;" {{!}} {{{poms_charter_type|}}}}}
|-
|-
{{#if: {{{poms_chirograph|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Chirograph}}
{{#if: {{{poms_chirograph|}}}|! style="vertical-align:top;white-space:nowrap;" {{!}} Chirograph}}
Line 260: Line 264:
     | Has document type={{{document_type|{{{poms_charter_type|}}}}}}
     | Has document type={{{document_type|{{{poms_charter_type|}}}}}}
     | Include in source page={{{publication|}}}|+sep=;
     | Include in source page={{{publication|}}}|+sep=;
     | Include in page section=Documents}}<!--
     | Include in page section=Documents
}}<!--
-->{{#if: {{{citation_template|}}}|{{#set: Has citation template=Template:{{{citation_template|}}}}}}}<!--
-->{{#if: {{{name|}}}| {{#set: Has name={{{name|}}}|+sep=;}}}}<!--
-->{{#if: {{{name|}}}| {{#set: Has name={{{name|}}}|+sep=;}}}}<!--
-->{{#if: {{{place|}}}| {{#set: Has place={{{place|}}}|+sep=;}}}}<!--
-->{{#if: {{{place|}}}| {{#set: Has place={{{place|}}}|+sep=;}}}}<!--
Line 269: Line 275:
{{Show timeline|subobject}}
{{Show timeline|subobject}}
{{#if: {{{notes|}}}|<h2>Discussion</h2>
{{#if: {{{notes|}}}|<h2>Discussion</h2>
{{{notes|}}}}}{{#ifeq: {{{footnotes|}}}|TRUE|<h2>Notes</h2>
{{{notes|}}}}}{{#ifeq: {{{footnotes|}}}|Yes|<h2>Notes</h2>
{{NoteFoot}}}}<!--
{{NoteFoot}}}}<!--
-->{{#ifeq: {{{order_original|}}}|TRUE|
-->{{#ifeq: {{{order_original|}}}|Order|
<h2>Research notes</h2>
<h2>Research notes</h2>
This item is of special interest and a copy of the original should be ordered from the [[National Records of Scotland#Ordering originals|National Records of Scotland]].{{#set: Has order item=TRUE}}}}
This item is of special interest and a copy of the original should be ordered.{{#set: Has order item=Yes}}}}


== Source citation ==
== Source citation ==
Each of the [[#Timeline|timeline events]] displayed above is followed by the reference code for that particular timeline event. This code is not displayed when the timeline event is included in the 'Timeline' section of an article. If an event is discussed within the body of an article, this reference code can be used to cite the source of the timeline event.
Each of the [[#Timeline|timeline events]] displayed above is followed by the reference code for that particular timeline event. This code is not displayed when the timeline event is included in the 'Timeline' section of an article. If an event is discussed within the body of an article, this reference code can be used to cite the source of the timeline event.
{{#if: {{{citation_template|}}}{{{full_citation_text|}}}|<br><br>This source also needs to be included in the 'Sources' section of an article by adding the following:
{{#if: {{{citation_type|}}}
{{#if: {{{citation_template|}}}
|<br><br>This source also needs to be included in the 'Sources' section of an article by adding the following:<br><br>
|<br><br><code>&#x002a;
<code>&#x002a; {{#ifeq:{{{citation_type|}}}
{{#ifeq:{{{citation_template|}}}|NLS full
|NLS
| {{tlx|NLS full|title{{=}}{{{nls_title|}}}|id{{=}}{{{nls_id|}}}|collection{{=}}{{{nls_collection|}}}|url{{=}}{{plain|{{{nls_url|}}}}}|today{{=}}''today''}}
|{{tlx|NLS full|title{{=}}{{{nls_title|}}}|id{{=}}{{{nls_id|}}}|collection{{=}}{{{nls_collection|}}}|url{{=}}{{plain|{{{nls_url|}}}}}|today{{=}}''today''}}
|{{#ifeq:{{{citation_template|}}}|Sasines full
|{{#ifeq:{{{citation_type|}}}
| {{tlx|Sasines full|{{#replace:{{{nrs_reference|}}}|/|{{!}}}}}}
|Sasines
|{{#ifeq:{{{citation_template|}}}|Commissary court full
|{{tlx|Sasines full|{{#replace:{{{nrs_reference|}}}|/|{{!}}}}}}
| {{tlx|Commissary court full|{{#replace:{{{nrs_reference|}}}|/|{{!}}}}}}
|{{#ifeq:{{{citation_type|}}}
|{{#if:{{{citation_template_parameter|}}}
|Commissary court
|{{#if:{{{volume|}}}
|{{tlx|Commissary court full|{{#replace:{{{nrs_reference|}}}|/|{{!}}}}}}
|{{tlx|{{{citation_template|}}}|volume{{=}}{{{volume|}}}|{{{citation_template_parameter|}}}{{=}}{{{citation_template_parameter_value|}}}}}
|{{#ifeq:{{{citation_type|}}}
|{{tlx|{{{citation_template|}}}|{{{citation_template_parameter|}}}{{=}}{{{citation_template_parameter_value|}}}}}
|Other
}}
|{{#if:{{{template_parameters|}}}{{{volume|}}}{{{edition|}}}
|{{#if:{{{volume|}}}
|{{tlx|{{{citation_template|}}}|{{{template_parameters|}}}{{#if:{{{volume|}}}|{{if both|{{{template_parameters|}}}|{{{volume|}}}|{{!}}volume{{=}}{{{volume|}}}|volume{{=}}{{{volume|}}}}}}}{{#if:{{{edition|}}}|{{if both|{{{template_parameters|{{{volume|}}}}}}|{{{edition|}}}|{{!}}edition{{=}}{{{edition|}}}|edition{{=}}{{{edition|}}}}}}}}}
|{{tlg|{{{citation_template|}}}|volume{{=}}{{{volume|}}}}}
|{{tl|{{{citation_template|}}}}}
|{{tl|{{{citation_template|}}}}}
}}
}}
}}
}}
}}</code>
|{{#if: {{{full_citation_text|}}}|<br><br>
<code>&#x002a; <nowiki>{{</nowiki>{{{full_citation_text|}}}<nowiki>}}</nowiki>{{#if:{{{publication|}}}|<nowiki>{{#set: Has source=</nowiki>{{#explode:{{{publication|}}}|;|0}}<nowiki>}}</nowiki>}}</code>
}}
}}
|{{#ifeq:{{{citation_type|}}}|CS1
|<nowiki>{{</nowiki>{{{cs1_citation_template|}}} {{#if:{{{last1|}}}|{{!}}last1= {{{last1|}}}}} {{#if:{{{first1|}}}|{{!}}first1= {{{first1|}}}}} {{#if:{{{author-link1|}}}|{{!}}author-link1= {{{author-link1|}}}}} {{#if:{{{last2|}}}|{{!}}last2= {{{last2|}}}}} {{#if:{{{first2|}}}|{{!}}first2= {{{first2|}}}}} {{#if:{{{author-link2|}}}|{{!}}author-link2= {{{author-link2|}}}}} {{#if:{{{last3|}}}|{{!}}last3= {{{last3|}}}}} {{#if:{{{first3|}}}|{{!}}first3= {{{first3|}}}}} {{#if:{{{author-link3|}}}|{{!}}author-link3= {{{author-link3|}}}}} {{#if:{{{last4|}}}|{{!}}last4= {{{last4|}}}}} {{#if:{{{first4|}}}|{{!}}first4= {{{first4|}}}}} {{#if:{{{author-link4|}}}|{{!}}author-link4= {{{author-link4|}}}}} {{#if:{{{last5|}}}|{{!}}last5= {{{last5|}}}}} {{#if:{{{first5|}}}|{{!}}first5= {{{first5|}}}}} {{#if:{{{author-link5|}}}|{{!}}author-link5= {{{author-link5|}}}}} {{#if:{{{display-authors|}}}|{{!}}display-authors= {{{display-authors|}}}}} {{#if:{{{author-mask|}}}|{{!}}author-mask= {{{author-mask|}}}}} {{#if:{{{editor-last1|}}}|{{!}}editor-last1= {{{editor-last1|}}}}} {{#if:{{{editor-first1|}}}|{{!}}editor-first1= {{{editor-first1|}}}}} {{#if:{{{editor-link1|}}}|{{!}}editor-link1= {{{editor-link1|}}}}} {{#if:{{{editor-last2|}}}|{{!}}editor-last2= {{{editor-last2|}}}}} {{#if:{{{editor-first2|}}}|{{!}}editor-first2= {{{editor-first2|}}}}} {{#if:{{{editor-link2|}}}|{{!}}editor-link2= {{{editor-link2|}}}}} {{#if:{{{editor-last3|}}}|{{!}}editor-last3= {{{editor-last3|}}}}} {{#if:{{{editor-first3|}}}|{{!}}editor-first3= {{{editor-first3|}}}}} {{#if:{{{editor-link3|}}}|{{!}}editor-link3= {{{editor-link3|}}}}} {{#if:{{{editor-last4|}}}|{{!}}editor-last4= {{{editor-last4|}}}}} {{#if:{{{editor-first4|}}}|{{!}}editor-first4= {{{editor-first4|}}}}} {{#if:{{{editor-link4|}}}|{{!}}editor-link4= {{{editor-link4|}}}}} {{#if:{{{editor-last5|}}}|{{!}}editor-last5= {{{editor-last5|}}}}} {{#if:{{{editor-first5|}}}|{{!}}editor-first5= {{{editor-first5|}}}}} {{#if:{{{editor-link5|}}}|{{!}}editor-link5= {{{editor-link5|}}}}} {{#if:{{{display-editors|}}}|{{!}}display-editors= {{{display-editors|}}}}} {{#if:{{{translator-last1|}}}|{{!}}translator-last1= {{{translator-last1|}}}}} {{#if:{{{translator-first1|}}}|{{!}}translator-first1= {{{translator-first1|}}}}} {{#if:{{{translator-link1|}}}|{{!}}translator-link1= {{{translator-link1|}}}}} {{#if:{{{translator-last2|}}}|{{!}}translator-last2= {{{translator-last2|}}}}} {{#if:{{{translator-first2|}}}|{{!}}translator-first2= {{{translator-first2|}}}}} {{#if:{{{translator-link2|}}}|{{!}}translator-link2= {{{translator-link2|}}}}} {{#if:{{{translator-last3|}}}|{{!}}translator-last3= {{{translator-last3|}}}}} {{#if:{{{translator-first3|}}}|{{!}}translator-first3= {{{translator-first3|}}}}} {{#if:{{{translator-link3|}}}|{{!}}translator-link3= {{{translator-link3|}}}}} {{#if:{{{translator-last4|}}}|{{!}}translator-last4= {{{translator-last4|}}}}} {{#if:{{{translator-first4|}}}|{{!}}translator-first4= {{{translator-first4|}}}}} {{#if:{{{translator-link4|}}}|{{!}}translator-link4= {{{translator-link4|}}}}} {{#if:{{{translator-last5|}}}|{{!}}translator-last5= {{{translator-last5|}}}}} {{#if:{{{translator-first5|}}}|{{!}}translator-first5= {{{translator-first5|}}}}} {{#if:{{{translator-link5|}}}|{{!}}translator-link5= {{{translator-link5|}}}}} {{#if:{{{display-translators|}}}|{{!}}display-translators= {{{display-translators|}}}}} {{#if:{{{others|}}}|{{!}}others= {{{others|}}}}} {{#if:{{{name-list-style|}}}|{{!}}name-list-style= {{{name-list-style|}}}}} {{#if:{{{date|}}}|{{!}}date= {{{date|}}}}} {{#if:{{{year|}}}|{{!}}year= {{{year|}}}}} {{#if:{{{orig-date|}}}|{{!}}orig-date= {{{orig-date|}}}}} {{#if:{{{chapter|}}}|{{!}}chapter= {{{chapter|}}}}} {{#if:{{{trans-chapter|}}}|{{!}}trans-chapter= {{{trans-chapter|}}}}} {{#if:{{{chapter-url|}}}|{{!}}chapter-url= {{plain|{{{chapter-url|}}}}}}} {{#if:{{{chapter-url-access|}}}|{{!}}chapter-url-access= {{{chapter-url-access|}}}}} {{#if:{{{chapter-format|}}}|{{!}}chapter-format= {{{chapter-format|}}}}} {{#if:{{{title|}}}|{{!}}title= {{{title|}}}}} {{#if:{{{trans-title|}}}|{{!}}trans-title= {{{trans-title|}}}}} {{#if:{{{title-link|}}}|{{!}}title-link= {{{title-link|}}}}} {{#if:{{{journal|}}}|{{!}}journal= {{#tag:nowiki|{{{journal|}}}}}}} {{#if:{{{magazine|}}}|{{!}}magazine= {{#tag:nowiki|{{{magazine|}}}}}}} {{#if:{{{work|}}}|{{!}}work= {{#tag:nowiki|{{{work|}}}}}}} {{#if:{{{type|}}}|{{!}}type= {{{type|}}}}} {{#if:{{{series|}}}|{{!}}series= {{#tag:nowiki|{{{series|}}}}}}} {{#if:{{{language|}}}|{{!}}language= {{{language|}}}}} {{#if:{{{volume|}}}|{{!}}volume= {{{volume|}}}}} {{#if:{{{edition|}}}|{{!}}edition= {{{edition|}}}}} {{#if:{{{issue|}}}|{{!}}issue= {{{issue|}}}}} {{#if:{{{publication-place|}}}|{{!}}publication-place= {{{publication-place|}}}}} {{#if:{{{location|}}}|{{!}}location= {{{location|}}}}} {{#if:{{{publisher|}}}|{{!}}publisher= {{#tag:nowiki|{{{publisher|}}}}}}} {{#if:{{{department|}}}|{{!}}department= {{{department|}}}}} {{#if:{{{agency|}}}|{{!}}agency= {{{agency|}}}}} {{#if:{{{publication-date|}}}|{{!}}publication-date= {{{publication-date|}}}}} {{#if:{{{asin|}}}|{{!}}asin= {{{asin|}}}}} {{#if:{{{doi|}}}|{{!}}doi= {{{doi|}}}}} {{#if:{{{doi-access|}}}|{{!}}doi-access= {{{doi-access|}}}}} {{#if:{{{doi-broken-date|}}}|{{!}}doi-broken-date= {{{doi-broken-date|}}}}} {{#if:{{{hdl|}}}|{{!}}hdl= {{{hdl|}}}}} {{#if:{{{hdl-access|}}}|{{!}}hdl-access= {{{hdl-access|}}}}} {{#if:{{{isbn|}}}|{{!}}isbn= {{{isbn|}}}}} {{#if:{{{issn|}}}|{{!}}issn= {{{issn|}}}}} {{#if:{{{jstor|}}}|{{!}}jstor= {{{jstor|}}}}} {{#if:{{{jstor-access|}}}|{{!}}jstor-access= {{{jstor-access|}}}}} {{#if:{{{lccn|}}}|{{!}}lccn= {{{lccn|}}}}} {{#if:{{{oclc|}}}|{{!}}oclc= {{{oclc|}}}}} {{#if:{{{ol|}}}|{{!}}ol= {{{ol|}}}}} {{#if:{{{ol-access|}}}|{{!}}ol-access= {{{ol-access|}}}}} {{#if:{{{ssrn|}}}|{{!}}ssrn= {{{ssrn|}}}}} {{#if:{{{archive-url|}}}|{{!}}archive-url= {{plain|{{{archive-url|}}}}}}} {{#if:{{{archive-date|}}}|{{!}}archive-date= {{{archive-date|}}}}} {{#if:{{{id|}}}|{{!}}id= {{#tag:nowiki|{{{id|}}}}}}} {{#if:{{{via|}}}|{{!}}via= {{#tag:nowiki|{{{via|}}}}}}} {{#if:{{{ref|}}}|{{!}}ref= {{#tag:nowiki|{{{ref|}}}}}}} {{#if:{{{at|}}}|{{!}}at= {{{at|}}}}} {{#if:{{{page|}}}|{{!}}page= {{{page|}}}}} {{#if:{{{pages|}}}|{{!}}pages= {{{pages|}}}}} {{#if:{{{no-pp|}}}|{{!}}no-pp= {{{no-pp|}}}}} {{#if:{{{url|}}}|{{!}}url= {{plain|{{{url|}}}}}}} {{#if:{{{url-access|}}}|{{!}}url-access= {{{url-access|}}}}} {{#if:{{{website|}}}|{{!}}website= {{{website|}}}}} {{#if:{{{format|}}}|{{!}}format= {{{format|}}}}} {{#if:{{{url-status|}}}|{{!}}url-status= {{{url-status|}}}}} {{#if:{{{access-date|}}}|{{!}}access-date= {{{access-date|}}}}}  <nowiki>}}{{#set: Has source= </nowiki>{{{title-link|}}}<nowiki>}}</nowiki>
}}
}}
}}
}}
}}
}}</code>
}}
}}


Line 309: Line 313:




* {{#if: {{{citation_template|}}}
{{#if: {{{citation_type|}}}
|{{#ifeq:{{{citation_template|}}}|NLS full
|{{#ifeq:{{{citation_type|}}}|NLS
|{{NLS full|title={{{nls_title|}}}|id={{{nls_id|}}}|collection={{{nls_collection|}}}|url={{{nls_url|}}}}}
|* {{NLS full|title={{{nls_title|}}}|id={{{nls_id|}}}|collection={{{nls_collection|}}}|url={{{nls_url|}}}}}
|{{#ifeq:{{{citation_template|}}}|Sasines full
|{{#ifeq:{{{citation_type|}}}|Sasines  
|{{Sasines full|{{#explode:{{{nrs_reference|}}}|/|0}}|{{#explode:{{{nrs_reference|}}}|/|1}}}}
|* {{Sasines full|{{#explode:{{{nrs_reference|}}}|/|0}}|{{#explode:{{{nrs_reference|}}}|/|1}}}}
|{{#ifeq:{{{citation_template|}}}|Commissary court full
|{{#ifeq:{{{citation_type|}}}|Commissary court full
|{{Commissary court full|{{#explode:{{{nrs_reference|}}}|/|0}}|{{#explode:{{{nrs_reference|}}}|/|1}}|{{#explode:{{{nrs_reference|}}}|/|2}}|{{#explode:{{{nrs_reference|}}}|/|3}}}}
|* {{Commissary court full|{{#explode:{{{nrs_reference|}}}|/|0}}|{{#explode:{{{nrs_reference|}}}|/|1}}|{{#explode:{{{nrs_reference|}}}|/|2}}|{{#explode:{{{nrs_reference|}}}|/|3}}}}
|{{#if:{{{citation_template_parameter|}}}
|{{#ifeq:{{{citation_type|}}}|Other
|{{#if:{{{volume|}}}
|{{#if:{{{template_parameters|}}}
|{{{{{citation_template|}}}|volume={{{volume|}}}|{{{citation_template_parameter|}}}={{{citation_template_parameter_value|}}}}}
|{{#if:{{{volume|}}}
|{{{{{citation_template|}}}|{{{citation_template_parameter|}}}={{{citation_template_parameter_value|}}}}}
|* {{{{{citation_template|}}}|volume={{{volume|}}}|{{{template_parameters|}}}={{{template_parameters_value|}}}}}
|* {{{{{citation_template|}}}|{{{template_parameters|}}}={{{template_parameters_value|}}}}}
}}
|{{#if:{{{volume|}}}
|* {{{{{citation_template|}}}|volume={{{volume|}}}}}
|* {{{{{citation_template|}}}}}
}}
}}
}}
|{{#if:{{{volume|}}}
|{{#ifeq:{{{citation_type|}}}|CS1
|{{{{{citation_template|}}}|volume={{{volume|}}}}}
|* {{{{{cs1_citation_template|}}}
}}
|last1={{{last1|}}}
|{{{{{citation_template|}}}}}
|first1={{{first1|}}}
|author-link1={{{author-link1|}}}
|last2={{{last2|}}}
|first2={{{first2|}}}
|author-link2={{{author-link2|}}}
|last3={{{last3|}}}
|first3={{{first3|}}}
|author-link3={{{author-link3|}}}
|last4={{{last4|}}}
|first4={{{first4|}}}
|author-link4={{{author-link4|}}}
|last5={{{last5|}}}
|first5={{{first5|}}}
|author-link5={{{author-link5|}}}
|display-authors={{{display-authors|}}}
|author-mask={{{author-mask|}}}
|editor-last1={{{editor-last1|}}}
|editor-first1={{{editor-first1|}}}
|editor-link1={{{editor-link1|}}}
|editor-last2={{{editor-last2|}}}
|editor-first2={{{editor-first2|}}}
|editor-link2={{{editor-link2|}}}
|editor-last3={{{editor-last3|}}}
|editor-first3={{{editor-first3|}}}
|editor-link3={{{editor-link3|}}}
|editor-last4={{{editor-last4|}}}
|editor-first4={{{editor-first4|}}}
|editor-link4={{{editor-link4|}}}
|editor-last5={{{editor-last5|}}}
|editor-first5={{{editor-first5|}}}
|editor-link5={{{editor-link5|}}}
|display-editors={{{display-editors|}}}
|translator-last1={{{translator-last1|}}}
|translator-first1={{{translator-first1|}}}
|translator-link1={{{translator-link1|}}}
|translator-last2={{{translator-last2|}}}
|translator-first2={{{translator-first2|}}}
|translator-link2={{{translator-link2|}}}
|translator-last3={{{translator-last3|}}}
|translator-first3={{{translator-first3|}}}
|translator-link3={{{translator-link3|}}}
|translator-last4={{{translator-last4|}}}
|translator-first4={{{translator-first4|}}}
|translator-link4={{{translator-link4|}}}
|translator-last5={{{translator-last5|}}}
|translator-first5={{{translator-first5|}}}
|translator-link5={{{translator-link5|}}}
|display-translators={{{display-translators|}}}
|others={{{others|}}}
|name-list-style={{{name-list-style|}}}
|date={{{date|}}}
|year={{{year|}}}
|orig-date={{{orig-date|}}}
|chapter={{{chapter|}}}
|trans-chapter={{{trans-chapter|}}}
|chapter-url={{{chapter-url|}}}
|chapter-url-access={{{chapter-url-access|}}}
|chapter-format={{{chapter-format|}}}
|title={{{title|}}}
|trans-title={{{trans-title|}}}
|title-link={{{title-link|}}}
|journal={{{journal|}}}
|magazine={{{magazine|}}}
|work={{{work|}}}
|type={{{type|}}}
|series={{{series|}}}
|language={{{language|}}}
|volume={{{volume|}}}
|edition={{{edition|}}}
|issue={{{issue|}}}
|publication-place={{{publication-place|}}}
|location={{{location|}}}
|publisher={{{publisher|}}}
|department={{{department|}}}
|agency={{{agency|}}}
|publication-date={{{publication-date|}}}
|asin={{{asin|}}}
|doi={{{doi|}}}
|doi-access={{{doi-access|}}}
|doi-broken-date={{{doi-broken-date|}}}
|hdl={{{hdl|}}}
|hdl-access={{{hdl-access|}}}
|isbn={{{isbn|}}}
|issn={{{issn|}}}
|jstor={{{jstor|}}}
|jstor-access={{{jstor-access|}}}
|lccn={{{lccn|}}}
|oclc={{{oclc|}}}
|ol={{{ol|}}}
|ol-access={{{ol-access|}}}
|ssrn={{{ssrn|}}}
|archive-url={{{archive-url|}}}
|archive-date={{{archive-date|}}}
|id={{{id|}}}
|via={{{via|}}}
|ref={{{ref|}}}
|at={{{at|}}}
|page={{{page|}}}
|pages={{{pages|}}}
|no-pp={{{no-pp|}}}
|url={{{url|}}}
|url-access={{{url-access|}}}
|website={{{website|}}}
|format={{{format|}}}
|url-status={{{url-status|}}}
|access-date={{{access-date|}}}
}}
}}
}}
}}
}}
}}
}}
}}
}}{{#set: Has citation template=Template:{{{citation_template|}}}}}
|{{#if: {{{full_citation|}}}
|{{{full_citation|}}}
}}
}}
}}
}}
{{#if: {{{poms_id|}}} |* Beam, Amanda; Bradley, John; Broun, Dauvit; Davies, John Reuben; Hammond, Matthew; Jakeman, Neil; Pasin, Michele; Taylor, Alice; (with others). (2019). ''[[People of Medieval Scotland (website)|People of Medieval Scotland: 1093–1371]]''. Glasgow and London.}}
{{#if: {{{bibliography|}}}|{{{bibliography|}}}<br>}}
{{#if: {{{bibliography|}}}|{{{bibliography|}}}<br>}}
{{#if: {{{poms_id|}}} |* Beam, Amanda; Bradley, John; Broun, Dauvit; Davies, John Reuben; Hammond, Matthew; Jakeman, Neil; Pasin, Michele; Taylor, Alice; (with others). (2019). ''[[People of Medieval Scotland (website)|People of Medieval Scotland: 1093–1371]]''. Glasgow and London.}}


{{DEFAULTSORT:{{{sort|}}}}}
{{DEFAULTSORT:{{{sort|}}}}}
Line 343: Line 457:
{{#if: {{{tna_citable_reference|}}}|[[Category:National Archives UK documents]]}}
{{#if: {{{tna_citable_reference|}}}|[[Category:National Archives UK documents]]}}
{{#if: {{{nrs_reference|}}}||{{#if: {{{rps_id|}}}||{{#if: {{{nls_id|}}}||{{#if: {{{tna_citable_reference|}}}||[[Category:Scottish documents]] }} }} }} }}
{{#if: {{{nrs_reference|}}}||{{#if: {{{rps_id|}}}||{{#if: {{{nls_id|}}}||{{#if: {{{tna_citable_reference|}}}||[[Category:Scottish documents]] }} }} }} }}
[[Category:{{#if:{{{source_level|}}}|{{{source_level|}}}|{{#ifeq:{{{order_original|}}}|Received|Primary|Secondary}}}} sources]]
[[Category:{{#if:{{{source_level|}}}|{{{source_level|}}}|{{#if:{{{order_original|}}}|{{#switch:{{{order_original|}}}|Received=Primary|Available online=Primary|Secondary}}}}}} sources]]
<span style="display:none">{{#default_form:Source - Scottish document}}</span><nowiki />
<span style="display:none">{{#default_form:Source - Scottish document}}</span><nowiki />
</includeonly><noinclude>{{documentation}}
</includeonly><noinclude>{{documentation}}
Line 351: Line 465:
|language=Latin
|language=Latin
|transcription=lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum
|transcription=lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum
|text_reader=TRUE
|text_reader=Yes
|translation=lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum
|translation=lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum
|google_translate=TRUE
|google_translate=Yes
|tna_citable_reference=C 47/22/13/1
|tna_citable_reference=C 47/22/13/1
|poms_id=9111
|poms_id=9111
Line 394: Line 508:
|nrs_associated_places=
|nrs_associated_places=
|source_level=Secondary
|source_level=Secondary
|citation_template=Calendar of Documents full
|citation_type=CS1
|cs1_citation_template=Cite book |last1= Inchaffray Abbey |editor-last1= Innes |editor-first1= Cosmo Nelson |editor-link1= Cosmo Nelson Innes (1798-1874) |date= 1847 |title= Liber Insule Missarum: Abbacie Canonicorum Regularium B. Virginis Et S. Johannis De Inchaffery Registrum Vetus ... |title-link= Liber Insule Missarum |language= la |publication-place= Edinburgh |publisher= Bannatyne Club |oclc= 848443758 |ol= OL14019970M |ol-access= free
|volume=
|volume=
|sort=Scottish document CDS, 4, no. 1768
|sort=Scottish document CDS, 4, no. 1768
}} --></noinclude>
}} --></noinclude>

Latest revision as of 01:19, 21 October 2025

Template documentation[create]