Difference between revisions of "Intref"

From Sega Retro

 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<noinclude>Template for '''int'''ernal '''ref'''erences, e.g. press releases, interviews - content hosted on Sega Retro.
 
<noinclude>Template for '''int'''ernal '''ref'''erences, e.g. press releases, interviews - content hosted on Sega Retro.
  
==References==
+
==See also==
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.
+
* [[Template:Ref]] for referencing other sites in general.
 +
* [[Template:Fileref]] for referencing files stored on the wiki and Retro CDN.
 +
* [[Template:Magref]] for referencing magazines.
  
 
==Examples==
 
==Examples==
Line 9: Line 11:
 
*Yuji Naka still exists{{intref|Interview: Yuji Naka (1999-11-30) by Future Gamez}}
 
*Yuji Naka still exists{{intref|Interview: Yuji Naka (1999-11-30) by Future Gamez}}
  
 +
==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.
 
<references/>
 
<references/>
  
[[Category:Sega Retro templates]]
+
[[Category:Templates]]
</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>
+
</noinclude><includeonly>{{#vardefine:filename|{{{1}}}}}{{#vardefine:quote|{{{quote|}}}}}{{#tag: ref | {{#if:{{#var:quote}}|"{{#var:quote}}",&nbsp;}}[[{{StripPrefix|{{#var:filename}}}}]] | name="{{#var:filename}}{{#var:quote}}" }}{{incvar|refcount}}</includeonly>

Latest revision as of 11:55, 25 April 2023

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

See also

Examples

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

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.