Template:URLwikipedia: Difference between revisions

From IntactiWiki
Jump to navigation Jump to search
WikiAdmin (talk | contribs)
mNo edit summary
WikiAdmin (talk | contribs)
mNo edit summary
Line 4: Line 4:
<pre>{{URLwikipedia|<URL>|<date>|<HTML Error Code>}}</pre>
<pre>{{URLwikipedia|<URL>|<date>|<HTML Error Code>}}</pre>


Use the available URL templates in the '''<nowiki>{{LINKS}}</nowiki>''' section of an article page, with the following order:
{{Template:DefaultURL}}
# [[:Template:URLwebsite]]
# [[:Template:URL-FBprofile]]
# [[:Template:URL-FBpage]]
# [[:Template:URL-FBgroup]]
# [[:Template:URLwikipedia]]
 
'''Note:''' Only use the <date> parameter when you have retrieved the URL.


== Examples ==
== Examples ==

Revision as of 19:35, 16 September 2019

Usage

Use this template with two anonymous parameters:

{{URLwikipedia|<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

{{URLwikipedia|Sami_Aldeeb}}

Wikipedia article{{#if:|. Retrieved {{{2}}}{{#if:| (error: {{{3}}})|}}.|}}

{{URLwikipedia|Sami_Aldeeb|2019-09-15}}

Wikipedia article{{#if:2019-09-15|. Retrieved 2019-09-15{{#if:| (error: {{{3}}})|}}.|}}

{{URLwikipedia|Sami_Aldeeb|2019-09-15|404}}

Wikipedia article{{#if:2019-09-15|. Retrieved 2019-09-15{{#if:404| (error: 404)|}}.|}}