Difference between revisions of "Template:URLwebsite"

From IntactiWiki
Jump to navigation Jump to search
m
m (added Auto cat)
Line 13: Line 13:
 
<pre>{{URLwebsite|http://en.intactiwiki.org|2019-09-15|404}}</pre>
 
<pre>{{URLwebsite|http://en.intactiwiki.org|2019-09-15|404}}</pre>
 
{{URLwebsite|http://en.intactiwiki.org|2019-09-15|404}}
 
{{URLwebsite|http://en.intactiwiki.org|2019-09-15|404}}
 +
 +
== Automatic category ==
 +
* This template adds the category '''ERROR_URL''' to the article which uses it if the anonymous <HTML error code> parameter is being used.
  
 
[[da:Skabelon:URLwebsite]]
 
[[da:Skabelon:URLwebsite]]
 
[[de:Vorlage:URLwebsite]]
 
[[de:Vorlage:URLwebsite]]
 
[[fr:Modèle:URLwebsite]]</noinclude>
 
[[fr:Modèle:URLwebsite]]</noinclude>

Revision as of 07:53, 16 June 2021

Usage

Use this template with anonymous parameters:

{{URLwebsite|<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

{{URLwebsite|http://en.intactiwiki.org}}

REFweb Official website

{{URLwebsite|http://en.intactiwiki.org|2019-09-15}}

REFweb Official website. Retrieved 15 September 2019.

{{URLwebsite|http://en.intactiwiki.org|2019-09-15|404}}

REFweb Official website. Retrieved 15 September 2019 (error: 404).

Automatic category

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