Difference between revisions of "Template:Facebook/doc"

From blackwiki
Jump to navigation Jump to search
imported>Lwc
m (→‎Examples: Fixed parameter)
imported>Lwc
m (→‎Examples: Fixed 2nd parameter)
Line 10: Line 10:
  
 
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|Mark Zuckerberg}}</nowiki>
+
   <nowiki>{{Facebook User|id=markzuckerberg/68310606562|name=Mark Zuckerberg}}</nowiki>
{{Facebook User|id=markzuckerberg/68310606562|Mark Zuckerberg}}
+
{{Facebook User|id=markzuckerberg/68310606562|name=Mark Zuckerberg}}
  
 
<includeonly><!--
 
<includeonly><!--

Revision as of 23:05, 24 June 2009

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 URL: if the URL is http://www.facebooke.com/example, the account name is example.

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