Difference between revisions of "Template:Archival records/sandbox"

From blackwiki
Jump to navigation Jump to search
blackwiki>Utl jung
blackwiki>Utl jung
Line 9: Line 9:
 
   {{Infobox | subbox = yes
 
   {{Infobox | subbox = yes
 
     | labelstyle = width:33%;
 
     | labelstyle = width:33%;
     | label1 = Location
+
     | label1 = Wikidata item
     | data1 = {{#invoke:WikidataIB|getValue|P485|name=location|fetchwikidata=ALL|linked=yes|{{{location|}}}}}
+
    | data1 = {{{qid|}}}
     | label2 = Identifiers
+
    | label2 = Location
     | data2 = {{#if:{{{inventory_number|}}}|{{{inventory_number|}}}|{{#invoke:wd|qualifiers|raw|edit|P485|P217}}}}
+
     | data2 = {{#invoke:WikidataIB|getValue|qid={{{qid|}}}|P485|name=location|fetchwikidata=ALL|linked=yes|{{{location|}}}}}
     | label3 = Dates
+
     | label3 = Identifiers
     | data3 = {{{dates|}}}
+
     | data3 = {{#if:{{{inventory_number|}}}|{{{inventory_number|}}}|{{#invoke:wd|qualifiers|raw|edit|{{{qid|}}}|P485|P217}}}}
     | label4 = Access
+
     | label4 = Dates
     | data4 = {{{access_conditions|}}} <!--open or open with exceptions-->
+
     | data4 = {{{dates|}}}
     | label5 = Source
+
     | label5 = Access
     | data5 = {{If then show
+
     | data5 = {{{access_conditions|}}} <!--open or open with exceptions-->
 +
     | label6 = Source
 +
     | data6 = {{If then show
 
               | {{URL
 
               | {{URL
               | 1={{#if:{{{description_URL|}}}|{{{description_URL|}}}|{{#invoke:wd|qualifiers|P485|P973}}}}
+
               | 1={{#if:{{{description_URL|}}}|{{{description_URL|}}}|{{#invoke:wd|qualifiers|{{{qid|}}}|P485|P973}}}}
 
               | 2={{#if:{{{title|}}}|{{{title|}}}|digital description}}
 
               | 2={{#if:{{{title|}}}|{{{title|}}}|digital description}}
 
               }} | }}
 
               }} | }}
Line 26: Line 28:
 
  | headingstyle = background-color:#E0E0E0; padding-top:0.2em; padding-bottom:0.2em;
 
  | headingstyle = background-color:#E0E0E0; padding-top:0.2em; padding-bottom:0.2em;
 
  | heading2 = Using [[archives|archival]] material
 
  | heading2 = Using [[archives|archival]] material
  | content2 = [[Help:Archival material]] <BR> [[Finding aids]] <BR> [[Encoded Archival Description]] <BR> [[Rules for Archival Description#Six Levels of Description|Levels of description]]
+
  | content2 = [[Help:Archival material]] <BR> [[Finding aids]]
 
}}
 
}}

Revision as of 22:13, 13 July 2020