Template:File ref: Difference between revisions
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 | -->}}</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 {{ | == Usage == | ||
* {{{ | |||
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 == | |||
:{{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:
FILENAMEis the file name, including the extension. (e.g., ".jpg", ".png", etc.)DESCRIPTIONis 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
- The Duke of Islington (transclusion) (← links | edit)