Template:Talk quote inline: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
m 1 revision imported
imported>Jonesey95
Add encodefirst to prevent Linter and display errors when * # etc. is used as the initial character. Tested in sandbox and with testcases. Please revert if this causes trouble.
 
Line 1: Line 1:
<templatestyles src="Talk quote inline/styles.css" />{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|Template:Tq is only for quoting in talk and project pages. Do not use it in actual articles.}}|<!--
<templatestyles src="Talk quote inline/styles.css" />{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{FormattingError|Template:Tq is only for quoting in talk and project pages. Do not use it in actual articles.}}|<!--
--><q {{#if: {{{title|}}} | title="{{{title}}}"}} class="inline-quote-talk {{#if: {{{i|{{{italic|}}}}}} | inline-quote-talk-italic}} {{#if: {{{q|{{{quotes|}}}}}}|inline-quote-talk-marks}}">{{{1|Example text}}}</q><!--
--><q {{#if: {{{title|}}} | title="{{{title}}}"}} class="inline-quote-talk {{#if: {{{i|{{{italic|}}}}}} | inline-quote-talk-italic}} {{#if: {{{q|{{{quotes|}}}}}}|inline-quote-talk-marks}}">{{Encodefirst|{{trim|{{{1|Example text}}}}}}}</q><!--
-->}}<noinclude>
-->}}<noinclude>
{{Documentation}}
{{Documentation}}


</noinclude>
</noinclude>

Latest revision as of 04:20, 3 February 2023

Example text