Difference between revisions of "Template:URLwikipedia"
Jump to navigation
Jump to search
m (typo) |
m (added Auto cat) |
||
Line 15: | Line 15: | ||
<pre>{{URLwikipedia|Sami_Aldeeb|Sami Aldeeb|2019-09-15|404}}</pre> | <pre>{{URLwikipedia|Sami_Aldeeb|Sami Aldeeb|2019-09-15|404}}</pre> | ||
{{URLwikipedia|Sami_Aldeeb|Sami Aldeeb|2019-09-15|404}} | {{URLwikipedia|Sami_Aldeeb|Sami Aldeeb|2019-09-15|404}} | ||
+ | |||
+ | == 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. | ||
[[da:Skabelon:URLwikipedia]] | [[da:Skabelon:URLwikipedia]] |
Revision as of 07:53, 16 June 2021
Usage
Use this template with two anonymous parameters:
{{URLwikipedia|<URL>|<title>|<date>|<HTML Error Code>}}
Use the available URL templates in the {{LINKS}} section of an article page, with the following order:
- Template:URLwebsite
- Template:URLwikipedia
- Template:URL-FBprofile
- Template:URL-FBpage
- Template:URL-FBgroup
- Template:URLtwitter
- Template:URL-IMDbName
- Template:URL-IMDbTitle
Note: Only use the <date> parameter when you have retrieved the URL.
Examples
{{URLwikipedia|Sami_Aldeeb}}
{{URLwikipedia|Sami_Aldeeb|Sami Aldeeb}}
Wikipedia article: Sami Aldeeb
{{URLwikipedia|Sami_Aldeeb|Sami Aldeeb|2019-09-15}}
Wikipedia article: Sami Aldeeb. Retrieved 15 September 2019.
{{URLwikipedia|Sami_Aldeeb|Sami Aldeeb|2019-09-15|404}}
Wikipedia article: Sami Aldeeb. Retrieved 15 September 2019 (error: 404).
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.