Template:URLwebsite: Difference between revisions

WikiAdmin (talk | contribs)
m added Auto cat
WikiAdmin (talk | contribs)
using local POOLMainPages
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{raw:pool:POOLIconREFweb}} [{{{1}}} Official website]{{#if:{{{2|}}}|. Retrieved {{date|{{{2}}}}}{{#if:{{{3|}}}|&nbsp;(error: {{{3}}}) [[Category:ERROR_URL]]|}}.|}}</includeonly><noinclude>
<includeonly>{{POOLIconREFweb}} [{{{1}}} Official website{{#if:{{{4|}}}|&nbsp;<q>{{{4}}}}}</q>]{{#if:{{{2|}}}|. Retrieved {{date|{{{2}}}}}{{#if:{{{3|}}}|&nbsp;(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}}
{{Template:DefaultURL}}
Line 13: 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}}


== Automatic category ==
== 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.
* 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]]
[[da:Skabelon:URLwebsite]]
[[de:Vorlage:URLwebsite]]
[[de:Vorlage:URLwebsite]]
[[fr:Modèle:URLwebsite]]</noinclude>
<!--[[en:Template:URLwebsite]]-->
[[fr:Modèle:URLwebsite]]
[[is:Snið:URLwebsite]]
[[nl:Sjabloon:URLwebsite]]
[[sv:Mall:URLwebsite]]
</noinclude>