Difference between revisions of "Template:Wp ref"

From The Coppermind
Jump to navigation Jump to search
(Created page with "<includeonly>{{#tag:ref<!-- TEXT -->|{{{pre|{{{4|}}}|}}}<!-- -->[[Wikipedia:{{{1}}}|{{{text|{{{2}}}|}}}]]<!-- -->{{{post|{{{3|}}}|}}}<!-- NAME -->|name={{{name|wp-{{{1}}...")
 
m (tracking junk)
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
   
 
TEXT
 
TEXT
-->|{{{pre|{{{4|}}}|}}}<!--
+
-->|{{{pre|{{{4|}}}|}}}<!-- -->{{#if:{{{pre|{{{4|}}}|}}}|{{ref/uses-pre}}|}}<!--
   
-->[[Wikipedia:{{{1}}}|{{{text|{{{2}}}|}}}]]<!--
 
   
-->{{{post|{{{3|}}}|}}}<!--
+
-->[[Wikipedia:{{{1}}}|{{{text|{{{2|{{{1}}}|}}}|}}}]]<!--
  +
  +
-->{{{post|{{{3|}}}|}}}<!-- -->{{#if:{{{post|{{{3|}}}|}}}|{{ref/uses-post}}|}}<!--
  +
  +
  +
--><br><small> &mdash; Wikipedia {{#if:{{{date|}}}|- {{{date}}}|}}</small><!--
  +
  +
-->{{tracking link|Cite: Wikipedia/{{{1}}}|}}<!--
   
 
NAME
 
NAME
Line 25: Line 31:
 
* {{{name}}} replaces the generated reference name
 
* {{{name}}} replaces the generated reference name
 
* {{{group}}} sets the reference group
 
* {{{group}}} sets the reference group
  +
* {{{date}}} if appropriate (yyyy-mm-dd)
  +
 
[[category: reference templates]]
   
  +
== Articles using Template ==
[[Category: Sources]]
 
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here}}
[[Category: Reference templates]]
 
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0}}

Latest revision as of 18:55, 1 February 2021

This template is used to refer to Wikipedia.

To use, include {{wp ref|page|description|post|pre}}

  • {{{text}}} replaces the description
  • {{{pre}}} is included before the link
  • {{{post}}} is included after the link
  • {{{name}}} replaces the generated reference name
  • {{{group}}} sets the reference group
  • {{{date}}} if appropriate (yyyy-mm-dd)

Articles using Template[edit]