Difference between revisions of "Template:URL-FBprofile"

From IntactiWiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<includeonly>[https://www.facebook.com/{{{1}}} Facebook profile]{{#if:{{{2|}}}|. Retrieved {{{2}}}{{#if:{{{3|}}}|&nbsp;(error: {{{3}}})|}}.|}}</includeonly><noinclude>
+
<includeonly>[{{#if:{{{id|}}}
== Usage ==
+
  | https://www.facebook.com/profile.php?id={{{id}}} Facebook profile]{{#if:{{{1|}}}|. Retrieved {{{1}}}{{#if:{{{2|}}}|&nbsp;(error: {{{2}}})|}}.|}}
 +
  | https://www.facebook.com/{{{1}}} Facebook profile]{{#if:{{{2|}}}|. Retrieved {{{2}}}{{#if:{{{3|}}}|&nbsp;(error: {{{3}}})|}}.|}}
 +
}}</includeonly><noinclude>== Usage ==
 
Use this template with two '''anonymous''' parameters:
 
Use this template with two '''anonymous''' parameters:
<pre>{{URL-FBprofile|<URL>|<date>|<HTML Error Code>}}</pre>
+
<pre>{{URL-FBprofile|<id=><URL>|<date>|<HTML Error Code>}}</pre>
 +
 
 +
'''Note:''' If '''id''' is used, the following anonymous parameters are renumbered by the Template parser.
  
 
Use the available URL templates in the '''<nowiki>{{LINKS}}</nowiki>''' section of an article page, with the following order:
 
Use the available URL templates in the '''<nowiki>{{LINKS}}</nowiki>''' section of an article page, with the following order:
Line 17: Line 21:
 
{{URL-FBprofile|amy.glenn.7|2019-09-15}}
 
{{URL-FBprofile|amy.glenn.7|2019-09-15}}
 
<pre>{{URL-FBprofile|amy.glenn.7|2019-09-15|404}}</pre>
 
<pre>{{URL-FBprofile|amy.glenn.7|2019-09-15|404}}</pre>
{{URL-FBprofile|amy.glenn.7|2019-09-15|404}}</noinclude>
+
{{URL-FBprofile|amy.glenn.7|2019-09-15|404}}
 +
<pre>{{URL-FBprofile|id=100007159870114|2019-09-16}}</pre>
 +
{{URL-FBprofile|id=100007159870114|2019-09-16}}</noinclude>

Revision as of 09:33, 16 September 2019

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:URL-FBprofile
  3. Template:URL-FBpage
  4. Template:URL-FBgroup
  5. Template:URLwikipedia

Examples

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

Facebook profile

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

Facebook profile. Retrieved 2019-09-15.

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

Facebook profile. Retrieved 2019-09-15 (error: 404).

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

Facebook profile. Retrieved 2019-09-16.