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

From blackwiki
Jump to navigation Jump to search
(rv to last good version by G S Palmer)
(update doc)
Line 6: Line 6:
 
{{See also|Wikipedia:External links/Perennial websites}}
 
{{See also|Wikipedia:External links/Perennial websites}}
  
The first parameter for the {{tl|Facebook Page}} template is the name and ID of the Facebook account. This can be found in the page's [[Uniform Resource Locator|URL]]. For example: if the URL is <tt><nowiki>http(s)://www.facebook.com/pages/example/id</nowiki></tt>, 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.
+
The first parameter for the {{tl|Facebook Page}} template is the name and ID of the Facebook account. This can be found in the page's [[Uniform Resource Locator|URL]]. For example: if the URL is <tt><nowiki>http(s)://www.facebook.com/pages/example/id</nowiki></tt>, 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 ==
 
== Examples ==
 
In this example, the Facebook user account is ''wikipedia'' and the id is ''103767749661773'' description in the link is ''Wikipedia'':
 
In this example, the Facebook user account is ''wikipedia'' and the id is ''103767749661773'' description in the link is ''Wikipedia'':
  <nowiki>{{Facebook Page|id=wikipedia/103767749661773|name=Wikipedia}}</nowiki>
+
<nowiki>{{Facebook Page|id=wikipedia/103767749661773|name=Wikipedia}}</nowiki>
{{Facebook Page|id=wikipedia/103767749661773|name=Wikipedia}}
+
*:{{Facebook Page|id=wikipedia/103767749661773|name=Wikipedia}}
 +
This example is identical except for the suppress wikilink option:
 +
*  <nowiki>{{Facebook Page|id=wikipedia/103767749661773|name=Wikipedia|link=no}}</nowiki>
 +
*:{{Facebook Page|id=wikipedia/103767749661773|name=Wikipedia|link=no}}
  
 
==See also==
 
==See also==

Revision as of 15:00, 17 August 2015

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