Difference between revisions of "Template:R/ref"

From Wikispooks
Jump to navigation Jump to search
m (1 revision: refesh WP citation templates)
 
m (1 revision imported)
 
(One intermediate revision by the same user not shown)
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"><nowiki>:</nowiki><span {{#if:{{{4|}}}|style="border-bottom: 1px dashed;" title='"{{#tag:nowiki|{{#invoke:String|replace|{{trim quotes|s={{{4}}}}}|"|&quot;}}}}"'}}>{{{3}}}</span></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>

Latest revision as of 16:05, 12 February 2019

Usage

{{r/ref|name|group|page numbers|quote}}