Difference between revisions of "Refs"

From Sega Retro

m
Line 2: Line 2:
 
|1
 
|1
 
|{{#var:refcount|0}}
 
|{{#var:refcount|0}}
| <li><span id="ref_{{#var:i}}">{{#ifeq: {{#sub:{{#var:ref_{{#var:i}}}}|0|5}} | File:
+
| <li><span id="ref_{{#var:i}}">{{#ifexpr: {{#var:refuses_{{#var:i}}}}>1
 +
| ↑
 +
| [[#refback_{{#var:i}}|↑]] }}
 +
{{#ifeq: {{#sub:{{#var:ref_{{#var:i}}}}|0|5}} | File:
 
  |{{#if: {{#pos:{{#var:ref_{{#var:i}}}}|, page }}
 
  |{{#if: {{#pos:{{#var:ref_{{#var:i}}}}|, page }}
 
   |[{{fullurl:{{#replace:{{#explode:{{#var:ref_{{#var:i}}}}|, page |0}}| |_}}|page={{#explode:{{#var:ref_{{#var:i}}}}| |-1}}}} {{#var:ref_{{#var:i}}}}]<!-- File with page specified. -->
 
   |[{{fullurl:{{#replace:{{#explode:{{#var:ref_{{#var:i}}}}|, page |0}}| |_}}|page={{#explode:{{#var:ref_{{#var:i}}}}| |-1}}}} {{#var:ref_{{#var:i}}}}]<!-- File with page specified. -->
Line 8: Line 11:
 
   }}<span style="display:none">[[Media:{{#replace:{{#explode:{{#var:ref_{{#var:i}}}}|, page |0}}|File:}}]]</span>
 
   }}<span style="display:none">[[Media:{{#replace:{{#explode:{{#var:ref_{{#var:i}}}}|, page |0}}|File:}}]]</span>
 
  |{{#var:ref_{{#var:i}}}}<!-- Standard link, use as-is. -->
 
  |{{#var:ref_{{#var:i}}}}<!-- Standard link, use as-is. -->
  }}</span></li>
+
  }} Uses: {{#var:refuses_{{#var:i}}}}</span></li>
 
}}</ol></includeonly><noinclude>
 
}}</ol></includeonly><noinclude>
  

Revision as of 11:32, 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 Uses: 2
  2. http://en.wikipedia.org Uses: 1
  3. http://sonicretro.org Uses: 1
  4. File:CVG UK 090.pdf, page 12Media:CVG UK 090.pdf Uses: 1