Difference between revisions of "Template:URLwebsite"
Jump to navigation
Jump to search
m |
(added 4th anonymous parameter (additional information)) |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>[{{{1}}} Official website]{{#if:{{{2|}}}|. Retrieved {{{2}}}{{#if:{{{3|}}}| (error: {{{3}}})|}} | + | <includeonly>{{raw:pool:POOLIconREFweb}} [{{{1}}} Official website{{#if:{{{4|}}}| <q>{{{4}}}}}</q>]{{#if:{{{2|}}}|. Retrieved {{date|{{{2}}}}}{{#if:{{{3|}}}| (error: {{{3}}}) [[Category:ERROR_URL]]|}}|}}</includeonly><noinclude> |
== Usage == | == Usage == | ||
Use this template with '''anonymous''' parameters: | Use this template with '''anonymous''' parameters: | ||
− | <pre>{{URLwebsite|<URL>|<date>|<HTML error code>}}</pre> | + | <pre>{{URLwebsite|<URL>|<date>|<HTML error code>|<additional information>}}</pre> |
− | + | {{Template:DefaultURL}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
== Examples == | == Examples == | ||
Line 18: | 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}} | ||
+ | <pre>{{URLwebsite|http://en.intactiwiki.org|2019-09-15||IntactiWiki}}</pre> | ||
+ | {{URLwebsite|http://en.intactiwiki.org|2019-09-15||IntactiWiki}} | ||
− | [[de:Vorlage:URLwebsite]]</noinclude> | + | == 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. | ||
+ | |||
+ | [[Category:URL template]] | ||
+ | |||
+ | [[da:Skabelon:URLwebsite]] | ||
+ | [[de:Vorlage:URLwebsite]] | ||
+ | <!--[[en:Template:URLwebsite]]--> | ||
+ | [[fr:Modèle:URLwebsite]] | ||
+ | [[is:Snið:URLwebsite]] | ||
+ | [[nl:Sjabloon:URLwebsite]] | ||
+ | [[sv:Mall:URLwebsite]] | ||
+ | </noinclude> |
Latest revision as of 14:42, 24 August 2024
Usage
Use this template with anonymous parameters:
{{URLwebsite|<URL>|<date>|<HTML error code>|<additional information>}}
Use the available URL templates in the {{LINKS}} section of an article page, with the following order:
- Template:URLwebsite
- Template:URLwikipedia
- Template:URL-FBprofile
- Template:URL-FBpage
- Template:URL-FBgroup
- Template:URLtwitter
- Template:URL-IMDbName
- Template:URL-IMDbTitle
Note: Only use the <date> parameter when you have retrieved the URL.
Examples
{{URLwebsite|http://en.intactiwiki.org}}
{{URLwebsite|http://en.intactiwiki.org|2019-09-15}}
Official website. Retrieved 15 September 2019
{{URLwebsite|http://en.intactiwiki.org|2019-09-15|404}}
Official website. Retrieved 15 September 2019 (error: 404)
{{URLwebsite|http://en.intactiwiki.org|2019-09-15||IntactiWiki}}
Official website IntactiWiki
. Retrieved 15 September 2019
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.