Vorlage:StammbaumGraphPerson: Unterschied zwischen den Versionen

Aus GaretienWiki
Zur Navigation springen Zur Suche springen
VolkoV (D | B)
Keine Bearbeitungszusammenfassung
VolkoV (D | B)
K (Textersetzung - „|?#“ durch „|?#-“)
 
(21 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly>     {
<includeonly> nodes.push({id: '{{#replace:{{{2}}}|'|\'}}', label: '{{#replace:{{BASEPAGENAME:{{{2}}}}}|'|\'}}'{{#ifeq:{{{5}}}|w|, color: 'red'|}}{{#ifeq:{{{5}}}|m|, color: 'blue'|}} });
        "adjacencies": [
edges.push({from: '{{#replace:{{{3}}}|'|\'}}', to: '{{#replace:{{{2}}}|'|\'}}', color: 'blue'});
            {
edges.push({from: '{{#replace:{{{4}}}|'|\'}}', to: '{{#replace:{{{2}}}|'|\'}}', color: 'red'});
              "nodeTo": "{{{3}}}",
{{#ask: <q>[[Traviabund mit::{{{2}}}]] OR [[Traviabund mit - Partner::{{{2}}}]]</q>
              "nodeFrom": "{{{2}}}",
|?#-
              "data": {
|?Traviabund mit - Partner#=
                "$color": "#7F7FFF"
|format=template
              }
|template=StammbaumGraphTraviabund
            }, {
}}
              "nodeTo": "{{{4}}}",
</includeonly><noinclude>
              "nodeFrom": "{{{2}}}",
              "data": {
                "$color": "#7FFF7F"
              }
            }
        ],
        "data": {
          "$color": "#FF0000",
          "$type": "circle",
          "$dim": 10
        },
        "id": "{{{2}}}",
        "name": "{{BASEPAGENAME:{{{2}}}}}"
      },</includeonly><noinclude>

Aktuelle Version vom 13. Februar 2020, 21:30 Uhr