Difference between revisions of "Template:URLwebsite"

From IntactiWiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<includeonly>[{{{1}}} Official website]{{#if:{{{2|}}}|. Retrieved {{{2}}}{{#if:{{{3|}}}|&nbsp;(error: {{{3}}})|}}.|}}</includeonly><noinclude>
 
<includeonly>[{{{1}}} Official website]{{#if:{{{2|}}}|. Retrieved {{{2}}}{{#if:{{{3|}}}|&nbsp;(error: {{{3}}})|}}.|}}</includeonly><noinclude>
 
== Usage ==
 
== Usage ==
Use this template with two '''anonymous''' parameters:
+
Use this template with three '''anonymous''' parameters:
 
<pre>{{URLwebsite|<URL>|<date>|<HTML error code>}}</pre>
 
<pre>{{URLwebsite|<URL>|<date>|<HTML error code>}}</pre>
  

Revision as of 10:48, 16 September 2019

Usage

Use this template with three 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:URL-FBprofile
  3. Template:URL-FBpage
  4. Template:URL-FBgroup
  5. Template:URLwikipedia

Examples

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

Official website

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

Official website. Retrieved 2019-09-15.

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

Official website. Retrieved 2019-09-15 (error: 404).