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}}}). |}}{{#if: {{{2|3|}}} | . |}}</includeonly>
 
<noinclude>== Usage ==
 
<noinclude>== Usage ==
 
Use this template with two '''anonymous''' parameters:
 
Use this template with two '''anonymous''' parameters:

Revision as of 19:56, 15 September 2019

Usage

Use this template with two anonymous parameters:

{{URLwebsite|<URL>|<date>|<HTML error code>}}

The Official website link should be listed as the first weblink on the {{LINKS}} section of an article page.

Example

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

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


Result:

[http://en.intactiwiki.org Official website]. Retrieved 2019-09-15 (error: 404).

See also