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>
+
<includeonly>[{{{1}}} Official website]{{#if:{{{2|}}}|. Retrieved {{{2}}}{{#if:{{{3|}}}|&nbsp;(error: {{{3}}})|}}.|}}</includeonly><noinclude>
<noinclude>== Usage ==
+
== Usage ==
 
Use this template with two '''anonymous''' parameters:
 
Use this template with two '''anonymous''' parameters:
 
<pre>{{URLwebsite|<URL>|<date>|<HTML error code>}}</pre>
 
<pre>{{URLwebsite|<URL>|<date>|<HTML error code>}}</pre>

Revision as of 19:21, 15 September 2019

Usage

Use this template with two 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

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).