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 „|?#-“)
 
(22 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'|}} });
      {
edges.push({from: '{{#replace:{{{3}}}|'|\'}}', to: '{{#replace:{{{2}}}|'|\'}}', color: 'blue'});
        "adjacencies": [
edges.push({from: '{{#replace:{{{4}}}|'|\'}}', to: '{{#replace:{{{2}}}|'|\'}}', color: 'red'});
            {
{{#ask: <q>[[Traviabund mit::{{{2}}}]] OR [[Traviabund mit - Partner::{{{2}}}]]</q>
              "nodeTo": "{{{3}}}",
|?#-
              "nodeFrom": "{{{2}}}",
|?Traviabund mit - Partner#=
              "data": {
|format=template
                "$color": "#7F7FFF"
|template=StammbaumGraphTraviabund
              }
}}
            }, {
              "nodeTo": "{{{4}}}",
              "nodeFrom": "{{{2}}}",
              "data": {
                "$color": "#7FFF7F"
              }
            }
        ],
        "data": {
          "$color": "#FF0000",
          "$type": "circle",
          "$dim": 10
        },
        "id": "{{{2}}}",
        "name": "{{BASEPAGENAME:{{{2}}}}}"
      },
</includeonly><noinclude>
</includeonly><noinclude>

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