Jump to content

Template:Scripture quote: Difference between revisions

From Grigoripedia
Created page with "<templatestyles src="Scripture quote/styles.css" /> <div class="gp-scripture-quote gp-scripture-quote-{{{type|prose}}}"> <div class="gp-scripture-mark" aria-hidden="true">❝</div> <div class="gp-scripture-content"> {{#ifeq:{{{type|prose}}}|verse |<poem>{{{text|}}}</poem> |{{{text|}}} }} </div> {{#if:{{{source|}}} |<div class="gp-scripture-source">— {{{source}}}</div> }} </div> <noinclude> == Usage == Use {{tl|Scripture quote}} to di..."
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Scripture quote/styles.css" />
<templatestyles src="Scripture quote/styles.css" /><div class="gp-scripture-quote gp-scripture-quote-{{{type|prose}}}"><div class="gp-scripture-mark" aria-hidden="true">❝</div><div class="gp-scripture-content">{{#ifeq:{{{type|prose}}}|verse|<poem>{{{text|}}}</poem>|{{{text|}}}}}</div>{{#if:{{{source|}}}|<div class="gp-scripture-source">— {{{source}}}</div>}}</div><noinclude><noinclude>
 
<div class="gp-scripture-quote gp-scripture-quote-{{{type|prose}}}">
  <div class="gp-scripture-mark" aria-hidden="true">❝</div>
  <div class="gp-scripture-content">
    {{#ifeq:{{{type|prose}}}|verse
      |<poem>{{{text|}}}</poem>
      |{{{text|}}}
    }}
  </div>
  {{#if:{{{source|}}}
    |<div class="gp-scripture-source">— {{{source}}}</div>
  }}
</div>
 
<noinclude>
== Usage ==
== Usage ==
Use {{tl|Scripture quote}} to display a properly formatted quote/verse from Satano-Grigorist scripture or other religious texts.
Use {{tl|Scripture quote}} to display a properly formatted quote/verse from Satano-Grigorist scripture or other religious texts.
Line 68: Line 53:
== Template type ==
== Template type ==
This template is a:
This template is a:
:✏️ Utility template
:✒️ Text formatting template


[[Category:Utility templates]]
[[Category:Text formatting templates]]
</noinclude>
</noinclude>

Latest revision as of 08:57, 24 July 2026

Usage

Use {{Scripture quote}} to display a properly formatted quote/verse from Satano-Grigorist scripture or other religious texts.

This template can be used for both prose and poetic verse. For regular prose passages, leave out the |type parameter entirely. For verse, poetry, hymns, or similar, set |type=verse.

Basic prose quote

{{Scripture quote
|text=Quoted scripture text goes here.
|source=''The Lion and the Lamb''
}}

Verse quote

{{Scripture quote
|type=verse
|text=
First line of the verse
Second line of the verse
Third line of the verse
|source=''Second Hymn to Asbe'el''
}}

Quote with citation

{{Scripture quote
|text=Quoted scripture text goes here.
|source=''The Lion and the Lamb''<ref>''The Lion and the Lamb'', chapter or section.</ref>
}}

Parameters

|text
The actual text of the quote. Always required.
|source
The title of the source, displayed beneath the quote. Optional parameter.
|type
The type of quote. Use |type=verse for verse, hymns, poetry, etc. If omitted, the quote is treated as prose.

Notes

Do not use |type=verse unless preserving the original line-breaks is necessary and desired. The verse type preserves line-breaks using poem formatting.

If the quoted text contains a vertical bar character, use {{!}} in place of the bar so the template does not misread it as a parameter divider.

Categories added

None

Template type

This template is a:

✒️ Text formatting template