Template:Twitter and Template:Twitter/sandbox: Difference between pages
(Difference between pages)
Content deleted Content added
use identifier link similar to IMDb templates |
Update so testing for Category:Twitter username different from Wikidata ignores upper/lower case differences between username in template and username in Wikidata. |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{1|}}} {{{id|}}} {{#property:P2002}} |
<includeonly>{{#if: {{{1|}}} {{{id|}}} {{#property:P2002}} |
||
| [https://twitter.com/{{#if: {{{1|{{{id|}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P2002}}|sep=,}} }} {{#if: {{{2|{{{name|}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] on [[ |
| [https://twitter.com/{{#if: {{{1|{{{id|}}}}}} | {{{1|{{{id}}}}}} | {{First word|1={{#property:P2002}}|sep=,}} }} {{#if: {{{2|{{{name|}}}}}} | {{{2|{{{name}}}}}} | {{PAGENAMEBASE}} }}] on [[Twitter]]{{EditAtWikidata|pid=P2002|{{{1|{{{id|}}}}}}}}{{WikidataCheck|property=P2002|value={{{1|{{{id|}}}}}}|category=Twitter username|namespaces=0|nocatsame=1|ignorecase=1}} |
||
| <span class="error">{{[[Template:Twitter|Twitter]]}} template missing ID and not present in Wikidata.</span>{{Main other|[[Category:Twitter template missing ID and not in Wikidata]]}} |
| <span class="error">{{[[Template:Twitter|Twitter]]}} template missing ID and not present in Wikidata.</span>{{Main other|[[Category:Twitter template missing ID and not in Wikidata]]}} |