Thread:Semantic-mediawiki.org:Community portal/Template and link=none

I have a small problem with

my output is ( http://kubbwiki.de/index.php/Kategorie:Kubbwiki_Champions ) Teamname            Nation    Points 1. Gipfelstürmer#_rang Flagpicture 60 Points 2. RZKKC#_rang        Flagpicture 51 Points 3. Oepfelbaum#_rang   Flagpicture 50 Points ....

Question: How i can cut #_rang ? I need only the Frontname like Gipfelstürmer, RZKKC.

I can't change |link=none Option, because I create the flagname, portalname with the data. Although I change this command, then correct the first Teamname as Link without #_rang, but I can not create correct flagname etc.

Does anyone have a tip for me?

Thanks Bastor