Template:Wdib/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Wdib. It contains usage information, categories and other content that is not part of the original template page. |
A wrapper template for the getValue call in Module:WikidataIB
Usage[edit source]
Examples of Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P106) for Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (Q42):
{{Wdib |P106 |qid=Q42 |fwd=ALL }}
→ Lua error in Module:WikidataIB at line 762: attempt to index field 'wikibase' (a nil value).<strong class="error"><span class="scribunto-error" id="mw-scribunto-error-2">Lua error in Module:WikidataIB at line 762: attempt to index field 'wikibase' (a nil value).</span></strong>
{{Wdib |P106 |qid=Q42 |fwd=ALL |osd=no }}
→ Lua error in Module:WikidataIB at line 762: attempt to index field 'wikibase' (a nil value).<strong class="error"><span class="scribunto-error" id="mw-scribunto-error-3">Lua error in Module:WikidataIB at line 762: attempt to index field 'wikibase' (a nil value).</span></strong>
Examples of Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P856) for Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (Q219960):
{{Wdib |P856 |qid=Q219960 |fwd=ALL |osd=no |maxvals=1 }}
→ Lua error in Module:WikidataIB at line 762: attempt to index field 'wikibase' (a nil value).<strong class="error"><span class="scribunto-error" id="mw-scribunto-error-6">Lua error in Module:WikidataIB at line 762: attempt to index field 'wikibase' (a nil value).</span></strong>
{{Wdib |P856 |qid=Q219960 |fwd=ALL |osd=no |qual=P407 }}
→ Lua error in Module:WikidataIB at line 762: attempt to index field 'wikibase' (a nil value).<strong class="error"><span class="scribunto-error" id="mw-scribunto-error-7">Lua error in Module:WikidataIB at line 762: attempt to index field 'wikibase' (a nil value).</span></strong>
For more details, see Module:WikidataIB/doc #Function getValue.
External links[edit source]
- Template:Wdib/doc at Wikipedia, the free Terran-based encyclopedia that anyone can edit.