Template:Talk quote block and Template:Talk quote block/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
use an actual comment for demonstration |
attempt to guess username and timestamp from id |
||
Line 1: | Line 1: | ||
<templatestyles src="Talk quote block/styles.css" /><blockquote class="talkquote" <!-- |
<templatestyles src="Talk quote block/sandbox/styles.css" /><blockquote class="talkquote" <!-- |
||
-->{{#if: {{{style|}}} | style={{{style}}} }}><!-- |
-->{{#if: {{{style|}}} | style={{{style}}} }}><!-- |
||
-->{{{text|{{{1|<noinclude>{{str trim|{{lorem ipsum}}}}</noinclude>}}}}}}<!-- |
-->{{{text|{{{1|<noinclude>{{str trim|{{lorem ipsum}}}}</noinclude>}}}}}}<!-- |
||
-->{{#if: {{{by|<noinclude>y</noinclude>{{{2|}}}}}} |
-->{{#if: {{{by|<noinclude>y</noinclude>{{{2|{{{id|}}}}}}}}} |
||
| <br><span class="talkquote-by">— {{#if: {{{noping|}}}{{{no-ping|}}} |
| <br><span class="talkquote-by">— {{#if: {{{noping|}}}{{{no-ping|}}} |
||
| User:{{{by}}} |
| User:{{{by|{{#invoke:String|match|{{{id}}}|c%-(..-)-%d}}}}} |
||
| [[User:{{{by|<noinclude>Example User</noinclude> |
| [[User:{{{by|{{{2|{{#invoke:String|match|{{{id}}}|c%-(..-)-%d|<noinclude>nomatch=Example User</noinclude>}}}}}}}}]]</span> |
||
}} |
}} |
||
}}<!-- |
}}<!-- |
||
-->{{#if: {{{source|}}} | <br><span class="talkquote-source">{{#if: {{{nodash|}}}{{{no-dash|}}} || —  }}{{{source}}}</span> }}<!-- |
-->{{#if: {{{source|}}} | <br><span class="talkquote-source">{{#if: {{{nodash|}}}{{{no-dash|}}} || —  }}{{{source}}}</span> }}<!-- |
||
-->{{#if: {{{ts|<noinclude>y</noinclude>}}} |
-->{{#if: {{{ts|<noinclude>y</noinclude>{{{id|}}}}}} |
||
|  <small>{{#if: {{{id|<noinclude>y</noinclude>}}} |
|||
| [[Special:GoToComment/{{{id<noinclude>|c-Example_User-20240604182100-Example</noinclude>}}}|{{{ts |
| [[Special:GoToComment/{{{id<noinclude>|c-Example_User-20240604182100-Example</noinclude>}}}|{{{ts|{{#time: H:i, j F Y | {{#invoke:String|match|{{{id<noinclude>|c-Example_User-20240604182100-Example</noinclude>}}}|-(%d%d%d%d%d%d%d%d%d%d%d%d%d%d)%-|start=3}} }} (UTC)}}}]] |
||
| {{#if: {{{oldid|<noinclude>y</noinclude>}}} |
| {{#if: {{{oldid|<noinclude>y</noinclude>}}} |
||
| [[Special:Diff/{{{oldid<noinclude>|{{REVISIONID}}</noinclude>}}}|{{{ts}}}]] |
| [[Special:Diff/{{{oldid<noinclude>|{{REVISIONID}}</noinclude>}}}|{{{ts}}}]] |
||
| {{#if: {{{diff|}}} |
| {{#if: {{{diff|}}} |
||
| [{{{diff}}} {{{ts}}}] |
| [{{{diff}}} {{{ts}}}] |
||
| {{{ts}}} |
| {{{ts}}} |
||
⚫ | |||
}} |
}} |
||
⚫ | |||
}}</small>}}<!-- |
}}</small>}}<!-- |
||
--></blockquote><noinclude> |
--></blockquote><noinclude> |