Difference between revisions of "Template:URL-FBpage"

From IntactiWiki
Jump to navigation Jump to search
m
(added interwiki link)
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[https://www.facebook.com/{{{1}}} Facebook page]{{#if: {{{2|}}} | . Retrieved {{{2}}} |}}{{#if: {{{3|}}} | : {{{3}}}. | .}}</includeonly>
+
<includeonly>{{raw:pool:POOLIconREFweb}} [https://www.facebook.com/{{{1}}} Facebook page]{{#if:{{{2|}}}|. Retrieved {{date|{{{2}}}}}{{#if:{{{3|}}}|&nbsp;(error: {{{3}}}) [[Category:ERROR URL]]|}}.|}}
<noinclude>== Usage ==
+
[[Category:Facebook page]]</includeonly><noinclude>
Use this template with two '''anonymous''' parameters:
+
== Usage ==
 +
Use this template with '''anonymous''' parameters:
 
<pre>{{URL-FBpage|<URL>|<date>|<HTML Error Code>}}</pre>
 
<pre>{{URL-FBpage|<URL>|<date>|<HTML Error Code>}}</pre>
The '''Official website''' link should be listed as the first weblink on the '''<nowiki>{{LINKS}}</nowiki>''' section of an article page.
 
  
== Example ==
+
{{Template:DefaultURL}}
 +
 
 +
== Examples ==
 +
<pre>{{URL-FBpage|pages/Mothers-Against-Circumcision/135590706559827}}</pre>
 +
{{URL-FBpage|pages/Mothers-Against-Circumcision/135590706559827}}
 +
<pre>{{URL-FBpage|pages/Mothers-Against-Circumcision/135590706559827|2019-09-15}}</pre>
 +
{{URL-FBpage|pages/Mothers-Against-Circumcision/135590706559827|2019-09-15}}
 
<pre>{{URL-FBpage|pages/Mothers-Against-Circumcision/135590706559827|2019-09-15|404}}</pre>
 
<pre>{{URL-FBpage|pages/Mothers-Against-Circumcision/135590706559827|2019-09-15|404}}</pre>
 
{{URL-FBpage|pages/Mothers-Against-Circumcision/135590706559827|2019-09-15|404}}
 
{{URL-FBpage|pages/Mothers-Against-Circumcision/135590706559827|2019-09-15|404}}
  
Result: <pre>[https://www.facebook.com/pages/Mothers-Against-Circumcision/135590706559827 Facebook page]. Retrieved 2019-09-15: 404.</pre>
+
== Automatic categories ==
 +
* This template adds the category '''Facebook page''' to the article which uses it.
 +
* This template adds the category '''ERROR_URL''' to the article which uses it if the anonymous <HTML error code> parameter is being used.
 +
 
 +
[[Category:URL template]]
 +
 
 +
[[da:Skabelon:URL-FBpage]]
 +
[[de:Vorlage:URL-FBpage]]
 +
<!--[[en:Template:URL-FBpage]]-->
 +
[[fr:Modèle:URL-FBpage]]
 +
[[is:Snið:URL-FBpage]]
 +
[[nl:Sjabloon:URL-FBpage]]
 +
[[sv:Mall:URL-FBpage]]
 
</noinclude>
 
</noinclude>

Latest revision as of 12:43, 13 April 2022

Usage

Use this template with anonymous parameters:

{{URL-FBpage|<URL>|<date>|<HTML Error Code>}}

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-FBpage|pages/Mothers-Against-Circumcision/135590706559827}}

REFweb Facebook page

{{URL-FBpage|pages/Mothers-Against-Circumcision/135590706559827|2019-09-15}}

REFweb Facebook page. Retrieved 15 September 2019.

{{URL-FBpage|pages/Mothers-Against-Circumcision/135590706559827|2019-09-15|404}}

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

Automatic categories

  • This template adds the category Facebook page to the article which uses it.
  • This template adds the category ERROR_URL to the article which uses it if the anonymous <HTML error code> parameter is being used.