Template:File ref: Difference between revisions

From The Reed and Rite
mNo edit summary
m Removed background color to allow dynamic color shift in dark mode.
 
(6 intermediate revisions by the same user not shown)
Line 21: Line 21:
-->}}</includeonly><noinclude>
-->}}</includeonly><noinclude>
== Description ==
== Description ==
This template is used to refer to files on the wiki.
This template should be used to create a footnote with a link to a specific file in the <code>File:</code> namespace.


== Usage ==
== Usage ==
To use, include {{t|file ref|file|description}}
 
To use, include <code><nowiki>{{file ref|FILENAME|DESCRIPTION}}</nowiki></code>, where:
* <code>FILENAME</code> is the file name, including the extension. (e.g., ".jpg", ".png", etc.)
* <code>DESCRIPTION</code> is a brief description of the file.
 
 
{| style="width: 100%; text-align: left; margin: auto;" class="wikitable"
|-
| width=50%|'''You Type'''
|'''You Get'''
|-
| width=50%|
<pre>
Located where The Diagonal intersects Sterling Street.{{file ref|Map of St. Crispian's.jpg|St. Crispian's Map}}
 
== Notes ==
<references />
</pre>
|
Located where The Diagonal intersects Sterling Street.{{file ref|Map of St. Crispian's.jpg|St. Crispian's Map}}
 
<span style="display: block; font-size: 1.65em; font-family: serif; font-weight: normal; margin-top: 1em; border-bottom: 1px solid #a2a9b1;">Notes</span>
<references />
|}


== Articles using Template ==
== Articles using Template ==

Latest revision as of 22:44, 27 May 2025

Description

This template should be used to create a footnote with a link to a specific file in the File: namespace.

Usage

To use, include {{file ref|FILENAME|DESCRIPTION}}, where:

  • FILENAME is the file name, including the extension. (e.g., ".jpg", ".png", etc.)
  • DESCRIPTION is a brief description of the file.


You Type You Get
Located where The Diagonal intersects Sterling Street.{{file ref|Map of St. Crispian's.jpg|St. Crispian's Map}}

== Notes ==
<references />

Located where The Diagonal intersects Sterling Street.[1]

Notes

Articles using Template