Template:R: Difference between revisions

From Vigyanwiki
Template>Pathoschild
(+ warning if too many parameters)
Template>TheFeds
(Adding support for {{rp}} elements.)
Line 1: Line 1:
<includeonly>{{#tag:ref||name={{{1}}}}}{{#if:{{{2|}}}|<!--
<includeonly>{{#tag:ref||name={{{1}}}}}{{#if:{{{rp1|}}}|{{rp|{{{rp1}}}}}}}{{#if:{{{2|}}}|<!--
-->{{#tag:ref||name={{{2}}}}}{{#if:{{{3|}}}|<!--
-->{{#tag:ref||name={{{2}}}}}{{#if:{{{rp2|}}}|{{rp|{{{rp2}}}}}}}{{#if:{{{3|}}}|<!--
-->{{#tag:ref||name={{{3}}}}}{{#if:{{{4|}}}|<!--
-->{{#tag:ref||name={{{3}}}}}{{#if:{{{rp3|}}}|{{rp|{{{rp3}}}}}}}{{#if:{{{4|}}}|<!--
-->{{#tag:ref||name={{{4}}}}}{{#if:{{{5|}}}|<!--
-->{{#tag:ref||name={{{4}}}}}{{#if:{{{rp4|}}}|{{rp|{{{rp4}}}}}}}{{#if:{{{5|}}}|<!--
-->{{#tag:ref||name={{{5}}}}}{{#if:{{{6|}}}|<!--
-->{{#tag:ref||name={{{5}}}}}{{#if:{{{rp5|}}}|{{rp|{{{rp5}}}}}}}{{#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>
<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 08:58, 23 September 2009

Template documentation