Difference between revisions of "Versetree"

From Theonomy Wiki
 
(47 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#dpl:
+
{{#vardefine:annotations|0}}{{#vardefine:pglang|{{#urlget:lang|{{:UIlang}}}}}}{{#dpl:
|titlematch={{{1|ZZZ}}}-%
+
|titlematch={{{1|Genesis 1:28}}}-%
|title={{{1|ZZZ}}}
+
|title={{{1|Genesis 1:28}}}
 
|ordermethod=sortkey
 
|ordermethod=sortkey
|format = <div style="border:1px white solid;padding-left:0.5em;z-index:3;"><em>Law/command analysis</em><br/><ul class="lilaw">,<li>[[%PAGE%]],</li>,</ul></div>
+
|cacheperiod=10
|noresultsheader=<div style="border-bottom:1px white solid;margin-top:-1px;margin-bottom:4px;padding-bottom:0.5em;height:0px;z-index:4"></div>
+
|includesubpages=true
 +
|format = ²{#ifeq: ²{#var:annotations}²¦1¦¦<hr>}²²{#vardefine:annotations¦1}²<div style="border:0px white solid;padding-left:0.5em;padding-top:0.2em;padding-bottom:0.2em;z-index:3;margin-bottom:5px;"><em>{{:Lawcommandanalysisname/{{#var:pglang}}}}</em><br/><ul class="lilaw">,<li>[[Special:MyLanguage/%PAGE%|²{:Transname¦%TITLE%¦lang={{#var:pglang}}}²]],</li>,</ul></div>
 +
|noresultsheader=<div style="border-bottom:0px white solid;margin-top:-1px;margin-bottom:4px;padding-bottom:0.5em;height:0px;z-index:4"></div>
 
|debug=1
 
|debug=1
}}{{#dpl:
+
}}{{#if:{{{noinput|}}}||{{#ifright:edit|{{#tag:inputbox|
 +
type=create
 +
width=25
 +
inline=true
 +
break=no
 +
buttonlabel=⚖️ {{:Addlawanalysisname/{{#var:pglang}}}}
 +
default={{PAGENAME}}
 +
preload=PassageTemplate
 +
preloadparams[]={{FULLPAGENAME}}
 +
preloadparams[]=Category:Law_Analysis
 +
}}}}}}{{#dpl:
 
|category = Note
 
|category = Note
 +
|category = {{{1|Genesis 1:28}}}
 +
|titleregexp=[^\/][^\/]..$
 +
|includesubpages=true
 +
|cacheperiod=10
 +
|format   = ²{#ifeq: ²{#var:annotations}²¦1¦¦<hr>}²²{#vardefine:annotations¦1}²<div style="border:0px white solid;padding-left:0.5em;margin-bottom:4px;padding-top:0.2em;padding-bottom:0.2em;margin-top:-6px;border-top: 1px black solid;z-index:4;"><em>{{:Notesname/{{#var:pglang}}}}</em><br/><ul class="linote">,<li>[[Special:MyLanguage/%PAGE%|²{#ifeq: {{#var:pglang}}|en|%TITLE%|²{#getdisplaytitle:%PAGE%/{{#var:pglang}}}²}²]],</li>,</ul></div>
 +
|noresultsheader=<div class="invisibleborder" style="border-top:2px black solid;height:1px;z-index:5;margin-top:-5px;margin-bottom:0.5em;"></div>
 +
|debug = 1
 +
}}{{#if:{{{noinput|}}}||{{#ifright:edit|{{#tag:inputbox|
 +
type=create
 +
inline=true
 +
width=25
 +
break=no
 +
buttonlabel=🗒️ {{:CreateNotename/{{#var:pglang}}}}
 +
default=
 +
placeholder=Enter note name here
 +
preload=NoteTemplate
 +
preloadparams[]={{FULLPAGENAME}}
 +
preloadparams[]=Category:Note
 +
}}}}}}{{#dpl:
 +
|category = Answered_Questions
 
|category = {{{1|Topic}}}
 
|category = {{{1|Topic}}}
|format   = <div style="border:1px white solid;padding-left:0.5em;margin-bottom:4px;padding-bottom:0.5em;margin-top:-1px;border-top: 1px black solid;z-index:4;"><em>Notes</em><br/><ul class="linote">,<li>[[%PAGE%]],</li>,</ul></div>
+
|titleregexp=[^\/][^\/]..$
|noresultsheader=<div style="border-top:2px black solid;height:1px;z-index:5;margin-top:-5px;"></div>
+
|includesubpages=true
 +
|cacheperiod=10
 +
|format   = ²{#ifeq: ²{#var:annotations}²¦1¦¦<hr>}²²{#vardefine:annotations¦1}²<div style="border:0px white solid;padding-left:0.5em;margin-bottom:4px;padding-top:0.2em;padding-bottom:0.2em;margin-top:-6px;border-top: 1px black solid;z-index:4;"><em>{{:Questionsname/{{#var:pglang}}}}</em><br/><ul class="liqa">,<li>[[Special:MyLanguage/%PAGE%|²{#ifeq: {{#var:pglang}}|en|%TITLE%|²{#getdisplaytitle:%PAGE%/{{#var:pglang}}}²}²]],</li>,</ul></div>
 +
|noresultsheader=<div class="invisibleborder" style="border-top:2px black solid;height:1px;z-index:5;margin-top:-5px;margin-bottom:0.5em;"></div>
 
|debug = 1
 
|debug = 1
}}
+
}}{{#ifeq: {{#var:annotations}}|1|<hr>|}}{{#vardefine:annotations|0}}
  
 
[[Category:Pages using DynamicPageList parser function]]
 
[[Category:Pages using DynamicPageList parser function]]

Latest revision as of 13:53, 18 September 2020