Difference between revisions of "Template:Article ref"

From The Coppermind
Jump to navigation Jump to search
(handle the case that parameter 'text' or '2' was not provided)
m (Text replacement - "Category: Sources [[" to "[[")
 
(3 intermediate revisions by one other user not shown)
Line 2: Line 2:
   
 
TEXT
 
TEXT
-->|{{{pre|{{{4|}}}|}}}<!--
+
-->|{{{pre|{{{4|}}}|}}}<!-- -->{{#if:{{{pre|{{{4|}}}|}}}|{{ref/uses-pre}}|}}<!--
   
-->[[{{{page|{{{1}}}|}}}{{#if:{{{text|}}}{{{2|}}}{{!}}}}{{{text|{{{2|}}}|}}}]]<!--
+
-->[[{{{page|{{{1}}}|}}}{{#if:{{{text|}}}{{{2|}}}|{{!}}{{{text|{{{2|}}}|}}}|}}]]<!--
   
-->{{{post|{{{3|}}}|}}}<!--
+
-->{{{post|{{{3|}}}|}}}<!-- -->{{#if:{{{post|{{{3|}}}|}}}|{{ref/uses-post}}|}}<!--
  +
  +
-->{{tracking link|Cite: article/{{{page|{{{1}}}|}}}}}<!--
   
 
NAME
 
NAME
Line 27: Line 29:
 
* {{{group}}} sets the reference group
 
* {{{group}}} sets the reference group
   
[[Category: Sources]]
 
 
[[Category: Reference templates]]
 
[[Category: Reference templates]]
  +
  +
== Articles using Template ==
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0}}

Latest revision as of 05:42, 22 May 2022

This template is used to refer to other articles on the coppermind.

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

  • {{{page}}} replaces the link
  • {{{text}}} replaces the description
  • {{{pre}}} is included before the link
  • {{{post}}} is included after the link
  • {{{name}}} replaces {{{page}}} or {{{1}}} as the reference name
  • {{{group}}} sets the reference group

Articles using Template[edit]