Template:R/ref: Difference between revisions
From All Skies Encyclopaedia
imported>Matthiaspaul Encode < > " instead of only " to avoid problems if < or > are part of the parameter value. (Using Plain text encode=true does not work as it also encodes &, which causes § to be broken.) |
imported>Matthiaspaul use thin space in page lists |
||
| Line 14: | Line 14: | ||
|pp={{#switch:{{{style|}}}|AMA|Ama|ama={{#if:{{{no-pp|}}}||{{#if:{{{page|}}}|p|{{#if:{{{pages|}}}|pp}}}}}}}}<!-- pp is only used in superscript label, therefore it does not contain any qp params --> | |pp={{#switch:{{{style|}}}|AMA|Ama|ama={{#if:{{{no-pp|}}}||{{#if:{{{page|}}}|p|{{#if:{{{pages|}}}|pp}}}}}}}}<!-- pp is only used in superscript label, therefore it does not contain any qp params --> | ||
|leadin={{#switch:{{{quote-page|{{{quote-pages|}}}}}}|pp|pages|p|page={{#if:{{{page|}}}|Page|{{#if:{{{pages|}}}|Pages|{{#if:{{{location|}}}|Location|Page / location}}}}}}|{{#if:{{{quote-page|}}}|Page|{{#if:{{{quote-pages|}}}|Pages|{{#if:{{{location|}}}|Location|{{#if:{{{page|}}}|Page|{{#if:{{{pages|}}}|Pages|{{#if:{{{location|}}}|Location|Page / location}}}}}}}}}}}}}}<!-- leadin is only used in tooltip --> | |leadin={{#switch:{{{quote-page|{{{quote-pages|}}}}}}|pp|pages|p|page={{#if:{{{page|}}}|Page|{{#if:{{{pages|}}}|Pages|{{#if:{{{location|}}}|Location|Page / location}}}}}}|{{#if:{{{quote-page|}}}|Page|{{#if:{{{quote-pages|}}}|Pages|{{#if:{{{location|}}}|Location|{{#if:{{{page|}}}|Page|{{#if:{{{pages|}}}|Pages|{{#if:{{{location|}}}|Location|Page / location}}}}}}}}}}}}}}<!-- leadin is only used in tooltip --> | ||
|where={{#if:{{{page|{{{location|}}}}}}|{{{page|{{{location|}}}}}}|{{#invoke:String2|hyphen2dash|{{{pages|}}}}}}}<!-- where must not include qp params --> | |where={{#if:{{{page|{{{location|}}}}}}|{{{page|{{{location|}}}}}}|{{#invoke:String2|hyphen2dash|{{{pages|}}}| }}}}<!-- where must not include qp params --> | ||
|quote-where={{#switch:{{{quote-page|{{{quote-pages|}}}}}}|pp|pages|p|page={{#if:{{{page|{{{location|}}}}}}|{{{page|{{{location|}}}}}}|{{#invoke:String2|hyphen2dash|{{{pages|}}}}}}}|{{#if:{{{quote-page|}}}|{{{quote-page|}}}|{{#invoke:String2|hyphen2dash|{{{quote-pages|}}}}}}}}}<!-- quote-where must not contain normal in-source-location params --> | |quote-where={{#switch:{{{quote-page|{{{quote-pages|}}}}}}|pp|pages|p|page={{#if:{{{page|{{{location|}}}}}}|{{{page|{{{location|}}}}}}|{{#invoke:String2|hyphen2dash|{{{pages|}}}}}}}|{{#if:{{{quote-page|}}}|{{{quote-page|}}}|{{#invoke:String2|hyphen2dash|{{{quote-pages|}}}}}}}}}<!-- quote-where must not contain normal in-source-location params --> | ||
|quote={{{quote|}}} | |quote={{{quote|}}} | ||
Revision as of 19:08, 13 September 2021
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]






