Template:URL-FBpage: Difference between revisions

WikiAdmin (talk | contribs)
mNo edit summary
WikiAdmin (talk | contribs)
m using local POOLMainPages
 
(16 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|}}}|&nbsp;(error: {{{3}}})|}}.|}}</includeonly><noinclude>
<includeonly>{{POOLIconREFweb}} [https://www.facebook.com/{{{1}}} Facebook page]{{#if:{{{2|}}}|. Retrieved {{date|{{{2}}}}}{{#if:{{{3|}}}|&nbsp;(error: {{{3}}}) [[Category:ERROR URL]]|}}.|}}
[[Category:Facebook page]]</includeonly><noinclude>
== Usage ==
== Usage ==
Use this template with two '''anonymous''' parameters:
Use this template with '''anonymous''' parameters:
<pre>{{URL-FBpage|<URL>|<date>|<HTML Error Code>}}</pre>
<pre>{{URL-FBpage|<URL>|<date>|<HTML Error Code>}}</pre>


Use the available URL templates in the '''<nowiki>{{LINKS}}</nowiki>''' section of an article page, with the following order:
{{Template:DefaultURL}}
# [[:Template:URLwebsite]]
# [[:Template:URL-FBprofile]]
# [[:Template:URL-FBpage]]
# [[:Template:URL-FBgroup]]
# [[:Template:URLwikipedia]]


== Examples ==
== Examples ==
Line 17: Line 13:
{{URL-FBpage|pages/Mothers-Against-Circumcision/135590706559827|2019-09-15}}
{{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}}</noinclude>
{{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>