Jump to content

Template:Facebook: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Update handling of missing ID (previous placement of category prevented it from being included).
use Module:EditAtWikidata to add edit link if using Wikidata
Line 1: Line 1:
{{#if:{{{1<includeonly>|</includeonly>}}}{{{id|}}}{{#property:P2013}}
{{#if:{{{1<includeonly>|</includeonly>}}}{{{id|}}}{{#property:P2013}}
|[https://www.facebook.com/{{Trim|{{{1|{{{id<includeonly>|{{#property:P2013}}</includeonly>}}}}}}}} {{#if:{{{2|{{{name<includeonly>|</includeonly>}}}}}}|{{{2|{{{name}}}}}}|{{PAGENAMEBASE}}}}] on [[Facebook]]
|[https://www.facebook.com/{{Trim|{{{1|{{{id<includeonly>|{{#property:P2013}}</includeonly>}}}}}}}} {{#if:{{{2|{{{name<includeonly>|</includeonly>}}}}}}|{{{2|{{{name}}}}}}|{{PAGENAMEBASE}}}}] on [[Facebook]]<includeonly>{{EditAtWikidata|pid=P2013|{{{1|{{{id|}}}}}}}}</includeonly>
|<span class="error">&#123;&#123;[[Template:Facebook|Facebook]]&#125;&#125; template missing ID and not present in Wikidata.</span>{{Main other|[[Category:Facebook template missing ID]]}}
|<span class="error">&#123;&#123;[[Template:Facebook|Facebook]]&#125;&#125; template missing ID and not present in Wikidata.</span>{{Main other|[[Category:Facebook template missing ID]]}}
}}<noinclude>
}}<noinclude>

Revision as of 02:49, 12 December 2016

{{{name}}} on Facebook