Difference between revisions of "Intref"

From Sega Retro

(Created page with "<noinclude>Template for '''ref''erencing '''int''ernal files. ==References== Since this template uses the <nowiki><ref></nowiki> tag, all pages that use this template will ha...")
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>Template for '''ref''erencing '''int''ernal files.
+
<noinclude>Template for '''int'''ernal '''ref'''erences, e.g. press releases, interviews - content hosted on Sega Retro.
  
 
==References==
 
==References==
 
Since this template uses the <nowiki><ref></nowiki> tag, all pages that use this template will have an auto-generated references list appended to the end of the page. To prevent confusion, a <nowiki><references/></nowiki> tag should be added to the end of the page in a dedicated "References" section, such as this one.
 
Since this template uses the <nowiki><ref></nowiki> tag, all pages that use this template will have an auto-generated references list appended to the end of the page. To prevent confusion, a <nowiki><references/></nowiki> tag should be added to the end of the page in a dedicated "References" section, such as this one.
 +
 +
==Examples==
 +
*Yuji Naka exists{{intref|Interview: Yuji Naka (1999-11-30) by Future Gamez}}
 +
*Yuji Naka likes meat{{intref|Interview: Yuji Naka (1999-11-30) by Future Gamez|quote=I like meat.}}
 +
*Yuji Naka still exists{{intref|Interview: Yuji Naka (1999-11-30) by Future Gamez}}
 +
 
<references/>
 
<references/>
  
[[Category:Sega Retro templates]]
+
[[Category:Templates]]
</noinclude><includeonly>{{#vardefine:filename|{{{1}}}}}{{#tag: ref | [[{{#var:filename}}]]}} | name="{{#var:filename}}" }}</includeonly>
+
</noinclude><includeonly>{{#vardefine:filename|{{{1}}}}}{{#vardefine:quote|{{{quote|}}}}}{{#tag: ref | {{#if:{{#var:quote}}|"{{#var:quote}}",&nbsp;}}[[{{#var:filename}}]] | name="{{#var:filename}}{{#var:quote}}" }}{{incvar|refcount}}</includeonly>

Revision as of 14:03, 1 January 2022

Template for internal references, e.g. press releases, interviews - content hosted on Sega Retro.

References

Since this template uses the <ref> tag, all pages that use this template will have an auto-generated references list appended to the end of the page. To prevent confusion, a <references/> tag should be added to the end of the page in a dedicated "References" section, such as this one.

Examples

  • Yuji Naka exists[1]
  • Yuji Naka likes meat[2]
  • Yuji Naka still exists[1]