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 | {{#switch: {{{variant}}} | tape-top = note-folded-tape-top | tape-around = note-folded-tape-around | | + | {{#vardefine: quote-variant | {{#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>}}<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 | + | | 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 for variant = note-folded) | ||
| book = | | book = |
Revision as of 02:34, 26 February 2021
Use:
{{Bible verse | style = note-folded (default) / vintage | 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) | 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.