Template:R/ref: Difference between revisions
From Vigyanwiki
Template>Matthiaspaul (temporarily putting zwsp back in) |
Template>Matthiaspaul (this worked for me, but try the opposite using wbr) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{section|}}}|{{#if:{{#section:{{FULLPAGENAME}}|{{{section|cite_sect-{{trim quotes|s={{{1|}}}}}-{{trim quotes|s={{{2|}}}}}-{{trim quotes|s={{{3|}}}}}}}}}}|<templatestyles src="Template:Tooltip/styles.css"/><span class="rt-commentedText tooltip tooltip-dotted" title="Context: "{{#tag:nowiki|{{#invoke:String|replace|{{#section:{{FULLPAGENAME}}|{{{section|cite_sect-{{trim quotes|s={{{1|}}}}}-{{trim quotes|s={{{2|}}}}}-{{trim quotes|s={{{3|}}}}}}}}}}|"|"}}}}"">}}}}{{#tag:ref|{{#if:{{{annotation|}}}||{{{reference|}}}{{{postscript|}}}}}|name={{{1|}}}|group={{{2|}}}}}{{#if:{{{annotation|}}}|{{#tag:ref|{{#switch:{{{annotation|}}}|p|page={{#if:{{{3|}}}|‌{{{leadin|}}}{{{3|}}}}}|quote|q=‌{{#switch:{{{quote-page}}}|{{{quote-page}}}=|p|page={{#if:{{{3|}}}|{{{leadin|}}}{{{3|}}}: }}|{{{leadin|}}}{{{quote-page|}}}: }}<q<!-- cite="#..." -->>{{#tag:nowiki|{{#invoke:String|replace|{{trim quotes|s={{{4|}}}}}|"|"}}}}</q>|{{{leadin|}}}{{{annotation|}}}}}{{{postscript|}}}|follow={{{1|}}}|group={{{2|}}}}}}}{{#if:{{{3|}}}|<sup class="reference nowrap"><nowiki>:</nowiki><span {{#if:{{{4|}}}|style="border-bottom: 1px dashed;" title="Quotation{{#if:{{{quote-page|}}}| from page / location {{#switch:{{{quote-page|}}}|p|page={{{3|}}}|{{{quote-page|}}}}}}}: "{{#tag:nowiki|{{#invoke:String|replace|{{trim quotes|s={{{4|}}}}}|"|"}}}}""|title="Page / location: {{#tag:nowiki|{{#invoke:String|replace|{{{3|}}}|"|"}}}}"}}>{{{3|}}}</span></sup>}}{{#if:{{{section|}}}|{{#if:{{#section:{{FULLPAGENAME}}|{{{section|cite_sect-{{trim quotes|s={{{1|}}}}}-{{trim quotes|s={{{2|}}}}}-{{trim quotes|s={{{3|}}}}}}}}}}|</span>}}}}{{#if:{{{needed-reason|}}}|{{page needed|date={{{needed-date|}}}|reason={{#switch:{{{needed-reason|}}}|y|yes=No reason given|{{{needed-reason|}}}}}}}}}{{#switch:{{{wrap|}}}|n|no=| | <includeonly>{{#if:{{{section|}}}|{{#if:{{#section:{{FULLPAGENAME}}|{{{section|cite_sect-{{trim quotes|s={{{1|}}}}}-{{trim quotes|s={{{2|}}}}}-{{trim quotes|s={{{3|}}}}}}}}}}|<templatestyles src="Template:Tooltip/styles.css"/><span class="rt-commentedText tooltip tooltip-dotted" title="Context: "{{#tag:nowiki|{{#invoke:String|replace|{{#section:{{FULLPAGENAME}}|{{{section|cite_sect-{{trim quotes|s={{{1|}}}}}-{{trim quotes|s={{{2|}}}}}-{{trim quotes|s={{{3|}}}}}}}}}}|"|"}}}}"">}}}}{{#tag:ref|{{#if:{{{annotation|}}}||{{{reference|}}}{{{postscript|}}}}}|name={{{1|}}}|group={{{2|}}}}}{{#if:{{{annotation|}}}|{{#tag:ref|{{#switch:{{{annotation|}}}|p|page={{#if:{{{3|}}}|‌{{{leadin|}}}{{{3|}}}}}|quote|q=‌{{#switch:{{{quote-page}}}|{{{quote-page}}}=|p|page={{#if:{{{3|}}}|{{{leadin|}}}{{{3|}}}: }}|{{{leadin|}}}{{{quote-page|}}}: }}<q<!-- cite="#..." -->>{{#tag:nowiki|{{#invoke:String|replace|{{trim quotes|s={{{4|}}}}}|"|"}}}}</q>|{{{leadin|}}}{{{annotation|}}}}}{{{postscript|}}}|follow={{{1|}}}|group={{{2|}}}}}}}{{#if:{{{3|}}}|<sup class="reference nowrap"><nowiki>:</nowiki><span {{#if:{{{4|}}}|style="border-bottom: 1px dashed;" title="Quotation{{#if:{{{quote-page|}}}| from page / location {{#switch:{{{quote-page|}}}|p|page={{{3|}}}|{{{quote-page|}}}}}}}: "{{#tag:nowiki|{{#invoke:String|replace|{{trim quotes|s={{{4|}}}}}|"|"}}}}""|title="Page / location: {{#tag:nowiki|{{#invoke:String|replace|{{{3|}}}|"|"}}}}"}}>{{{3|}}}</span></sup>}}{{#if:{{{section|}}}|{{#if:{{#section:{{FULLPAGENAME}}|{{{section|cite_sect-{{trim quotes|s={{{1|}}}}}-{{trim quotes|s={{{2|}}}}}-{{trim quotes|s={{{3|}}}}}}}}}}|</span>}}}}{{#if:{{{needed-reason|}}}|{{page needed|date={{{needed-date|}}}|reason={{#switch:{{{needed-reason|}}}|y|yes=No reason given|{{{needed-reason|}}}}}}}}}{{#switch:{{{wrap|}}}|n|no=|<wbr/><!-- ​ -->}}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 18:58, 1 September 2021
Template documentation
[create]