Template:Get QID: Difference between revisions

From CAPipedia
en>Tomastvivlaren
No edit summary
 
m Text replacement - "Wikipedia[^:]" to "CAPipedia"
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{SAFESUBST:<noinclude />#invoke:Plain text|main|1={{SAFESUBST:<noinclude />#if:{{{1|}}}|<!-- If the template is called with a non-empty non-named argument:   
{{SAFESUBST:<noinclude />#invoke:Plain text|main|1={{SAFESUBST:<noinclude />#if:{{{1|}}}|<!-- If the template is called with a non-empty non-named argument:   
   -->{{SAFESUBST:<noinclude />if empty|{{SAFESUBST:<noinclude />#invoke:WikidataIB|getEntityFromTitle|{{{1|}}}}}<!-- If the Wikipedia page has a Wikidata item, get its qid  
   -->{{SAFESUBST:<noinclude />if empty|{{SAFESUBST:<noinclude />#invoke:WikidataIB|getEntityFromTitle|{{{1|}}}}}<!-- If the CAPipediapage has a Wikidata item, get its qid  
       -->|{{SAFESUBST:<noinclude />#invoke:WikidataIB|getEntityFromTitle|{{SAFESUBST:<noinclude />#invoke:redirect|main|{{{1|}}} }} }} }}<!-- Otherwize: Get the qid of the redirect destination.
       -->|{{SAFESUBST:<noinclude />#invoke:WikidataIB|getEntityFromTitle|{{SAFESUBST:<noinclude />#invoke:redirect|main|{{{1|}}} }} }} }}<!-- Otherwize: Get the qid of the redirect destination.
   -->|{{SAFESUBST:<noinclude />#invoke:WikidataIB |getQid|qid={{{qid|}}}}}}}<!-- If empty argument or qid argument: Get the qid of current page, or pass the qid.  
   -->|{{SAFESUBST:<noinclude />#invoke:WikidataIB |getQid|qid={{{qid|}}}}}}}<!-- If empty argument or qid argument: Get the qid of current page, or pass the qid.  

Latest revision as of 14:46, 23 January 2024

Lua error in Module:WikidataIB at line 2980: attempt to index field 'wikibase' (a nil value). Lua error in Module:Documentation at line 144: message: type error in message cfg.container (string expected, got nil).