Template:Twitter: Difference between revisions

From Podpedia
Update handling of missing ID (previous placement of category prevented it from being included).
No edit summary
 
(Update handling of missing ID (previous placement of category prevented it from being included).)
 
Line 1:
{{#if:{{{1<includeonly>|</includeonly>}}}{{{id|}}}{{#property:P2002}}
{{#if:{{{twitter|}}}|[[Image:InfoboxIcon Twitter2.png|25px|Twitter|link=http://twitter.com/{{{twitter}}}]]}}
|[https://twitter.com/{{Trim|{{{1|{{{id<includeonly>|{{#property:P2002}}</includeonly>}}}}}}}} {{#if:{{{2|{{{name<includeonly>|</includeonly>}}}}}}|{{{2|{{{name}}}}}}|{{PAGENAMEBASE}}}}] on [[Twitter]]<includeonly>{{EditAtWikidata|pid=P2002|{{{1|{{{id|}}}}}}}}{{WikidataCheck|property=P2002|value={{{1|{{{id|}}}}}}|category=Twitter username}}</includeonly>
|<span class="error">&#123;&#123;[[Template:Twitter|Twitter]]&#125;&#125; template missing ID and not present in Wikidata.</span>{{Main other|[[Category:Twitter template missing ID]]}}
}}<noinclude>
{{Documentation}}
</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.