Difference between revisions of "Refs"

From Sega Retro

Line 6: Line 6:
 
   |[{{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. -->
 
   |[{{fullurl:{{#replace:{{#var:ref_{{#var:i}}}}| |_}}}} {{#var:ref_{{#var:i}}}}]<!-- File without page. -->
 
   |[{{fullurl:{{#replace:{{#var:ref_{{#var:i}}}}| |_}}}} {{#var:ref_{{#var:i}}}}]<!-- File without page. -->
   }}
+
   }}<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>
 
  }}</span></li>

Revision as of 10:57, 19 August 2016


Usage

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

Fileref.[4]

    {{#loop:i |1 |4 |
  1. {{#ifeq: http: | File: |http://sonicretro.org[[Media:http://sonicretro.org |http://sonicretro.org }}
  2. }}