Template:R/superscript: Difference between revisions
From All Skies Encyclopaedia
imported>Matthiaspaul (distinguish between where and quote-where, but only in tooltip) |
imported>EEng (desperate revert in light of unknown bug causing missing space after invocations of {r} and {rp} at end of source lines) |
||
Line 1: | Line 1: | ||
<!-- |wrap=n[o]/f[orced] |leadin=value |prefix=value |pp=value |where=value |quote |
<!-- |wrap=n[o]/f[orced] |leadin=value |prefix=value |pp=value |where=value |quote=value |translation=value |suffix=value -->{{#if:{{{where|}}}|<sup class="reference {{#switch:{{{wrap|}}}|f|forced=|no}}wrap"<!-- style="white-space:{{#switch:{{{wrap|}}}|f|forced=|no}}wrap;"-->>{{{prefix|}}}<span title="{{{leadin|}}}: {{#invoke:String|replace|{{#invoke:Plain text|main|1={{{where|}}}|encode=false}}|"|"}}{{#if:{{{quote|}}}| Quotation: "{{#invoke:String|replace|{{#invoke:Plain text|main|1={{trim quotes|s={{{quote|}}}}}|encode=false}}|"|"}}"{{#if:{{{translation|}}}| Translation: "{{#invoke:String|replace|{{#invoke:Plain text|main|1={{trim quotes|s={{{translation}}}}}|encode=false}}|"|"}}"}}" class="tooltip tooltip-dashed" style="border-bottom: 1px dashed;}}">{{pp|}}{{{where|}}}</span>{{{suffix|}}}</sup>{{#switch:{{{wrap|}}}|n|no=|​}}}}<noinclude> |
||
{{ |
{{Documentation}} |
||
</noinclude> |
</noinclude> |