Template:URL-FBpage: Difference between revisions

WikiAdmin (talk | contribs)
mNo edit summary
WikiAdmin (talk | contribs)
mNo edit summary
Line 1: Line 1:
<includeonly>[https://www.facebook.com/{{{1}}} Facebook page]{{#if: {{{2|}}} | . Retrieved {{{2}}} |}}{{#if: {{{3|}}} | &nbsp;(error: {{{3}}}). | .}}</includeonly>
<includeonly>[https://www.facebook.com/{{{1}}} Facebook page]{{#if:{{{2|}}}|. Retrieved {{{2}}}{{#if:{{{3|}}}|&nbsp;(error: {{{3}}})|}}.|}}</includeonly>
<noinclude>== Usage ==
<noinclude>== Usage ==
Use this template with two '''anonymous''' parameters:
Use this template with two '''anonymous''' parameters:
Line 5: Line 5:
The '''Official website''' link should be listed as the first weblink on the '''<nowiki>{{LINKS}}</nowiki>''' section of an article page.
The '''Official website''' link should be listed as the first weblink on the '''<nowiki>{{LINKS}}</nowiki>''' section of an article page.


== Example ==
== 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>
{{SEEALSO}}
{{SEEALSO}}
* [[:Template:URLwebsite]]
* [[:Template:URLwebsite]]
</noinclude>
</noinclude>