Module talk:EditAtWikidata: Difference between revisions

Content deleted Content added
Noprint: new section
Line 26:
 
Add span class noprint in order to prevent pencils from being printed as they are not useful in printed articles. --[[Special:Contributions/5.43.82.5|5.43.82.5]] ([[User talk:5.43.82.5|talk]]) 01:50, 2 March 2020 (UTC)
 
== Hide link to non-existent property ==
 
The module would be better if the link is suppressed when the property specified by {{para|pid}} does not exist on the wikidata item. For example, the following output should be suppressed:
 
<code><nowiki>{{#invoke:EditAtWikidata|showMessage|pid=P3563|qid=Q106166201}}</nowiki></code> -> {{#invoke:EditAtWikidata|showMessage|pid=P3563|qid=Q106166201}}
 
&mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 20:42, 24 March 2021 (UTC)