Difference between revisions of "Testpage"

From Theonomy Wiki
(Created page with "{{:Contactusname/{{:UIlang}}}} ")
 
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{:Contactusname/{{:UIlang}}}}
+
{{#vardefine:pglang|{{#urlget:lang|{{:UIlang}}}}}}
 +
<div class="scrbody col4">{{#loop:vsnum | {{{start|1}}} | {{{1|31}}}
 +
|<div class="scrverse"> [{{fullurl: Category:{{{1|Genesis 2}}}:{{#var:vsnum}} |ver={{{ver|}}}&lang={{{lang|{{#var:pglang}}}}}}} {{#scripture:{{{1|Genesis 2}}}:{{#var:vsnum}}}}]</div>
 +
 
 +
Old: {{:Versetree|{{{1|Genesis 2}}}:{{#var:vsnum}}|noinput=1}}
 +
 
 +
New: (from {{{1|Genesis 2}}}:{{#var:vsnum}}) {{#vardefine:annotations|0}}{{#dpl:
 +
|category = {{{1|Genesis 2}}}:{{#var:vsnum}}
 +
|ordermethod=sortkey
 +
|includesubpages=true
 +
|cacheperiod=10
 +
|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>[[%PAGE%|²{#ifeq: {{#var:pglang}}|en|%TITLE%|²{#getdisplaytitle:%PAGE%/{{#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=3
 +
}}
 +
 
 +
{{#dpl:
 +
|category = Note
 +
|category = {{{1|Genesis 2}}}:{{#var:vsnum}}
 +
|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>[[%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 = 3
 +
}}
 +
 
 +
}}
 +
</div>
 +
 
 +
pglang: {{#var:pglang}}
 +
 
 +
<graph mode=interactive>
 +
 
 +
{
 +
  // We want to use Vega 2, and specify image size
 +
  "version": 2, "width": 300, "height": 80,
 +
  // Set padding to the same value on all sides
 +
  "padding": 12,
 +
  // By default the background is transparent
 +
  "background": "#edf1f7",
 +
 
 +
  "signals": [
 +
    {
 +
      "name": "isDragging",
 +
      "init": false,
 +
      "streams": [
 +
        {"type": "@handle:mousedown","expr": "true"},
 +
        {"type": "mouseup","expr": "false"}
 +
      ]
 +
    },
 +
  ],
 +
 
 +
  "marks": [
 +
    {
 +
      // Draw a horizontal line
 +
      "name": "scrollLine",
 +
      "type": "rule",
 +
      "properties": {
 +
        "enter": {
 +
          "x": {"value": 0},
 +
          "y": {"value": 40},
 +
          "x2": {"value": 300},
 +
          "stroke": {"value": "#000"},
 +
          "strokeWidth": {"value": 2}
 +
        }
 +
      }
 +
    },
 +
    {
 +
      // Draw a triangle shape with a hover effect
 +
      // naming objects allows us to reference them later
 +
      "name": "handle",
 +
      "type": "path",
 +
      "properties": {
 +
        "enter": {
 +
          "x": {"value": 200},
 +
          "y": {"value": 40},
 +
          // path syntax is the same as SVG's path tag
 +
          "path": {"value": "m-5.5,-10l0,20l11.5,-10l-11.5,-10z"},
 +
          "stroke": {"value": "#880"},
 +
          "strokeWidth": {"value": 2.5}
 +
        },
 +
        "update": {"fill": {"value": "#fff"} },
 +
        // Change fill color of the object on mouse hover
 +
        "hover": {"fill": {"value": "#f00"} }
 +
      }
 +
    },
 +
    {
 +
      "name": "debugIsDragging",
 +
      "type": "text",
 +
      "properties": {
 +
        "enter": {
 +
          "x": {"value": 250},
 +
          "y": {"value": 0},
 +
          "fill": {"value": "black"}
 +
        },
 +
        "update": {"text": {"signal": "isDragging"} }
 +
      }
 +
    }
 +
  ]
 +
}
 +
 
 +
</graph>
 +
 
 +
[[Category:Pages using DynamicPageList parser function]]
 +
[[Category:Pages with graphs]]

Latest revision as of 19:39, 17 September 2020

Old:
New: (from Genesis 2:1)
Old:
Law/Command Analysis

New: (from Genesis 2:2)
Old:
New: (from Genesis 2:3)
Old:
New: (from Genesis 2:4)
Old:
New: (from Genesis 2:5)
Old:
New: (from Genesis 2:6)
Old:
New: (from Genesis 2:7)
Old:
New: (from Genesis 2:8)
Old:
New: (from Genesis 2:9)
Old:
New: (from Genesis 2:10)
Old:
New: (from Genesis 2:11)
Old:
New: (from Genesis 2:12)
Old:
New: (from Genesis 2:13)
Old:
New: (from Genesis 2:14)
Old:
New: (from Genesis 2:15)
Old:
Law/Command Analysis

New: (from Genesis 2:16)
Law/Command Analysis
Old:
New: (from Genesis 2:17)
Old:
New: (from Genesis 2:18)
Old:
Law/Command Analysis

New: (from Genesis 2:19)
Old:
Law/Command Analysis

New: (from Genesis 2:20)
Old:
New: (from Genesis 2:21)
Old:
New: (from Genesis 2:22)
Old:
New: (from Genesis 2:23)
Old:
New: (from Genesis 2:24)
Old:
New: (from Genesis 2:25)
Old:
New: (from Genesis 2:26)
Old:
New: (from Genesis 2:27)
Old:
New: (from Genesis 2:28)
Old:
New: (from Genesis 2:29)
Old:
New: (from Genesis 2:30)
Old:
New: (from Genesis 2:31)

pglang: en