Difference between revisions of "Template:URLwebsite"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
− | <includeonly>[{{{1}}} Official website]{{#if: {{{2|}}} | . Retrieved {{{2}}}. |}}</includeonly> | + | <includeonly>[{{{1}}} Official website]{{#if: {{{2|}}} | . Retrieved {{{2}}} |}}{{#if: {{{3|}}} | (error: {{{3}}}). | .}}</includeonly> |
<noinclude>== Usage == | <noinclude>== Usage == | ||
Use this template with two '''anonymous''' parameters: | Use this template with two '''anonymous''' parameters: | ||
− | <pre>{{URLwebsite|<URL>|<date>}}</pre> | + | <pre>{{URLwebsite|<URL>|<date>|<HTML error code>}}</pre> |
The '''Official website''' link should be listed as the first weblink on the '''<nowiki>{{LINKS}}</nowiki>''' section of an article page. | The '''Official website''' link should be listed as the first weblink on the '''<nowiki>{{LINKS}}</nowiki>''' section of an article page. | ||
== Example == | == Example == | ||
− | <pre>{{URLwebsite|http://en.intactiwiki.org|2019-09-15}}</pre> | + | <pre>{{URLwebsite|http://en.intactiwiki.org|2019-09-15|404}}</pre> |
− | {{URLwebsite|http://en.intactiwiki.org|2019-09-15}} | + | {{URLwebsite|http://en.intactiwiki.org|2019-09-15|404}} |
− | Result: <pre>[http://en.intactiwiki.org Official website]. Retrieved 2019-09-15.</pre> | + | Result: <pre>[http://en.intactiwiki.org Official website]. Retrieved 2019-09-15 (error: 404).</pre> |
+ | {{SEEALSO}} | ||
+ | * [[:Template:URL-FBpage]] | ||
</noinclude> | </noinclude> |
Revision as of 18:33, 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).