Template:Twitter: Difference between revisions
From Podpedia
Content added Content deleted
No edit summary |
(Update handling of missing ID (previous placement of category prevented it from being included).) |
||
Line 1: | 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">{{[[Template:Twitter|Twitter]]}} template missing ID and not present in Wikidata.</span>{{Main other|[[Category:Twitter template missing ID]]}} |
|||
}}<noinclude> |
|||
{{Documentation}} |
|||
</noinclude> |