Difference between revisions of "Template:Bible verse"

From Pathfinder Wiki
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--<templatestyles src="Bible verse/style.css" />--><div id="bible-verse-container" class="mw-parser-output">
+
<includeonly>
{{#vardefine: quote-style-css-class | {{#switch: {{{style}}} | note-folded = quote-note-paper | vintage = quote-vintage-paper | quote-note-paper}} }}
+
{{Paper Note | style = {{{style|vintage}}} | variant = {{{variant|}}} | color = {{{color|}}} | text = {{{text}}}<br><span class="quote-footer">{{#switch: {{GetLangSuffix}}|/es=--|}} <cite>{{{book}}} {{#if:{{{chapter|}}}|{{{chapter}}}:}}{{{verse}}} {{#if:{{{version|}}}|({{{version}}})}}</cite></span>}}</includeonly><noinclude>
{{#vardefine: quote-color-css-class | {{#switch: {{#var:quote-style-css-class}} | quote-note-paper = {{#switch: {{{color}}} | secondary = quote-note-col-secondary | accent = quote-note-col-accent | quote-note-col-primary }} | }} }}
 
{{#vardefine: quote-variant | {{#switch: {{#var:quote-style-css-class}} | quote-note-paper = {{#switch: {{{variant}}} | tape-top = note-folded-tape-top | tape-around = note-folded-tape-around | }} }} }}
 
<blockquote class="{{#var: quote-style-css-class}} {{#var: quote-color-css-class}}">{{#ifeq: {{#var: quote-variant}} |note-folded-tape-top|<div class="quote-note-tape-top"></div>}}{{#ifeq: {{#var: quote-variant}} |note-folded-tape-around|<div class="quote-note-tape-section"></div>}}<p><nowiki />{{{text}}}<br><span class="quote-footer">— <cite>{{{book}}} {{#if:{{{chapter|}}}|{{{chapter}}}:}}{{{verse}}} {{#if:{{{version|}}}|({{{version}}})}}</cite></span></p>{{#ifeq: {{#var: quote-variant}} |note-folded-tape-around|<div class="quote-note-tape-section"></div>}}
 
</blockquote>
 
</div></includeonly><noinclude>
 
 
Use:<br>
 
Use:<br>
 
  <nowiki>{{</nowiki>Bible verse
 
  <nowiki>{{</nowiki>Bible verse
  | style = note-folded (default) / vintage
+
  | style = note-folded / vintage (default)
  | variant = tape-top / tape-around (only for variant = note-folded, for no tape leave it empty)
+
  | variant = tape-top / tape-around (if empty or not present there will be no tape)
  | color = primary (default) / secondary / accent (only for variant = note-folded)
+
  | color = primary (default) / secondary / accent (only effects variant = note-folded)
 
  | book =  
 
  | book =  
 
  | chapter = (optional)
 
  | chapter = (optional)
Line 47: Line 42:
 
}}<br>{{Bible verse
 
}}<br>{{Bible verse
 
|style = vintage
 
|style = vintage
 +
|book = Matthew
 +
|chapter = 18
 +
|verse = 1-4
 +
|version = NIV
 +
|text = <sup>1</sup>At that time the disciples came to Jesus and asked, "Who is the greatest in the kingdom of heaven?"
 +
<sup>2</sup>He called a little child and had him stand among them. <sup>3</sup>And he said: "I tell you the truth, unless you change and become like little children, you will never enter the kingdom of heaven. <sup>4</sup>Therefore, whoever humbles himself like this child is the greatest in the kingdom of heaven.
 +
}}<br>{{Bible verse
 +
|style = vintage
 +
|variant = tape-around
 
|book = Matthew
 
|book = Matthew
 
|chapter = 18
 
|chapter = 18

Latest revision as of 23:56, 4 March 2021

Use:

{{Bible verse
| style = note-folded / vintage (default)
| variant = tape-top / tape-around (if empty or not present there will be no tape)
| color = primary (default) / secondary / accent (only effects variant = note-folded)
| book = 
| chapter = (optional)
| verse = 
| version = (optional)
| text =
}}

Example:


1At that time the disciples came to Jesus and asked, "Who is the greatest in the kingdom of heaven?" 2He called a little child and had him stand among them. 3And he said: "I tell you the truth, unless you change and become like little children, you will never enter the kingdom of heaven. 4Therefore, whoever humbles himself like this child is the greatest in the kingdom of heaven.
Matthew 18:1-4 (NIV)



1At that time the disciples came to Jesus and asked, "Who is the greatest in the kingdom of heaven?" 2He called a little child and had him stand among them. 3And he said: "I tell you the truth, unless you change and become like little children, you will never enter the kingdom of heaven. 4Therefore, whoever humbles himself like this child is the greatest in the kingdom of heaven.
Matthew 18:1-4 (NIV)



1At that time the disciples came to Jesus and asked, "Who is the greatest in the kingdom of heaven?" 2He called a little child and had him stand among them. 3And he said: "I tell you the truth, unless you change and become like little children, you will never enter the kingdom of heaven. 4Therefore, whoever humbles himself like this child is the greatest in the kingdom of heaven.
Matthew 18:1-4 (NIV)



1At that time the disciples came to Jesus and asked, "Who is the greatest in the kingdom of heaven?" 2He called a little child and had him stand among them. 3And he said: "I tell you the truth, unless you change and become like little children, you will never enter the kingdom of heaven. 4Therefore, whoever humbles himself like this child is the greatest in the kingdom of heaven.
Matthew 18:1-4 (NIV)



1At that time the disciples came to Jesus and asked, "Who is the greatest in the kingdom of heaven?" 2He called a little child and had him stand among them. 3And he said: "I tell you the truth, unless you change and become like little children, you will never enter the kingdom of heaven. 4Therefore, whoever humbles himself like this child is the greatest in the kingdom of heaven.
Matthew 18:1-4 (NIV)