Difference between revisions of "Template:URL-IMDbName"

From IntactiWiki
Jump to navigation Jump to search
m
m (added category)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[https://www.imdb.com/name/{{{1}}} IMDb name page]{{#if:{{{2|}}}|. Retrieved {{date|{{{2}}}}}{{#if:{{{3|}}}|&nbsp;(error: {{{3}}})|}}.|}}</includeonly><noinclude>
+
<includeonly>{{raw:pool:POOLIconREFweb}} [https://www.imdb.com/name/{{{1}}} IMDb name page]{{#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:
Line 13: Line 13:
 
<pre>{{URL-IMDbName|nm2911561|2019-09-15|404}}</pre>
 
<pre>{{URL-IMDbName|nm2911561|2019-09-15|404}}</pre>
 
{{URL-IMDbName|nm2911561|2019-09-15|404}}
 
{{URL-IMDbName|nm2911561|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.
 +
 +
[[Category:URL template]]
  
 
[[de:Vorlage:URL-IMDbName]]</noinclude>
 
[[de:Vorlage:URL-IMDbName]]</noinclude>

Latest revision as of 16:06, 13 January 2022

Usage

Use this template with anonymous parameters:

{{URL-IMDbName|<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:URLwikipedia
  3. Template:URL-FBprofile
  4. Template:URL-FBpage
  5. Template:URL-FBgroup
  6. Template:URLtwitter
  7. Template:URL-IMDbName
  8. Template:URL-IMDbTitle

Note: Only use the <date> parameter when you have retrieved the URL.

Examples

{{URL-IMDbName|nm2911561}}

REFweb IMDb name page

{{URL-IMDbName|nm2911561|2019-09-15}}

REFweb IMDb name page. Retrieved 15 September 2019.

{{URL-IMDbName|nm2911561|2019-09-15|404}}

REFweb IMDb name page. 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.