Jump to content

User:Daduxing/familytree

From Wikipedia, the free encyclopedia

Documentation page for the User:Daduxing/familytree.js script, formally User:GregU/familytree.js, for Tree chart

// Wiki user script to help maintain {{familytree}}; {{chart}} or {{Tree chart}}
// boxes-and-lines diagrams, by allowing you to edit the diagram
// in a simpler and more standard ASCII art format.
// Greg Ubben, 1 Dec 2008
//
// To install, add:   importScript("User:Daduxing/familytree.js");
// to your common.js page.  This adds an option [Templates → Art]
// to the toolbox menu when editing familytrees.
// 
// It is a two pass operation.
// 1. Press [Templates → Art] -- the template code is changed into an intermediate
//                               format and the menu option changes to [Art → Templates]
// 2. Press [Art → Templates] --  converts the "Art" back in to cleaned up template code
//
//
// IE may work better than Firefox since it supports typeover mode.
//