Template:Quote: Difference between revisions

From Gail Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<templatestyles src="Quote/styles.css" />
<templatestyles src="Quote/styles.css" />
<!-- Params: 1/text, 2/author, source, align, width -->
<!-- Params: 1=text, 2=author, align, width -->
<div class="gq-quote gq-align-{{{align|center}}}" style="{{#if:{{{width|}}}|max-width:{{{width}}};|}}">
<div class="gq-quote gq-align-{{{align|center}}}" style="max-width:{{{width|}}};">
   <div class="gq-text">“{{{text|{{{1|}}}}}}”</div>
   <div class="gq-bar" aria-hidden="true"></div>
  {{#if:{{{author|{{{2|}}}}}}|
  <div class="gq-body">
     <div class="gq-meta">— {{{author|{{{2|}}}}}}{{#if:{{{source|}}|<span class="gq-source"> · {{{source}}}</span>|}}</div>
    <div class="gq-text">“{{{text|{{{1|}}}}}}”</div>
  |}}
     <div class="gq-meta">— {{{author|{{{2|}}}}}}</div>
  </div>
</div>
</div>

Latest revision as of 02:34, 25 August 2025

“”