Have questions? Visit https://www.reddit.com/r/SNPedia

Template:Hg

From SNPedia

template:hg
haplogroup classifier template

notes:
 should only be called from pages following 'Haplogroup [X] ([Y/mt-]DNA)' PAGENAME convention
 chromosome information should probably just be grabbed from the PAGENAME, requiring stringfunctions

usage:
{{hg
|chromosome= [Y/MT]
|name= [the haplogroup name, ex. R1b1c]
|parent= [parent haplogroup, ex. R1b1c's parent group is R1b1, if not specified it will be assumed to be a root haplogroup]
|tree= [what common tree is the information derived from, currently does nothing]
|tree_build= [what tree build is the information derived from, currently does nothing]
}}

semantic properties and categories defined are currently structured as follows:
[[Is [Y/MT] haplogroup::{{{name}}}]]
[[Has [Y/MT] haplogroup parent::{{{parent}}}]]
[[Category::Haplogroup ([Y-/mt]DNA)]]