Difference between revisions of "Template:URL-FBgroup"

From IntactiWiki
Jump to navigation Jump to search
m
m (added category)
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[https://www.facebook.com/{{{1}}} Facebook group]{{#if:{{{2|}}}|. Retrieved {{{2}}}{{#if:{{{3|}}}|&nbsp;(error: {{{3}}})|}}.|}}</includeonly>
+
<includeonly>{{raw:pool:POOLIconREFweb}} [https://www.facebook.com/groups/{{{1}}} Facebook group]{{#if:{{{2|}}}|. Retrieved {{date|{{{2}}}}}{{#if:{{{3|}}}|&nbsp;(error: {{{3}}}) [[Category:ERROR_URL]]|}}.|}}
<noinclude>== Usage ==
+
[[Category:Facebook group]]</includeonly><noinclude>
 +
== Usage ==
 
Use this template with two '''anonymous''' parameters:
 
Use this template with two '''anonymous''' parameters:
 
<pre>{{URL-FBgroup|<URL>|<date>|<HTML Error Code>}}</pre>
 
<pre>{{URL-FBgroup|<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 ==
<pre>{{URL-FBgroup|groups/319119895098}}</pre>
+
<pre>{{URL-FBgroup|319119895098}}</pre>
{{URL-FBgroup|groups/319119895098}}
+
{{URL-FBgroup|319119895098}}
<pre>{{URL-FBgroup|groups/319119895098|2019-09-15}}</pre>
+
<pre>{{URL-FBgroup|319119895098|2019-09-15}}</pre>
{{URL-FBgroup|groups/319119895098|2019-09-15}}
+
{{URL-FBgroup|319119895098|2019-09-15}}
<pre>{{URL-FBgroup|groups/319119895098|2019-09-15|404}}</pre>
+
<pre>{{URL-FBgroup|319119895098|2019-09-15|404}}</pre>
{{URL-FBgroup|groups/319119895098|2019-09-15|404}}
+
{{URL-FBgroup|319119895098|2019-09-15|404}}
</noinclude>
+
 
 +
== Automatic categories ==
 +
* This template adds the category '''Facebook group''' 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]]
 +
 
 +
[[de:Vorlage:URL-FBgroup]]</noinclude>

Latest revision as of 16:05, 13 January 2022

Usage

Use this template with two anonymous parameters:

{{URL-FBgroup|<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-FBgroup|319119895098}}

REFweb Facebook group

{{URL-FBgroup|319119895098|2019-09-15}}

REFweb Facebook group. Retrieved 15 September 2019.

{{URL-FBgroup|319119895098|2019-09-15|404}}

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

Automatic categories

  • This template adds the category Facebook group 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.