Forum:Wikipedia template

ShoutWiki — express yourself and be heard!
Jump to navigation Jump to search

Forums: Index Community help

I want to use Wikipedia's family tree template on my own wiki, but I know absolutely nothing about it. wikipedia:Template:Chart Could someone explain to me how I could get it on my wiki? --Drakizora (talk) 20:44, 26 January 2017 (UTC)

Wikipedia (and most Wikimedia) templates are rather convoluted. Usually the best way to import one is to look at its history and use the last one that didn't use Lua. Even so, Template:Chart uses a lot of sub-templates (Chart/start, Chart/end/, Chart/box, and many Chart/cell*, where * is a wildcard). I didn't look to see if those sub-templates had other dependencies. Whether you use a modularized template (i.e., one that uses Lua) or one that's a collection of parser functions, you can simply copy/paste them into your Template: space. You should also consider writing your own. At least you'll understand how that one works. --Saftzie (talk) 15:59, 27 January 2017 (UTC)