Difference between revisions of "Template:Digitaltmuseum/doc"
Jump to navigation
Jump to search
imported>Salgo60 (←Created page with '{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> Tem...') |
imported>Zyxw m (update usage, add examples, add template categories) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
+ | {{Uses Wikidata|P1248}} | ||
+ | |||
Template using Wikidata Property {{Q|P1248}} for linking [https://dok.digitaltmuseum.org/en/about Digitaltmuseum] that is a plattform used by Swedish and Norwegian museums | Template using Wikidata Property {{Q|P1248}} for linking [https://dok.digitaltmuseum.org/en/about Digitaltmuseum] that is a plattform used by Swedish and Norwegian museums | ||
== Usage == | == Usage == | ||
− | === | + | Using ID in template: |
− | Using [[Wikidata]] property {{Property|1248}}: | + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}|<var>ID</var>}}</code> |
+ | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}|<var>ID</var>|name=<var>NAME</var>}}</code> | ||
+ | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}|<var>ID</var>|name=<var>NAME</var>|accessdate=<var>DATE</var>}}</code> | ||
+ | |||
+ | Using ID in [[Wikidata]] property {{Property|1248}}: | ||
: <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> | ||
− | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | name= }}</code> | + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}|name=<var>NAME</var>}}</code> |
− | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | name= | accessdate= }}</code> | + | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}|name=<var>NAME</var>|accessdate=<var>DATE</var>}}</code> |
+ | |||
+ | == Examples == | ||
+ | |||
+ | === ID in template === | ||
+ | ''Usage in the article [[Maria Röhl]]:'' | ||
+ | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}|bcef8d35-b709-4328-a3e2-e85be007d627}}</code> | ||
+ | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}|bcef8d35-b709-4328-a3e2-e85be007d627|accessdate=12 October 2020}}</code> | ||
− | + | ''Output:'' | |
− | : | + | :* {{{{BASEPAGENAME}}|bcef8d35-b709-4328-a3e2-e85be007d627|name=Maria Röhl}} |
+ | :* {{{{BASEPAGENAME}}|bcef8d35-b709-4328-a3e2-e85be007d627|name=Maria Röhl|accessdate=12 October 2020}} | ||
− | == | + | ''URL:'' |
− | * [ | + | : [http://digitaltmuseum.org/bcef8d35-b709-4328-a3e2-e85be007d627 http://digitaltmuseum.org/{{highlight|bcef8d35-b709-4328-a3e2-e85be007d627}}] |
+ | |||
+ | === ID in Wikidata === | ||
+ | ''Usage in the article [[Ralph Erskine (architect)]]:'' | ||
+ | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}}}</code> | ||
+ | : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}|accessdate=2020-10-14}}</code> | ||
+ | |||
+ | ''Output:'' | ||
+ | :* {{{{BASEPAGENAME}}|0aebf664-6602-4a67-84f9-0ce5a87f3703|name=Ralph Erskine}} | ||
+ | :* {{{{BASEPAGENAME}}|0aebf664-6602-4a67-84f9-0ce5a87f3703|name=Ralph Erskine|accessdate=2020-10-14}} | ||
+ | |||
+ | ''URL:'' | ||
+ | : [http://digitaltmuseum.org/0aebf664-6602-4a67-84f9-0ce5a87f3703 http://digitaltmuseum.org/{{highlight|0aebf664-6602-4a67-84f9-0ce5a87f3703}}] | ||
+ | |||
+ | === No ID in template or Wikidata === | ||
+ | ''Usage:'' | ||
+ | : {{tlcw|a=1|{{BASEPAGENAME}} }} | ||
+ | |||
+ | ''Output:'' | ||
+ | :* {{{{BASEPAGENAME}} }} | ||
+ | |||
+ | == Tracking category == | ||
+ | * {{clc|Digitaltmuseum template using Wikidata property P1248}} | ||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
<!-- Categories below this line, please; interwikis at Wikidata --> | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
− | + | [[Category:People and person external link templates]] | |
+ | [[Category:External link templates with accessdate parameter]] | ||
+ | [[Category:External link templates using Wikidata]] | ||
+ | [[Category:Templates that add a tracking category]] | ||
}}</includeonly> | }}</includeonly> |
Revision as of 21:51, 15 October 2020
![]() | This is a documentation subpage for Template:Digitaltmuseum. It contains usage information, categories and other content that is not part of the original template page. |
Template using Wikidata Property Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value). (P1248) for linking Digitaltmuseum that is a plattform used by Swedish and Norwegian museums
Contents
Usage
Using ID in template:
* {{Digitaltmuseum|ID}}
* {{Digitaltmuseum|ID|name=NAME}}
* {{Digitaltmuseum|ID|name=NAME|accessdate=DATE}}
Using ID in Wikidata property Template:Property:
* {{Digitaltmuseum}}
* {{Digitaltmuseum|name=NAME}}
* {{Digitaltmuseum|name=NAME|accessdate=DATE}}
Examples
ID in template
Usage in the article Maria Röhl:
* {{Digitaltmuseum|bcef8d35-b709-4328-a3e2-e85be007d627}}
* {{Digitaltmuseum|bcef8d35-b709-4328-a3e2-e85be007d627|accessdate=12 October 2020}}
Output:
- Maria Röhl at Digitaltmuseum
- Maria Röhl at Digitaltmuseum, accessed 12 October 2020
URL:
ID in Wikidata
Usage in the article Ralph Erskine (architect):
* {{Digitaltmuseum}}
* {{Digitaltmuseum|accessdate=2020-10-14}}
Output:
- Ralph Erskine at Digitaltmuseum
- Ralph Erskine at Digitaltmuseum, accessed 14 October 2020
URL:
No ID in template or Wikidata
Usage:
Output:
- Template:PAGENAMEBASE at DigitaltmuseumScript error: No such module "EditAtWikidata".
Tracking category