Difference between revisions of "Template:Facebook/doc"

From blackwiki
Jump to navigation Jump to search
imported>Gary
imported>Funandtrvl
m (update instructions)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
 +
The [[Wikipedia:External links|external links guideline]] recommends [[WP:ELNO|avoiding links to Facebook]] unless the profile is an [[WP:ELOFFICIAL|official account]], "controlled by the subject (organization or individual person) of the Wikipedia article".
 +
 
==Usage==
 
==Usage==
The template name is ''Facebook User'' and the first argument is the name of the Facebook account. This can be found in the page's [[Uniform Resource Locator|URL]]: if the URL is <tt><nowiki>http://www.facebook.com/example</nowiki></tt>, the account name is ''example''.
+
The first parameter for the {{tl|Facebook user}} template is the name 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://www.facebook.com/example</nowiki></tt>, then the account name is ''example''. The second parameter is the description or display name.
 
 
 
 
The [[Wikipedia:External links|external links guideline]] recommends [[WP:ELNO|avoiding links to Facebook]] unless the profile is an [[WP:ELOFFICIAL|an official account]] "controlled by the subject (organization or individual person) of the Wikipedia article".
 
  
 
== Examples ==
 
== Examples ==
In this example, the Facebook user account is ''markzuckerberg'' and the description in the link is ''Mark Zuckerberg''
+
In this example, the Facebook user account is ''markzuckerberg'' and the description in the link is ''Mark Zuckerberg'':
 
   <nowiki>{{Facebook User|markzuckerberg|Mark Zuckerberg}}</nowiki>
 
   <nowiki>{{Facebook User|markzuckerberg|Mark Zuckerberg}}</nowiki>
 
{{Facebook User|markzuckerberg|Mark Zuckerberg}}
 
{{Facebook User|markzuckerberg|Mark Zuckerberg}}
  
In this example, there's an ID instead of user name
+
In this example, there's an ID instead of user name:
 
   <nowiki>{{Facebook User|id=markzuckerberg/68310606562|name=Mark Zuckerberg}}</nowiki>
 
   <nowiki>{{Facebook User|id=markzuckerberg/68310606562|name=Mark Zuckerberg}}</nowiki>
 
{{Facebook User|id=markzuckerberg/68310606562|name=Mark Zuckerberg}}
 
{{Facebook User|id=markzuckerberg/68310606562|name=Mark Zuckerberg}}

Revision as of 16:53, 17 June 2010

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".

Usage

The first parameter for the {{Facebook user}} template is the name of the Facebook account. This can be found in the page's URL. For example: if the URL is http://www.facebook.com/example, then the account name is example. The second parameter is the description or display name.

Examples

In this example, the Facebook user account is markzuckerberg and the description in the link is Mark Zuckerberg:

 {{Facebook User|markzuckerberg|Mark Zuckerberg}}

Mark Zuckerberg on FacebookScript error: No such module "EditAtWikidata".

In this example, there's an ID instead of user name:

 {{Facebook User|id=markzuckerberg/68310606562|name=Mark Zuckerberg}}

Mark Zuckerberg on FacebookScript error: No such module "EditAtWikidata".