Difference between revisions of "Template:Facebook/doc"

From blackwiki
Jump to navigation Jump to search
imported>Pacetoo
imported>DixonDBot
m (Migrating 19 interwiki links, now provided by Wikidata on d:Q5624646)
Line 33: Line 33:
 
[[Category:Templates for linking to a social networking site|{{PAGENAME}}]]
 
[[Category:Templates for linking to a social networking site|{{PAGENAME}}]]
  
[[bg:Шаблон:Facebook]]
+
[[as:সাঁচ:Facebook]]
 
[[bar:Vorlage:Facebook]]
 
[[be-x-old:Шаблён:Facebook]]
 
[[ca:Plantilla:Facebook]]
 
[[da:Skabelon:Facebook]]
 
[[es:Plantilla:Facebook]]
 
[[fa:الگو:فیس‌بوک]]
 
[[gl:Modelo:Facebook]]
 
[[hy:Կաղապար:Facebook]]
 
[[id:Templat:Facebook]]
 
[[ko:틀:페이스북]]
 
[[ja:Template:Facebook]]
 
[[pl:Szablon:Facebook]]
 
[[pt:Predefinição:Facebook]]
 
[[ru:Шаблон:Facebook]]
 
[[sv:Mall:Facebook-konto]]
 
[[ur:سانچہ:فیس بک]]
 
[[zh:Template:Facebook]]
 
 
</includeonly>
 
</includeonly>

Revision as of 00:16, 28 March 2013

Usage

The first parameter for the {{Facebook}} template is the name of the Facebook account. This can be found in the page's URL. For example: if the URL is http(s)://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|markzuckerberg|Mark Zuckerberg}}

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

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

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

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

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}}

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

See also