Difference between revisions of "Module:Wikidata entity link"
Jump to navigation
Jump to search
Module documentation[create]
blackwiki>Amire80 (+ TemplateData) |
blackwiki>Uzume |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if: {{{1|}}} | <includeonly>{{#if: {{{1|}}} | ||
| {{#switch: {{uc:{{padleft:|1|{{#if:1|{{{1}}}}}}}}} | | {{#switch: {{uc:{{padleft:|1|{{#if:1|{{{1}}}}}}}}} | ||
| − | | P = [[d: | + | | Q | P = [[d:Special:EntityPage/{{#if:1|{{{1}}}}}|{{#invoke:wd|label|{{{1}}}}} <small>({{#if:1|{{{1}}}}})</small>]] |
| − | + | | #default = [[d:Special:EntityPage/Q{{#if:1|{{{1}}}}}|{{#invoke:wd|label|Q{{#if:1|{{{1}}}}}}} <small>(Q{{#if:1|{{{1|}}}}})</small>]] | |
| − | | #default = [[d:Q{{#if:1|{{{1}}}}}|{{#invoke: | ||
}} | }} | ||
| − | | {{# | + | | {{#if:{{#invoke:wd|label|raw}} |
| + | | [[d:Special:EntityPage/{{#invoke:wd|label|raw}}|{{#invoke:wd|label}} <small>({{#invoke:wd|label|raw}})</small>]] | ||
| <small>(no entity)</small> | | <small>(no entity)</small> | ||
| − | |||
}} | }} | ||
| − | }}</includeonly><noinclude> | + | }}</includeonly><noinclude>{{Documentation}}</noinclude> |
| − | {{Documentation}} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 16:47, 23 April 2020
| You might want to create a documentation page for this Scribunto module. Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this module. |