Difference between revisions of "Refs"

From Sega Retro

(Created page with "<includeonly><ol>{{#loop:i |1 |{{#var:refcount|0}} | <li><span id="ref_{{#var:i}}">{{#var:ref_{{#var:i}}}}</span></li> }}</ol></includeonly><noinclude> ==Usage== This is an e...")
 
Line 2: Line 2:
 
|1
 
|1
 
|{{#var:refcount|0}}
 
|{{#var:refcount|0}}
| <li><span id="ref_{{#var:i}}">{{#var:ref_{{#var:i}}}}</span></li>
+
| <li><span id="ref_{{#var:i}}">{{#ifeq: {{#sub:{{#var:ref_{{#var:i}}}}|0|5}} | File:
 +
|[{{fullurl:{{#replace:{{#explode:{{#var:ref_{{#var:i}}}}|, page |0}}| |_}}|page={{#explode:{{#var:ref_{{#var:i}}}}| |-1}}}} {{#var:ref_{{#var:i}}}}]
 +
|{{#var:ref_{{#var:i}}}}
 +
}}</span></li>
 
}}</ol></includeonly><noinclude>
 
}}</ol></includeonly><noinclude>
  
 
==Usage==
 
==Usage==
 
This is an example.{{ref2|http://google.com}} And another example.{{ref2|http://en.wikipedia.org}} Same as first.{{ref2|http://google.com}} Third.{{ref2|http://sonicretro.org}}
 
This is an example.{{ref2|http://google.com}} And another example.{{ref2|http://en.wikipedia.org}} Same as first.{{ref2|http://google.com}} Third.{{ref2|http://sonicretro.org}}
 +
 +
Fileref.{{ref2|CVG UK 090.pdf|page=12}}
  
 
{{refs}}
 
{{refs}}

Revision as of 10:47, 19 August 2016


Usage

This is an example.[1] And another example.[2] Same as first.[1] Third.[3]

Fileref.[4]

  1. http://google.com
  2. http://en.wikipedia.org
  3. http://sonicretro.org
  4. File:CVG UK 090.pdf, page 12