Template:R/ref: Difference between revisions

From Vigyanwiki
< Template:R
Template>Matthiaspaul
(updated from sandbox)
Template>Matthiaspaul
(CE)
Line 5: Line 5:
-->{{#if:{{{section|}}}|{{#if:{{#lst:{{FULLPAGENAME}}|{{anchorencode:<!-- -->{{#switch:{{{section|}}}||y|yes=cite_sect-{{trim quotes|s={{{1|}}}}}-{{trim quotes|s={{{2|}}}}}-{{trim quotes|s={{{pages|}}}{{{page|}}}{{{location|}}}}}|{{{section|}}}}}<!--{{{section|cite_sect-{{trim quotes|s={{{1|}}}}}-{{trim quotes|s={{{2|}}}}}-{{trim quotes|s={{{pages|}}}{{{page|}}}{{{location|}}}}}}}}--><!---->}}}}|<templatestyles src="Template:Tooltip/styles.css"/><span class="rt-commentedText tooltip tooltip-dotted" title="Context: &quot;<!--{{#tag:nowiki|-->{{#invoke:String|replace|{{#lst:{{FULLPAGENAME}}|{{anchorencode:<!-- -->{{#switch:{{{section|}}}||y|yes=cite_sect-{{trim quotes|s={{{1|}}}}}-{{trim quotes|s={{{2|}}}}}-{{trim quotes|s={{{pages|}}}{{{page|}}}{{{location|}}}}}|{{{section|}}}}}<!--{{{section|cite_sect-{{trim quotes|s={{{1|}}}}}-{{trim quotes|s={{{2|}}}}}-{{trim quotes|s={{{pages|}}}{{{page|}}}{{{location|}}}}}}}}--><!---->}}}}|"|&quot;}}<!--}}-->&quot;">}}}}<!--
-->{{#if:{{{section|}}}|{{#if:{{#lst:{{FULLPAGENAME}}|{{anchorencode:<!-- -->{{#switch:{{{section|}}}||y|yes=cite_sect-{{trim quotes|s={{{1|}}}}}-{{trim quotes|s={{{2|}}}}}-{{trim quotes|s={{{pages|}}}{{{page|}}}{{{location|}}}}}|{{{section|}}}}}<!--{{{section|cite_sect-{{trim quotes|s={{{1|}}}}}-{{trim quotes|s={{{2|}}}}}-{{trim quotes|s={{{pages|}}}{{{page|}}}{{{location|}}}}}}}}--><!---->}}}}|<templatestyles src="Template:Tooltip/styles.css"/><span class="rt-commentedText tooltip tooltip-dotted" title="Context: &quot;<!--{{#tag:nowiki|-->{{#invoke:String|replace|{{#lst:{{FULLPAGENAME}}|{{anchorencode:<!-- -->{{#switch:{{{section|}}}||y|yes=cite_sect-{{trim quotes|s={{{1|}}}}}-{{trim quotes|s={{{2|}}}}}-{{trim quotes|s={{{pages|}}}{{{page|}}}{{{location|}}}}}|{{{section|}}}}}<!--{{{section|cite_sect-{{trim quotes|s={{{1|}}}}}-{{trim quotes|s={{{2|}}}}}-{{trim quotes|s={{{pages|}}}{{{page|}}}{{{location|}}}}}}}}--><!---->}}}}|"|&quot;}}<!--}}-->&quot;">}}}}<!--
### First call to create reference link: ###
### First call to create reference link: ###
-->{{#if:{{{link-id|}}}|<span id="{{anchorencode:{{{link-id|}}}}}" class="citation<!-- wikicite cite-r -->">}}{{#tag:ref|{{#if:{{{annotation|}}}||{{#if:{{{content-id|}}}|<span<!-- or <cite...> --> id="{{anchorencode:{{{content-id|}}}}}" class="citation<!-- wikicite cite-r -->">}}{{{reference|}}}{{#if:{{{content-id|}}}|</span><!-- or </cite> -->}}{{{postscript|}}}}}|name={{{1|}}}|group={{{2|}}}}}{{#if:{{{link-id|}}}|</span>}}<!--
-->{{#if:{{{link-id|}}}|<span id="{{anchorencode:{{{link-id|}}}}}" class="citation<!-- wikicite cite-r -->">}}{{#tag:ref|{{#if:{{{annotation|}}}||{{#if:{{{content-id|}}}|<span<!-- or <cite...> --> id="{{anchorencode:{{{content-id|}}}}}" class="citation<!-- wikicite cite-r -->">}}<!--{{{leadin|}}}-->{{{reference|}}}{{#if:{{{content-id|}}}|</span><!-- or </cite> -->}}{{{postscript|}}}}}|name={{{1|}}}|group={{{2|}}}}}{{#if:{{{link-id|}}}|</span>}}<!--
### Optional second call to append data to reference: ###
### Optional second call to append data to reference: ###
-->{{#if:{{{annotation|}}}|{{#tag:ref|{{#switch:{{{annotation|}}}|p|page|pages={{#if:{{{pages|}}}{{{page|}}}{{{location|}}}|&#8204;{{#if:{{{content-id|}}}|<span id="{{anchorencode:{{{content-id|}}}}}">}}{{{leadin|}}}{{{pages|}}}{{{page|}}}{{{location|}}}{{#if:{{{content-id|}}}|</span>}}}}|quote|q=&#8204;{{#switch:{{{quote-page|}}}|=|p|page|pages={{#if:{{{pages|}}}{{{page|}}}{{{location|}}}|{{{leadin|}}}{{{pages|}}}{{{page|}}}{{{location|}}}:&#32;}}|{{{leadin|}}}{{{quote-page|}}}:&#32;}}<q {{#if:{{{content-id|}}}|id="{{anchorencode:{{{content-id|}}}}}"}} {{#if:{{{quote-cite|}}}|cite="#{{anchorencode:{{{quote-cite|}}}}}"}} {{#if:{{{quote-language|}}}|lang="{{{quote-language|}}}"}}><bdi>{{#invoke:String|replace|{{trim quotes|s={{{quote|}}}}}|"|&quot;}}</bdi></q>{{#if:{{{trans-quote|}}}|&#32;&#91;<bdi>{{#invoke:String|replace|{{trim quotes|s={{{trans-quote|}}}}}|"|&quot;}}</bdi>&#93;}}|{{#if:{{{content-id|}}}|<span<!-- or <cite...> --> id="{{anchorencode:{{{content-id|}}}}}" class="citation<!-- wikicite cite-r -->">}}{{{leadin|}}}{{{annotation|}}}{{#if:{{{content-id|}}}|</span><!-- or </cite> -->}}}}{{{postscript|}}}|follow={{{1|}}}|group={{{2|}}}}}}}<!--
-->{{#if:{{{annotation|}}}|{{#tag:ref|{{#switch:{{{annotation|}}}|p|page|pages={{#if:{{{pages|}}}{{{page|}}}{{{location|}}}|&#8204;{{#if:{{{content-id|}}}|<span id="{{anchorencode:{{{content-id|}}}}}">}}{{{leadin|}}}{{{pages|}}}{{{page|}}}{{{location|}}}{{#if:{{{content-id|}}}|</span>}}}}|quote|q=&#8204;{{#switch:{{{quote-page|}}}|=|p|page|pages={{#if:{{{pages|}}}{{{page|}}}{{{location|}}}|{{{leadin|}}}{{{pages|}}}{{{page|}}}{{{location|}}}:&#32;}}|{{{leadin|}}}{{{quote-page|}}}:&#32;}}<q {{#if:{{{content-id|}}}|id="{{anchorencode:{{{content-id|}}}}}"}} {{#if:{{{quote-cite|}}}|cite="#{{anchorencode:{{{quote-cite|}}}}}"}} {{#if:{{{quote-language|}}}|lang="{{{quote-language|}}}"}}><bdi>{{#invoke:String|replace|{{trim quotes|s={{{quote|}}}}}|"|&quot;}}</bdi></q>{{#if:{{{trans-quote|}}}|&#32;&#91;<bdi>{{#invoke:String|replace|{{trim quotes|s={{{trans-quote|}}}}}|"|&quot;}}</bdi>&#93;}}|{{#if:{{{content-id|}}}|<span<!-- or <cite...> --> id="{{anchorencode:{{{content-id|}}}}}" class="citation<!-- wikicite cite-r -->">}}{{{leadin|}}}{{{annotation|}}}{{#if:{{{content-id|}}}|</span><!-- or </cite> -->}}}}{{{postscript|}}}|follow={{{1|}}}|group={{{2|}}}}}}}<!--

Revision as of 18:35, 3 September 2021

Template documentation