Template:R/superscript: Difference between revisions
Jump to navigation
Jump to search
Wikipedia Infobox musical artist>Matthiaspaul (Expand language code into language string if recognized code, else display as such) |
BalkanMapper (talk | contribs) m (1 revision imported) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<!-- Only for internal use: |wrap=n[o]/y[es]/f[orced] |leadin=value |prefix=value |pp=value |where=value |sup-where=value |quote-where=value |quote=value |language=value |translation=value |suffix=value -->{{#if:{{{where|}}}|<sup class="reference {{#switch:{{{wrap|}}}|f|forced=|no}}wrap">{{#if:{{{quote|}}}|{{{prefix|}}}}}<span title="<!--{{#invoke:String|replace|source={{#invoke:String|replace|source={{#invoke:String|replace|source=-->{{#invoke:DecodeEncode|encode|s={{#invoke:Plain text|main|1={{{leadin|}}}: {{#if:{{{quote-where|}}}|{{{quote-where|}}}|{{{where|}}}}}|encode=false}}|charset=<>"}}<!--|"|"}}|<|<}}|>|>}}-->{{#if:{{{quote|}}}| Quotation<!--{{#invoke:String|replace|source={{#invoke:String|replace|source={{#invoke:String|replace|source=-->{{#invoke:DecodeEncode|encode|s={{#invoke:Plain text|main|1={{#if:{{{language|}}}| ({{#ifeq:{{lang|fn=is_ietf_tag|{{{language|}}}}}|true|{{lang|fn=name_from_tag|{{{language|}}}}}|{{{language|}}}}})}} | <!-- Only for internal use: |wrap=n[o]/y[es]/f[orced] |leadin=value |prefix=value |pp=value |where=value |sup-where=value |quote-where=value |quote=value |language=value |translation=value |suffix=value -->{{#if:{{{where|}}}|<sup class="reference {{#switch:{{{wrap|}}}|f|forced=|no}}wrap">{{#if:{{{quote|}}}|{{{prefix|}}}}}<span title="<!--{{#invoke:String|replace|source={{#invoke:String|replace|source={{#invoke:String|replace|source=-->{{#invoke:DecodeEncode|encode|s={{#invoke:Plain text|main|1={{{leadin|}}}: {{#if:{{{quote-where|}}}|{{{quote-where|}}}|{{{where|}}}}}|encode=false}}|charset=<>"}}<!--|"|"}}|<|<}}|>|>}}-->{{#if:{{{quote|}}}| Quotation<!--{{#invoke:String|replace|source={{#invoke:String|replace|source={{#invoke:String|replace|source=-->{{#invoke:DecodeEncode|encode|s={{#invoke:Plain text|main|1={{#if:{{{language|}}}| ({{#ifeq:{{lang|fn=is_ietf_tag|{{{language|}}}}}|true|{{lang|fn=name_from_tag|{{{language|}}}}}|{{{language|}}}}})}}: "{{trim quotes|s={{{quote|}}}}}"{{#if:{{{translation|}}}| Translation: "{{trim quotes|s={{{translation}}}}}"}}|encode=false}}|charset=<>"}}<!--|"|"}}|<|<}}|>|>}}-->" class="tooltip tooltip-dashed" style="border-bottom: 1px dashed;}}">{{#if:{{{quote|}}}||{{{prefix|}}}}}<!--DEBUG: Take care of :;*# as first character here. This also breaks plainlinks/stripmarkers/catlinks testcases {{#invoke:String|replace|source=-->{{{pp|}}}{{{sup-where|}}}<!--| | }}-->{{#if:{{{quote|}}}||{{{suffix|}}}}}</span>{{#if:{{{quote|}}}|{{{suffix|}}}}}</sup>}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 16:55, 7 May 2024
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]