Template: Arguments: Difference between revisions

From Psalms: Layer by Layer
Jump to: navigation, search
No edit summary
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 2: Line 2:


This is the template for the Arguments pages, that link arguments to arguments.
This is the template for the Arguments pages, that link arguments to arguments.
{{Arguments | Psalm 1/Arguments }}


</noinclude><includeonly>{{#vardefine: psalm | {{#titleparts: {{{1|{{FULLPAGENAME}} }}} |1|1}}  
</noinclude><includeonly>{{#vardefine: psalm | {{#titleparts: {{{1|{{FULLPAGENAME}} }}} |1|1}}  
}}{{#vardefine: chapter | {{#show: {{#var: psalm}} |? Chapter}} }}
}}{{#vardefine: chapter | {{#show: {{#var: psalm}} |? Chapter}} }}{{#vardefine: verse | {{#titleparts: {{FULLPAGENAME}} |1|2}}
= Arguments for {{#var: psalm}} =
}}{{#ifexpr: {{#var: verse}}>0
    |<!-- good: have a verse -->{{#vardefine: verse text|, v. {{#var: verse}} }}
    |<!-- no specified verse; use all -->{{#vardefine: verse|*}}
}}
= Arguments for {{#var: psalm}}{{#var: verse text}} =


<!-- cycle through all arguments
<!-- cycle through all arguments
Line 13: Line 15:
       {{#ask: [[Category:Argument]]
       {{#ask: [[Category:Argument]]
               [[Chapter::{{#var: chapter}}]]
               [[Chapter::{{#var: chapter}}]]
              [[Verse::{{#var: verse}}]]
                 |link=none
                 |link=none
                 |sort=Verse
                 |sort=Verse
Line 25: Line 28:
                 |link=none
                 |link=none
                 |sort=Verse
                 |sort=Verse
                |limit=200
                |searchlabel=
             }}
             }}
         |,   
         |,   
Line 31: Line 36:
             |<!-- nothing to report -->
             |<!-- nothing to report -->
             |<!-- the argument value will be, e.g. 'Strongly confirms', followed by the argument confirmed/refuted
             |<!-- the argument value will be, e.g. 'Strongly confirms', followed by the argument confirmed/refuted
               -->{{{@argument.@subargument}}} [[@subargument]]<br/>
               -->{{{@argument.@subargument}}} [[@subargument| {{#show: @subargument |? Description}} ]]<br/>
{{#subobject:  
{{#subobject:  
     |Belongs to category=Argument Support
     |Belongs to category=Argument Support
Line 45: Line 50:
-->{{#if: {{#var: argument evidence}}
-->{{#if: {{#var: argument evidence}}
       |<nowiki/>
       |<nowiki/>
== @argument ==  
== [[@argument| {{#show: @argument |? Description }}]] ==  
{{#var: argument evidence}}
{{#var: argument evidence}}
   }}
   }}

Latest revision as of 19:50, 9 November 2020


This is the template for the Arguments pages, that link arguments to arguments.