Template:R: Difference between revisions

From Vigyanwiki
Template>TheFeds
(Completing conversion to page# syntax, per talk page.)
Template>Pathoschild
(replaced duplicate code and {{rp}} with subtemplate)
Line 1: Line 1:
<includeonly>{{#tag:ref||name={{{1}}}|group={{{group|}}}}}{{#if:{{{page1|}}}|{{rp|{{{page1}}}}}}}{{#if:{{{2|}}}|<!--
<includeonly>{{r/ref|{{{1}}}|{{{group|}}}|{{{page|{{{page1|}}}}}}}}<!--
-->{{#tag:ref||name={{{2}}}|group={{{group|}}}}}{{#if:{{{page2|}}}|{{rp|{{{page2}}}}}}}{{#if:{{{3|}}}|<!--
-->{{#if:{{{2|}}}|{{r/ref|{{{2}}}|{{{group|}}}|{{{page2|}}}}}<!--
-->{{#tag:ref||name={{{3}}}|group={{{group|}}}}}{{#if:{{{page3|}}}|{{rp|{{{page3}}}}}}}{{#if:{{{4|}}}|<!--
-->{{#if:{{{3|}}}|{{r/ref|{{{3}}}|{{{group|}}}|{{{page3|}}}}}<!--
-->{{#tag:ref||name={{{4}}}|group={{{group|}}}}}{{#if:{{{page4|}}}|{{rp|{{{page4}}}}}}}{{#if:{{{5|}}}|<!--
-->{{#if:{{{4|}}}|{{r/ref|{{{4}}}|{{{group|}}}|{{{page4|}}}}}<!--
-->{{#tag:ref||name={{{5}}}|group={{{group|}}}}}{{#if:{{{page5|}}}|{{rp|{{{page5}}}}}}}{{#if:{{{6|}}}|<!--
-->{{#if:{{{5|}}}|{{r/ref|{{{5}}}|{{{group|}}}|{{{page5|}}}}}<!--
<sup class="error" style="font-size:0.9em; line-height:0;">The template only supports up to 5 references ([[Template:R|edit it]]!).</sup>
-->{{#if:{{{6|}}}|<sup class="error" style="font-size:0.9em; line-height:0;">The template only supports up to 5 references ([[Template:R|edit it]]!).</sup>
-->}}}}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
-->}}}}}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 02:50, 26 September 2009

Template documentation