Template:Rp: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
(switched to no special wrapping by default)
m (1 revision imported)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if:{{{needed|}}}|{{page needed|date={{{date|}}}|reason={{{reason|}}}}}|{{r/superscript
{{#if:{{{needed|}}}|{{page needed|date={{{date|}}}|reason={{{reason|}}}}}|{{r/superscript
|prefix={{#switch:{{{style|}}}|AMA|Ama|ama=(|:}}
|prefix={{#switch:{{{style|}}}|AMA|Ama|ama=(|: }}
|suffix={{#switch:{{{style|}}}|AMA|Ama|ama=)}}
|suffix={{#switch:{{{style|}}}|AMA|Ama|ama=)| }}
|pp={{#switch:{{{style|}}}|AMA|Ama|ama={{#if:{{{no-pp|{{{nopp|}}}}}}||{{#if:{{{quote-page|{{{qp|{{{page|{{{p|}}}}}}}}}}}}|p|{{#if:{{{quote-pages|{{{qpp|{{{pages|{{{pp|}}}}}}}}}}}}|pp}}}}}}}}
|pp={{#switch:{{{style|}}}|AMA|Ama|ama={{#if:{{{no-pp|{{{nopp|}}}}}}||{{#if:{{{pages|{{{pp|}}}}}}|pp|{{#if:{{{page|{{{p|}}}}}}|p}}}}}}}}<!-- p/pp is only used in superscript label, therefore it does not contain any qp params -->
<!-- previous behaviour:
|leadin={{#switch:{{{quotation-pages|{{{quote-pages|{{{qpp|{{{quotation-page|{{{quote-page|{{{qp|{{{quotation-location|{{{quote-location|{{{quote-loc|{{{quote-at|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}|pages|pp|page|p={{#if:{{{pages|{{{pp|}}}}}}|Pages|{{#if:{{{page|{{{p|}}}}}}|Page|{{#if:{{{location|{{{loc|{{{at|}}}}}}}}}|Location|Page&nbsp;/ location}}}}}}|{{#if:{{{quotation-pages|{{{quote-pages|{{{qpp|}}}}}}}}}|Pages|{{#if:{{{quotation-page|{{{quote-page|{{{qp|}}}}}}}}}|Page|{{#if:{{{quotation-location|{{{quote-location|{{{quote-loc|{{{quote-at|}}}}}}}}}}}}|Location|{{#if:{{{pages|{{{pp|}}}}}}|Pages|{{#if:{{{page|{{{p|}}}}}}|Page|{{#if:{{{location|{{{loc|{{{at|}}}}}}}}}|Location|Page&nbsp;/ location}}}}}}}}}}}}}}<!-- leadin is only used in tooltip -->
|prefix={{#if:{{{quote-page|{{{qp|{{{page|{{{p|{{{quote-pages|{{{qpp|{{{pages|{{{pp|{{{at|{{{loc|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}|(|:}}
|where={{R/where|plural={{#invoke:String2|hyphen2dash|{{{pages|{{{pp|{{{1|}}}}}}}}}}}|singular={{{page|{{{p|}}}}}}|location={{{location|{{{loc|{{{at|}}}}}}}}}|spacing=&#32;}}<!-- where must not include qp params -->
|suffix={{#if:{{{quote-page|{{{qp|{{{page|{{{p|{{{quote-pages|{{{qpp|{{{pages|{{{pp|{{{at|{{{loc|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}|)}}
|sup-where={{R/where|plural={{#invoke:String2|hyphen2dash|{{{pages|{{{pp|{{{1|}}}}}}}}}|&hairsp;}}|singular={{{page|{{{p|}}}}}}|location={{{location|{{{loc|{{{at|}}}}}}}}}|spacing=&hairsp;}}<!-- sup-where same as where, but with improved list spacing for superscript -->
|pp={{#if:{{{no-pp|{{{nopp|}}}}}}||{{#if:{{{quote-page|{{{qp|{{{page|{{{p|}}}}}}}}}}}}|p|{{#if:{{{quote-pages|{{{qpp|{{{pages|{{{pp|}}}}}}}}}}}}|pp}}}}}}
|quote-where={{#switch:{{{quotation-pages|{{{quote-pages|{{{qpp|{{{quotation-page|{{{quote-page|{{{qp|{{{quotation-location|{{{quote-location|{{{quote-loc|{{{quote-at|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}|pages|pp|page|p={{R/where|plural={{#invoke:String2|hyphen2dash|{{{pages|{{{pp|{{{1|}}}}}}}}}}}|singular={{{page|{{{p|}}}}}}|location={{{location|{{{loc|{{{at|}}}}}}}}}|spacing=&#32;}}|{{R/where|plural={{#invoke:String2|hyphen2dash|{{{quotation-pages|{{{quote-pages|{{{qpp|}}}}}}}}}}}|singular={{{quotation-page|{{{quote-page|{{{qp|}}}}}}}}}|location={{{quotation-location|{{{quote-location|{{{quote-loc|{{{quote-at|}}}}}}}}}}}}|spacing=&#32;}}}}<!-- quote-where must not contain normal in-source-location params -->
-->
|leadin={{#if:{{{quote-page|{{{qp|{{{page|{{{p|}}}}}}}}}}}}|Page|{{#if:{{{quote-pages|{{{qpp|{{{pages|{{{pp|}}}}}}}}}}}}|Pages|{{#if:{{{at|{{{loc|}}}}}}|Location|Page&nbsp;/ location}}}}}}
|where={{#if:{{{quote-page|{{{qp|{{{page|{{{p|{{{at|{{{loc|}}}}}}}}}}}}}}}}}}|{{{quote-page|{{{qp|{{{page|{{{p|{{{at|{{{loc|}}}}}}}}}}}}}}}}}}|{{#invoke:String2|hyphen2dash|{{{quote-pages|{{{qpp|{{{pages|{{{pp|{{{1|}}}}}}}}}}}}}}}}}}}
|quote={{{quotation|{{{quote|{{{q|}}}}}}}}}
|quote={{{quotation|{{{quote|{{{q|}}}}}}}}}
|language={{{language|{{{lang|{{{l|}}}}}}}}}
|language={{{quotation-language|{{{quote-language|{{{quotation-lang|{{{quote-lang|{{{ql|{{{language|{{{lang|{{{l|}}}}}}}}}}}}}}}}}}}}}}}}
|translation={{{trans-quote|{{{tq|{{{translation|{{{t|}}}}}}}}}}}}
|translation={{{translation-quotation|{{{trans-quotation|{{{translation-quote|{{{trans-quote|{{{tq|{{{translation|{{{trans|{{{t|{{{xlat|}}}}}}}}}}}}}}}}}}}}}}}}}}}
|wrap={{{wrap|}}}
|wrap={{{wrap|}}}
}}{{#switch:{{{wrap|}}}|y|yes=&#8203;}}}}<noinclude><!--
}}{{#switch:{{{wrap|}}}|yes|y|forced|f=&#8203;}}}}<noinclude><!--
Note: Please do not change the parameter names "at", "page", "p", "pages", "pp", "quote-page", "quote-pages", "trans-quote" , "no-pp" and "nopp" as they are also used by CS1/CS2 citation templates, "loc" is also used by SFN templates. -->
Note: Please do not change the parameter names "at", "page", "p", "pages", "pp", "quote-page", "quote-pages", "trans-quote" , "no-pp" and "nopp" as they are also used by CS1/CS2 citation templates, "loc" is also used by SFN templates. -->
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 18:24, 2 January 2022