Template:R: Difference between revisions

From Vigyanwiki
Template>Matthiaspaul
(Swapped parameter evaluation so that longer parameter names have priority over shorter ones (the usual order we evaluate such sets of alternative parameters). Added name/n parameters for symmetry with the other parameter names.)
Template>Matthiaspaul
(added refn functionality)
Line 1: Line 1:
<includeonly>{{r/ref|{{{name1|{{{name|{{{n1|{{{n|{{{1}}}}}}}}}}}}}}}|{{{group|{{{grp|{{{g|}}}}}}}}}|{{{page1|{{{page|{{{p1|{{{p|{{{pages1|{{{pages|{{{pp1|{{{pp|}}}}}}}}}}}}}}}}}}}}}}}}|{{{quote1|{{{quote|{{{q1|{{{q|}}}}}}}}}}}}}}<!--
<includeonly>{{r/ref|{{{name1|{{{name|{{{n1|{{{n|{{{1}}}}}}}}}}}}}}}|{{{group|{{{grp|{{{g|}}}}}}}}}|{{{page1|{{{page|{{{p1|{{{p|{{{pages1|{{{pages|{{{pp1|{{{pp|}}}}}}}}}}}}}}}}}}}}}}}}|{{{quote1|{{{quote|{{{q1|{{{q|}}}}}}}}}}}}|refn={{{refn1|{{{refn|{{{r1|{{{r|}}}}}}}}}}}}}}<!--
-->{{#if:{{{name2|{{{n2|{{{2|}}}}}}}}}|{{r/ref|{{{name2|{{{n2|{{{2}}}}}}}}}|{{{group|{{{grp|{{{g|}}}}}}}}}|{{{page2|{{{p2|{{{pages2|{{{pp2|}}}}}}}}}}}}|{{{quote2|{{{q2|}}}}}}}}<!--
-->{{#if:{{{name2|{{{n2|{{{2|}}}}}}}}}|{{r/ref|{{{name2|{{{n2|{{{2}}}}}}}}}|{{{group|{{{grp|{{{g|}}}}}}}}}|{{{page2|{{{p2|{{{pages2|{{{pp2|}}}}}}}}}}}}|{{{quote2|{{{q2|}}}}}}}}<!--
-->{{#if:{{{name3|{{{n3|{{{3|}}}}}}}}}|{{r/ref|{{{name3|{{{n3|{{{3}}}}}}}}}|{{{group|{{{grp|{{{g|}}}}}}}}}|{{{page3|{{{p3|{{{pages3|{{{pp3|}}}}}}}}}}}}|{{{quote3|{{{q3|}}}}}}}}<!--
-->{{#if:{{{name3|{{{n3|{{{3|}}}}}}}}}|{{r/ref|{{{name3|{{{n3|{{{3}}}}}}}}}|{{{group|{{{grp|{{{g|}}}}}}}}}|{{{page3|{{{p3|{{{pages3|{{{pp3|}}}}}}}}}}}}|{{{quote3|{{{q3|}}}}}}}}<!--

Revision as of 01:49, 29 August 2021

Template documentation