Difference between revisions of "Template:URL-FBprofile"

From IntactiWiki
Jump to navigation Jump to search
m
m (added auto category "Facebook profile")
Line 2: Line 2:
 
   | https://www.facebook.com/profile.php?id={{{id}}} Facebook profile]{{#if:{{{1|}}}|. Retrieved {{date|{{{1}}}}}{{#if:{{{2|}}}| (error: {{{2}}}) [[Category:ERROR_URL]]|}}.|}}
 
   | https://www.facebook.com/profile.php?id={{{id}}} Facebook profile]{{#if:{{{1|}}}|. Retrieved {{date|{{{1}}}}}{{#if:{{{2|}}}| (error: {{{2}}}) [[Category:ERROR_URL]]|}}.|}}
 
   | https://www.facebook.com/{{{1}}} Facebook profile]{{#if:{{{2|}}}|. Retrieved {{date|{{{2}}}}}{{#if:{{{3|}}}| (error: {{{3}}}) [[Category:ERROR_URL]]|}}.|}}
 
   | https://www.facebook.com/{{{1}}} Facebook profile]{{#if:{{{2|}}}|. Retrieved {{date|{{{2}}}}}{{#if:{{{3|}}}| (error: {{{3}}}) [[Category:ERROR_URL]]|}}.|}}
}}</includeonly><noinclude>== Usage ==
+
}}
 +
[[Category:Facebook profile]]</includeonly><noinclude>== Usage ==
 
Use this template with two '''anonymous''' parameters:
 
Use this template with two '''anonymous''' parameters:
 
<pre>{{URL-FBprofile|<id=><URL>|<date>|<HTML Error Code>}}</pre>
 
<pre>{{URL-FBprofile|<id=><URL>|<date>|<HTML Error Code>}}</pre>
Line 19: Line 20:
 
<pre>{{URL-FBprofile|id=100007159870114|2019-09-16}}</pre>
 
<pre>{{URL-FBprofile|id=100007159870114|2019-09-16}}</pre>
 
{{URL-FBprofile|id=100007159870114|2019-09-16}}
 
{{URL-FBprofile|id=100007159870114|2019-09-16}}
 +
 +
== Automatic category ==
 +
This template adds the category '''Facebook profile''' to the article which uses it.
  
 
[[da:Skabelon:URL-FBprofile]]
 
[[da:Skabelon:URL-FBprofile]]
 
[[de:Vorlage:URL-FBprofile]]</noinclude>
 
[[de:Vorlage:URL-FBprofile]]</noinclude>

Revision as of 14:42, 25 May 2021

Usage

Use this template with two anonymous parameters:

{{URL-FBprofile|<id=><URL>|<date>|<HTML Error Code>}}

Note: If id is used, the following anonymous parameters are renumbered by the Template parser.

Use the available URL templates in the {{LINKS}} section of an article page, with the following order:

  1. Template:URLwebsite
  2. Template:URLwikipedia
  3. Template:URL-FBprofile
  4. Template:URL-FBpage
  5. Template:URL-FBgroup
  6. Template:URLtwitter
  7. Template:URL-IMDbName
  8. Template:URL-IMDbTitle

Note: Only use the <date> parameter when you have retrieved the URL.

Examples

{{URL-FBprofile|amy.glenn.7}}

REFweb Facebook profile

{{URL-FBprofile|amy.glenn.7|2019-09-15}}

REFweb Facebook profile. Retrieved 15 September 2019.

{{URL-FBprofile|amy.glenn.7|2019-09-15|404}}

REFweb Facebook profile. Retrieved 15 September 2019 (error: 404).

{{URL-FBprofile|id=100007159870114|2019-09-16}}

REFweb Facebook profile. Retrieved 16 September 2019.

Automatic category

This template adds the category Facebook profile to the article which uses it.