Template:Blockquote/doc: Difference between revisions

Line 130:
=== Nested quotations ===
The {{code|lang=html|code=<blockquote>...</blockquote>}} element has styles that change the font size: on desktop, text is smaller; on mobile, it is larger. This change is relative to the enclosing context, meaning that if you quote from a source that itself uses a block quotation, you'll find that the inner quotation is either really tiny and hard to read, or really large and barely fits on the screen. To fix this issue, add the parameter {{para|style|{{code|lang=css|font-size:inherit;}}}} on any inner {{tl|Quote}} templates.
 
When a block quotation begins and ends with interior quotations using quotation marks, the code in the template that performs (usually desirable) detection and pruning of leading/trailing quotation marks will unintentionally mess up the formatting of these interior quotes. In such a case, use the {{para|notrim|y}} (or {{para|notrim|true}}, etc.) parameter:
 
{{tnull|Quote&nbsp;|text{{=}}"The Jewish people are fans of Pope John Paul II", said Greg Packer of Huntington, N.J. "He does not limit his message to one faith; he reaches out to everybody."&nbsp;|notrim{{=}}yes}}
 
=== Mis-detection of wikimarkup ===
Anonymous user