Difference between revisions of "Template:Bible verse"
DesignerThan (talk | contribs) |
DesignerThan (talk | contribs) |
||
Line 2: | Line 2: | ||
{{#vardefine: quote-style-css-class | {{#switch: {{{style}}} | note-folded = quote-note-paper | vintage = quote-vintage-paper | quote-note-paper}} }} | {{#vardefine: quote-style-css-class | {{#switch: {{{style}}} | note-folded = quote-note-paper | vintage = quote-vintage-paper | quote-note-paper}} }} | ||
{{#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-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 | | + | {{#vardefine: quote-variant | {{#switch: {{{variant}}} | tape-top = note-folded-tape-top | tape-around = note-folded-tape-around | note-folded-tape-top}} }} |
<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>}}<div><p><nowiki />{{{text}}}<br><span class="quote-footer">— <cite>{{{book}}} {{#if:{{{chapter|}}}|{{{chapter}}}:}}{{{verse}}} {{#if:{{{version|}}}|({{{version}}})}}</cite></span></p></div>{{#ifeq: {{#var: quote-variant}} |note-folded-tape-around|<div class="quote-note-tape-section"></div>}} | <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>}}<div><p><nowiki />{{{text}}}<br><span class="quote-footer">— <cite>{{{book}}} {{#if:{{{chapter|}}}|{{{chapter}}}:}}{{{verse}}} {{#if:{{{version|}}}|({{{version}}})}}</cite></span></p></div>{{#ifeq: {{#var: quote-variant}} |note-folded-tape-around|<div class="quote-note-tape-section"></div>}} | ||
</blockquote> | </blockquote> | ||
Line 9: | Line 9: | ||
<nowiki>{{</nowiki>Bible verse | <nowiki>{{</nowiki>Bible verse | ||
| style = note-folded (default) / vintage | | style = note-folded (default) / vintage | ||
− | | variant = tape-top / tape-around | + | | variant = tape-top (default) / tape-around |
| color = primary (default) / secondary / accent (only for variant = note-folded) | | color = primary (default) / secondary / accent (only for variant = note-folded) | ||
| book = | | book = | ||
Line 47: | Line 47: | ||
}}<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 |
Revision as of 02:33, 26 February 2021
Use:
{{Bible verse | style = note-folded (default) / vintage | variant = tape-top (default) / tape-around | color = primary (default) / secondary / accent (only for 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.
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.
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.
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.
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.