Difference between revisions of "Refs"
From Sega Retro
(4 intermediate revisions by the same user not shown) | |||
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 |
+ | | ↑ {{#loop:j | 1 | {{#var:refuses_{{#var:i}}}} | <sup>[[#refback_{{#var:i}}_{{#var:j}}|{{#var:i}}.{{#var:j}}]]</sup> }} | ||
+ | | [[#refback_{{#var:i}}_1|↑]] }} | ||
+ | {{#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. --> | ||
|[{{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> | + | }}<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> | ||
Line 18: | Line 21: | ||
{{refs}} | {{refs}} | ||
− | [[Category: | + | [[Category:Experimental templates]] |
</noinclude> | </noinclude> |