Familypedia
Advertisement
Forums: Index > Watercooler > International migration


The new template {{roots}} creates a record of the country of birth of self and all ancestors. It puts this on subpage /roots. See Nicolaas Simon Korver (1856-1922)/roots. If people are content with this, it could move to the sensor page. However, if we want to display information on villages etc; or an ancestry share per country (NS Korver is 75% Dutch and 25% German), we need to keep a separate page for reasons of size and performance.

I noted that people manually categorize "Migrants from A to B". With SMW, this can be automated:

{{#ifeq: {{getfact|birth nation}} | {{getfact|death nation}} | | [[Category:Migrants from {{getfact|birth nation}} to {{getfact|death nation}}]] }}


I noted that people manually categorize "Ancestry from A". This can be automated too.

Let me know if this is worth my while; and whether other things can be simplified. rtol 08:43, August 19, 2010 (UTC)

Yes! I would love to see this automated. Lanica 17:58, August 20, 2010 (UTC)
Migrants from A to B is easy. See {{CatMigration}} and Migrants from Germany to Netherlands.
"Ancestry from" is easy with properties, very hard with categories. Unless people protest, I'll go with properties. rtol 15:23, August 22, 2010 (UTC)

The template is now {{Migration}} and it is part of {{showfacts biography}}. A number of you are testing. Please report back if strange things happen. rtol 21:59, August 23, 2010 (UTC)

The templates now also pick up the nation from the locality. rtol 20:21, August 24, 2010 (UTC)

Demo: Ancestry from Byzantium

{{#ask: [[Ancestry::Byzantium]]|?father|?mother|?ancestry}} returns

Advertisement