Difference between revisions of "Template:Facebook page/doc"

From blackwiki
Jump to navigation Jump to search
imported>ArmbrustBot
m (→‎See also: re-categorisation per Wikipedia:Categories for discussion/Log/2015 November 6, replaced: Category:Templates for linking to a social networking site → Category:Social media external link templates using AWB)
imported>Senator2029
({{DEFAULTSORT:}})
Line 23: Line 23:
 
<includeonly>
 
<includeonly>
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
 +
{{DEFAULTSORT:{{PAGENAME}}}}
 
[[Category:Social media external link templates|Templates for linking to a social networking site]]
 
[[Category:Social media external link templates|Templates for linking to a social networking site]]
 
</includeonly>
 
</includeonly>

Revision as of 12:43, 15 July 2017

Usage

The first parameter for the {{Facebook Page}} template is the name and ID of the Facebook account. This can be found in the page's URL. For example: if the URL is http(s)://www.facebook.com/pages/example/id, then the account name is example and id is the series of numbers after the account name. The second parameter is the description or display name. A third parameter suppresses the wikilink to Facebook in the words "on Facebook".

Examples

In this example, the Facebook user account is wikipedia and the id is 103767749661773 description in the link is Wikipedia:

  • {{Facebook Page|id=wikipedia/103767749661773|name=Wikipedia}}
    Wikipedia on FacebookScript error: No such module "EditAtWikidata".

This example is identical except for the suppress wikilink option:

  • {{Facebook Page|id=wikipedia/103767749661773|name=Wikipedia|link=no}}
    Wikipedia on FacebookScript error: No such module "EditAtWikidata".

See also