Template:Psalm legend: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{| class="wikitable" align="right" width="auto" style="margin: 0 0 1em 0; border: 1px solid #ff99cc; padding: .5em .5em .5em .5em;background-color:#ddffdd" | {| class="wikitable" align="right" width="auto" style="margin: 0 0 1em 0; border: 1px solid #ff99cc; padding: .5em .5em .5em .5em;background-color:#ddffdd" | ||
|'''[[Psalm| P S A L M S]]''' — <!-- | |'''[[Psalm| P S A L M S]]''' — <!-- | ||
-->{{#ifexpr:{{{1}}}>140|{{#ifexpr:{{{1}}}=130+0|<u>[[Psalm {{{1}}}|{{{1}}}]]</u>|[[Psalm {{#expr:130+0}}|{{#expr:130+0}}]]}}<!-- | |||
-->|{{#ifexpr: | |||
|- | |- | ||
|} | |} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
==Explanation== | ==Explanation== | ||
This template shows links to the twenty-one Psalms centered around the Psalm page on which it appears; or the first or last twenty-one, if the Psalm is near the beginning or end. | This template shows links to the twenty-one Psalms centered around the [[Psalm]] page on which it appears; or the first or last twenty-one, if the Psalm is near the beginning or end. | ||
'''Syntax:''' <tt><nowiki>{{Psalm legend|N1|N2|N3}}</nowiki></tt>, where | '''Syntax:''' <tt><nowiki>{{Psalm legend|N1|N2|N3}}</nowiki></tt>, where |
Latest revision as of 00:39, 20 March 2017
Explanation
This template shows links to the twenty-one Psalms centered around the Psalm page on which it appears; or the first or last twenty-one, if the Psalm is near the beginning or end.
Syntax: {{Psalm legend|N1|N2|N3}}, where
- N1 = This psalm number
- N2 = The smaller of (N1+20,150)
- N3 = The larger of (N1-20,1)
Examples:
P S A L M S — 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
- {{Psalm legend|121|141|101}} – for Psalm 121
P S A L M S — 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
- {{Psalm legend|3|23|1}} – for Psalm 3
P S A L M S — 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
- {{Psalm legend|142|150|122}} – for Psalm 142