Difference between revisions of "Refinfo"

From Sega Retro

(Created page with "<includeonly>{{#cargo_store: _table = refinfo |page={{#titleparts:{{PAGENAME}}}} |text={{{1|{{#titleparts:{{PAGENAME}}}}}}} }}</includeonly><noinclude>{{#cargo_declare: _tabl...")
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<includeonly>{{#cargo_store:
 
<includeonly>{{#cargo_store:
 
_table = refinfo
 
_table = refinfo
|page={{#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
|page=Text
+
|file=Text
 
|text=Text
 
|text=Text
}}[[Category:Sega Retro templates]]</noinclude>
+
}}
 +
 
 +
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

  • Sega Arcade History, Enterbrain
  • Die Hard Arcade (Saturn) US manual, page 10
  • Dynamite Deka (Saturn) Japanese cover (back)