Template:Talk quote inline and Template:Talk quote inline/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
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. |
since there is a sandbox style page, use it |
||
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/sandbox/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}}">{{Encodefirst|{{trim|{{{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> |