Jump to content

Template:Talkquote: Difference between revisions

From Silicopedia
Trying out the Talkquote template
 
Another attempt
 
Line 1: Line 1:
<div class="talkquote">
<blockquote style="color:#202122;background-color:#eaf8f4;border-left:3px solid #008560;padding:0 .8em;margin:0">{{{text|{{{1|}}}}}}</blockquote><noinclude>
  <div class="talkquote-header">
Renders a talk-page quote block. Usage: <code><nowiki>{{talkquote|Your quoted text here}}</nowiki></code>
    <span class="talkquote-author">[[User:{{{author|}}}|{{{author|}}}]]</span>
</noinclude>
    <span class="talkquote-time">{{{time|}}}</span>
  </div>
  <div class="talkquote-body">'''Quote:''' {{{1|}}}</div>
</div>
<style>
.talkquote{border-left:3px solid #ccc;padding:6px 10px;margin:6px 0;background:#f8f8f8}
.talkquote-header{font-size:90%;color:#666;margin-bottom:4px}
.talkquote-body{white-space:pre-wrap}
</style>

Latest revision as of 05:12, 29 April 2026

Renders a talk-page quote block. Usage: {{talkquote|Your quoted text here}}