Difference between revisions of "Refinfo"
From Sega Retro
m (Text replacement - "Category:Sega Retro templates" to "Category:Templates") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#cargo_store: | <includeonly>{{#cargo_store: | ||
_table = refinfo | _table = refinfo | ||
− | |file={{#titleparts:{{PAGENAME}}}} | + | |file={{{file|{{#titleparts:{{PAGENAME}}}}}}} |
|text={{{1|{{#titleparts:{{PAGENAME}}}}}}} | |text={{{1|{{#titleparts:{{PAGENAME}}}}}}} | ||
− | }}</includeonly><noinclude>{{#cargo_declare: | + | }}{{#ifeq:{{NAMESPACE}}|File|[[Category:Files with reference information]]}}</includeonly><noinclude>{{#cargo_declare: |
_table=refinfo | _table=refinfo | ||
|file=Text | |file=Text | ||
|text=Text | |text=Text | ||
− | }}[[Category: | + | }} |
+ | |||
+ | Template to describe files, so that lists of references look better when using [[Template:Fileref]]. | ||
+ | |||
+ | ==Usage== | ||
+ | <pre>{{refinfo|<DESCRIPTION>}}</pre> | ||
+ | |||
+ | ==Examples== | ||
+ | *[[:File:Sega Arcade History JP EnterBrain Book-1.pdf]] -> {{fileref|Sega Arcade History JP EnterBrain Book-1.pdf}} | ||
+ | *[[:File:Dha sat us manual.pdf]], page 10 -> {{fileref|Dha sat us manual.pdf|page=10}} | ||
+ | *[[:File:Diehardarcade sat jp backcover.jpg]] -> {{fileref|Diehardarcade sat jp backcover.jpg}} | ||
+ | |||
+ | |||
+ | [[Category:Templates]]</noinclude> |
Latest revision as of 12:58, 1 January 2022
This template defines the table "refinfo". View table.
Template to describe files, so that lists of references look better when using Template:Fileref.
Usage
{{refinfo|<DESCRIPTION>}}
Examples
- File:Sega Arcade History JP EnterBrain Book-1.pdf -> [1]
- File:Dha sat us manual.pdf, page 10 -> [2]
- File:Diehardarcade sat jp backcover.jpg -> [3]