Template:Facebook: Difference between revisions
m (1 revision) |
(No difference)
|
Revision as of 13:12, 2 May 2014
The external links guideline recommends avoiding links to Facebook unless the profile is an official account, "controlled by the subject (organization or individual person) of the Wikipedia article" and when the links to Facebook "provide the reader with unique content and are not prominently linked from other official websites". Wikipedia is not a directory for helping Facebook users find pages on Facebook. |
Usage
Generate a link to a Facebook profile in a standard format.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Account ID | id 1 | ID of the Facebook account (part of the web page address, for www.facebook.com/example/ the account id is "example"). | Line | required |
Display name | name 2 | Display name for the Facebook account
| Line | optional |
Examples
In this example, the Facebook user account is markzuckerberg and the description in the link is Mark Zuckerberg:
{{Facebook|markzuckerberg|Mark Zuckerberg}}
In this example, there's an ID instead of user name:
{{Facebook|id=markzuckerberg/68310606562|name=Mark Zuckerberg}}
Links containing the = sign
Links to specific sections on a Facebook page may include the '=' symbol in the URL. For example, the string '?v=wall' would indicate the "Wall" section. Because '=' is a special character in Wikipedia template syntax, it cannot be used directly in the id. If you want the link to arrive at a specific section, use Template:= instead. For example, to link to the "Notes" section:
{{Facebook|id=markzuckerberg/68310606562?v{{=}}notes|name=Mark Zuckerberg}}
See also
The above documentation is transcluded from Template:Facebook/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |