Template:File ref: Difference between revisions

From The Reed and Rite
Created page with "<includeonly>{{#tag:ref<!-- TEXT -->|<!-- -->{{{pre|}}}<!-- -->{{#if:{{{pre|}}}|{{ref/uses-pre}}|}}<!-- -->{{#if:{{{1|}}}<!-- -->|[[:file:{{{1}}}|{{{text|{{{2|{{{1}}}|}}}|}}}]]<!-- -->|{{ref/broken|file/missing}} {{{text|{{{2|{{{1}}}|}}}|}}}<!-- -->}}<!-- -->{{{post|}}}<!-- -->{{#if:{{{post|}}}|{{ref/uses-post}}|}}<!-- NAME -->|name={{{name|{{{1}}}|}}}<!-- GROUP -->|group={{{group|}}}<!-- -->}}</includeonly><noinclude>This template is used to refer to fil..."
 
m Removed background color to allow dynamic color shift in dark mode.
 
(9 intermediate revisions by the same user not shown)
Line 19: Line 19:
-->|group={{{group|}}}<!--
-->|group={{{group|}}}<!--


-->}}</includeonly><noinclude>This template is used to refer to files on the wiki.
-->}}</includeonly><noinclude>
== Description ==
This template should be used to create a footnote with a link to a specific file in the <code>File:</code> namespace.


To use, include {{t|file ref|file|description}}
== Usage ==
* {{{text}}} replaces the description
 
* {{{pre}}} is included before the link
To use, include <code><nowiki>{{file ref|FILENAME|DESCRIPTION}}</nowiki></code>, where:
* {{{post}}} is included after the link
* <code>FILENAME</code> is the file name, including the extension. (e.g., ".jpg", ".png", etc.)
* {{{name}}} replaces the file name as the reference name
* <code>DESCRIPTION</code> is a brief description of the file.
* {{{group}}} sets the reference group
 
 
{| 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 ==
:{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here|pre=This list is limited to 100 pages}}
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0|limit=100}}{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=100|limit=100}}


[[Category: Reference Templates]]
[[Category: Reference Templates]]

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