This is a
documentation
subpage for
Template:Facebook page. It may contain usage information, categories and other content that is not part of the original template page. |
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. |
This template uses Lua: |
Template:Facebook page displays an external link to a page at Facebook, a social networking website. It is intended for use in the external links section of an article.
{{Facebook page | id= page ID }}
{{Facebook page | id= page ID | name= Displayed Name }}
{{Facebook page | id= page ID | name= Displayed Name | link= no }}
{{Facebook page | ID }}
{{Facebook page | ID | Displayed Name }}
{{Facebook page}}
{{Facebook page | name= Displayed Name }}
{{Facebook page | name= Displayed Name | link= no }}
Named parameters, for URLs such as https://www.facebook.com/pages/id
|id=
is the page ID of the Facebook account.|name=
is the description or display name used in the
link text.|link=
suppresses the wikilink to
Facebook in the words "on
Facebook".Unnamed parameters, for URLs such as https://www.facebook.com/id
|link=
may be used here as wellIn these examples, the Facebook page ID is wikipedia/103767749661773 and description in the link text is Wikipedia:
This example is identical except for the suppress wikilink option:
* {{Facebook page | id= wikipedia/103767749661773 | name= Wikipedia | link= no }}
For these examples, the URL generated by the template is:
In this example, the Facebook user account is wikipedia and the description in the link is Wikipedia:
For this example, the URL generated by the template is:
Generally, Wikidata should contain article subjects' Facebook page ID in property P4003, allowing the ID parameter to be omitted:
{{Facebook page}}
{{Facebook page |name=NAME }}
If the Wikidata property is not defined, the output is:
This is a
documentation
subpage for
Template:Facebook page. It may contain usage information, categories and other content that is not part of the original template page. |
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. |
This template uses Lua: |
Template:Facebook page displays an external link to a page at Facebook, a social networking website. It is intended for use in the external links section of an article.
{{Facebook page | id= page ID }}
{{Facebook page | id= page ID | name= Displayed Name }}
{{Facebook page | id= page ID | name= Displayed Name | link= no }}
{{Facebook page | ID }}
{{Facebook page | ID | Displayed Name }}
{{Facebook page}}
{{Facebook page | name= Displayed Name }}
{{Facebook page | name= Displayed Name | link= no }}
Named parameters, for URLs such as https://www.facebook.com/pages/id
|id=
is the page ID of the Facebook account.|name=
is the description or display name used in the
link text.|link=
suppresses the wikilink to
Facebook in the words "on
Facebook".Unnamed parameters, for URLs such as https://www.facebook.com/id
|link=
may be used here as wellIn these examples, the Facebook page ID is wikipedia/103767749661773 and description in the link text is Wikipedia:
This example is identical except for the suppress wikilink option:
* {{Facebook page | id= wikipedia/103767749661773 | name= Wikipedia | link= no }}
For these examples, the URL generated by the template is:
In this example, the Facebook user account is wikipedia and the description in the link is Wikipedia:
For this example, the URL generated by the template is:
Generally, Wikidata should contain article subjects' Facebook page ID in property P4003, allowing the ID parameter to be omitted:
{{Facebook page}}
{{Facebook page |name=NAME }}
If the Wikidata property is not defined, the output is: