Template:URL-FBpage: Difference between revisions

WikiAdmin (talk | contribs)
Created page with "<includeonly>[https://www.facebook.com/pages/{{{1}}} Facebook page]{{#if: {{{2|}}} | . Retrieved {{{2}}}. |}}</includeonly> <noinclude>== Usage == Use this template with two '..."
 
WikiAdmin (talk | contribs)
m using local POOLMainPages
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[https://www.facebook.com/pages/{{{1}}} Facebook page]{{#if: {{{2|}}} | . Retrieved {{{2}}}. |}}</includeonly>
<includeonly>{{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 ==
<pre>{{URL-FBpage|<URL>|<date>}}</pre>
Use this template with '''anonymous''' parameters:
The '''Official website''' link should be listed as the first weblink on the '''<nowiki>{{LINKS}}</nowiki>''' section of an article page.
<pre>{{URL-FBpage|<URL>|<date>|<HTML Error Code>}}</pre>


== Example ==
{{Template:DefaultURL}}
<pre>{{URL-FBpage|Mothers-Against-Circumcision/135590706559827|2019-09-15}}</pre>
{{URL-FBpage|Mothers-Against-Circumcision/135590706559827|2019-09-15}}


Result: <pre>[https://www.facebook.com/pages/Mothers-Against-Circumcision/135590706559827 Facebook page]. Retrieved 2019-09-15.</pre>
== 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>
{{URL-FBpage|pages/Mothers-Against-Circumcision/135590706559827|2019-09-15|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.
 
[[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>