Difference between revisions of "Template:URLwikipedia"

From IntactiWiki
Jump to navigation Jump to search
m (WikiAdmin moved page URLwikipedia to Template:URLwikipedia)
m
Line 1: Line 1:
<includeonly>[https://en.wikipedia.org/wiki/{{{1}}} Wikipedia article]{{#if:{{{2|}}}|. Retrieved {{{2}}}{{#if:{{{3|}}}|&nbsp;(error: {{{3}}})|}}.|}}</includeonly>
+
<includeonly>[https://en.wikipedia.org/wiki/{{{1}}} Wikipedia article]{{#if:{{{2|}}}|. Retrieved {{{2}}}{{#if:{{{3|}}}|&nbsp;(error: {{{3}}})|}}.|}}</includeonly><noinclude>
<noinclude>== Usage ==
+
== Usage ==
 
Use this template with two '''anonymous''' parameters:
 
Use this template with two '''anonymous''' parameters:
 
<pre>{{URLwikipedia|<URL>|<date>|<HTML Error Code>}}</pre>
 
<pre>{{URLwikipedia|<URL>|<date>|<HTML Error Code>}}</pre>
Line 17: Line 17:
 
{{URLwikipedia|Sami_Aldeeb|2019-09-15}}
 
{{URLwikipedia|Sami_Aldeeb|2019-09-15}}
 
<pre>{{URLwikipedia|Sami_Aldeeb|2019-09-15|404}}</pre>
 
<pre>{{URLwikipedia|Sami_Aldeeb|2019-09-15|404}}</pre>
{{URLwikipedia|Sami_Aldeeb|2019-09-15|404}}
+
{{URLwikipedia|Sami_Aldeeb|2019-09-15|404}}</noinclude>
</noinclude>
 

Revision as of 20:08, 15 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:URL-FBprofile
  3. Template:URL-FBpage
  4. Template:URL-FBgroup
  5. Template:URLwikipedia

Examples

{{URLwikipedia|Sami_Aldeeb}}

Wikipedia article

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

Wikipedia article. Retrieved 2019-09-15.

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

Wikipedia article. Retrieved 2019-09-15 (error: 404).