Template:R/ref: Difference between revisions
From Vigyanwiki
Template>Fryed-peach mNo edit summary |
Template>Ahecht (implement quote parameter) |
||
Line 1: | Line 1: | ||
<includeonly>{{#tag:ref||name={{{1}}}|group={{{2}}}}}{{#if:{{{3}}}|<sup class="reference nowrap"><nowiki>:</nowiki>{{{3}}}</sup>}}</includeonly><noinclude> | <includeonly>{{#tag:ref||name={{{1}}}|group={{{2}}}}}{{#if:{{{3}}}|<sup class="reference nowrap" {{#if:{{{4|}}}|title='"{{#tag:nowiki|{{#invoke:String|replace|{{trim quotes|s={{{4}}}}}|"|"}}}}"'}}><nowiki>:</nowiki>{{{3}}}</sup>}}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
<pre>{{r/ref|name|group|page numbers}}</pre> | <pre>{{r/ref|name|group|page numbers|quote}}</pre> | ||
[[Category:Template implementation details]] | [[Category:Template implementation details]] | ||
</noinclude> | </noinclude> |
Revision as of 05:07, 16 November 2017
Usage
{{r/ref|name|group|page numbers|quote}}