Familypedia
Advertisement

|- | | align="right" | | align="right" | 0Some use of "" in your query was not closed by a matching "". | align="right" | 0 | align="right" | Expression error: Unrecognized word "span".

| align="right" | 4

[edit] [purge] Template documentation
Description

Produces line in the bottom table on Familypedia:Reports.

Syntax
Format it following one of these models:
{{Surname report entry|King}}
{{Surname report entry|Harrington| 50}}
Coding detail

|- | [[:Category:{{{1| }}} (surname)|{{{1| }}}]] | align="right" | {{{2| }}} | align="right" | {{#ask: [[Surname::{{ucfirst:{{{1| }}}}}]][[Category:Facts articles- person]]|format=count}} | align="right" | {{#ask: [[Category:{{{1| }}} (surname)]][[Category:Non-SMW people articles]]|format=count}} | align="right" | {{#expr:{{#ask: [[Category:{{{1| }}} (surname)]][[Category:Non-SMW people articles]]|format=count}}+{{#ask: [[Surname::{{ucfirst:{{{1| }}}}}]][[Category:Facts articles- person]]|format=count}}}} | align="right" | {{PAGESINCATEGORY:{{{1| }}} (surname)}}

The most accurate count is in the second-last column, headed "Total": {{#expr:{{#ask: [[Category:{{{1| }}} (surname)]][[Category:Non-SMW people articles]]|format=count}}+{{#ask: [[Surname::{{ucfirst:{{{1| }}}}}]][[Category:Facts articles- person]]|format=count}}}}

Combine that with a "Greater than" expression to see whether any other surnames have grown in numbers so as to qualify for listing.

Advertisement