Actions

Template

Difference between revisions of "Magref"

From Sega Retro

m (Black Squirrel moved page Template:Fileref2 to Template:Magref without leaving a redirect: no you're right - better to do books separately)
Line 9: Line 9:
 
}}</div>{{#if: {{#var:filename}} | {{#ifexist:File:{{#var:filename}}|<span style="display:none;">[[Media:{{#var:filename}}]]</span>}}{{#tag: ref | {{#if: {{#var:page}} | [{{fullurl:File:{{#var:filename}}|page={{#var:page}}}} ''{{#var:pubname}}'', "{{#var:issuename}}" ({{#var:country}}; {{#var:date}}), page {{#var:page}}] | [[:File:{{#var:filename}}]]}} | name=":File:{{#var:filename}}_p{{#var:page}}" }} | {{#tag: ref | ''{{#var:pubname}}'', "{{#var:issuename}}" ({{#var:country}}; {{#var:date}}){{#if:{{#var:page}}|, page {{#var:page}}}} }}}}{{incvar|refcount}}</includeonly><noinclude>[[Category:Sega Retro templates]]
 
}}</div>{{#if: {{#var:filename}} | {{#ifexist:File:{{#var:filename}}|<span style="display:none;">[[Media:{{#var:filename}}]]</span>}}{{#tag: ref | {{#if: {{#var:page}} | [{{fullurl:File:{{#var:filename}}|page={{#var:page}}}} ''{{#var:pubname}}'', "{{#var:issuename}}" ({{#var:country}}; {{#var:date}}), page {{#var:page}}] | [[:File:{{#var:filename}}]]}} | name=":File:{{#var:filename}}_p{{#var:page}}" }} | {{#tag: ref | ''{{#var:pubname}}'', "{{#var:issuename}}" ({{#var:country}}; {{#var:date}}){{#if:{{#var:page}}|, page {{#var:page}}}} }}}}{{incvar|refcount}}</includeonly><noinclude>[[Category:Sega Retro templates]]
  
This is an improved version of the fileref template{{fileref2|mms|12|34}}. You only need to specify a code, issue and page{{fileref2|edge|10|20}}, the rest should be done for you{{fileref2|hyper|1|2}}{{fileref2|edge|10|20}}{{fileref2|mms|34|45}}.{{fileref2|cvg|93a}}
+
This is an improved version of the fileref template{{magref|mms|12|34}}. You only need to specify a code, issue and page{{magref|edge|10|20}}, the rest should be done for you{{magref|hyper|1|2}}{{magref|edge|10|20}}{{magref|mms|34|45}}.{{magref|cvg|93a}}
  
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
{{fileref2|<CODE>|<ISSUE>|<PAGE>}}
+
{{magref|<CODE>|<ISSUE>|<PAGE>}}
 
</pre>
 
</pre>
  

Revision as of 06:45, 20 October 2018


This is an improved version of the fileref template

[1]. You only need to specify a code, issue and page

[2], the rest should be done for you

[3]

[4]

[5].

[6]

Usage

{{magref|<CODE>|<ISSUE>|<PAGE>}}


References

  1. ', "" (; ), page 34
  2. ', "" (; ), page 20
  3. ', "" (; ), page 2
  4. ', "" (; ), page 20
  5. ', "" (; ), page 45
  6. ', "" (; )