Difference between revisions of "Template:File ref"

From The Coppermind
Jump to navigation Jump to search
(add info on error)
m (+track +usage)
Line 4: Line 4:
 
-->|<!--
 
-->|<!--
   
-->{{{pre|}}}<!--
+
-->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!--
   
 
-->{{#if:{{{1|}}}<!--
 
-->{{#if:{{{1|}}}<!--
Line 11: Line 11:
 
-->}}<!--
 
-->}}<!--
   
-->{{{post|}}}<!--
+
-->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!--
   
 
NAME
 
NAME
Line 30: Line 30:
 
[[Category: Sources]]
 
[[Category: Sources]]
 
[[Category: Reference templates]]
 
[[Category: Reference templates]]
  +
  +
== Articles using Template ==
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0}}

Revision as of 10:47, 19 April 2020

This template is used to refer to files on the wiki.

To use, include {{file ref|file|description}}

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

Articles using Template