Last modified: 2014-03-24 20:53:44 UTC
In the infobox template for a region, inserting a ref in this variable: |area_rank = 212th<ref>Including [[Rose Atoll]] and [[Swains Island]]</ref> Generates this preview output in the infobox: (212thUNIQ92fb9323ed1577ec-nowiki-00000009-QINU1UNIQ92fb9323ed1577ec-nowiki-0000000A-QINU) With 212th linked as expected, and the UNIQ...QINU string linked to "#cite_note-1" as expected. Tested on w:en:American_Samoa.
Template:Infobox country contains: {{#if:{{{area_rank|}}} | ([[List of countries and dependencies by area|{{{area_rank}}}]]) }} So this looks like bug 25417. You can bypass this by adding a new parameter maybe named area_rank_ref and add it behind the wikilink, if set.