Difference between revisions of "User talk:Darkid"

From Team Fortress Wiki
Jump to: navigation, search
m
Line 281: Line 281:
 
You know you can poot dis work to WindBOT if you want. '''<span style="font-family:Georgia;font-size:83%;">—[[File:User Moussekateer signature sprite.png|31px|link=User:Moussekateer]][[User:Moussekateer|<span style="color:black">Moussekateer</span>]]·[[User talk:Moussekateer|<span style="color:black;font-size:82%;">talk</span>]]</span>''' 16:26, 5 May 2013 (PDT)
 
You know you can poot dis work to WindBOT if you want. '''<span style="font-family:Georgia;font-size:83%;">—[[File:User Moussekateer signature sprite.png|31px|link=User:Moussekateer]][[User:Moussekateer|<span style="color:black">Moussekateer</span>]]·[[User talk:Moussekateer|<span style="color:black;font-size:82%;">talk</span>]]</span>''' 16:26, 5 May 2013 (PDT)
 
:ORLY. Tell me how :D [[User:Darkid|<span style="color:red">Darkid</span>]] ([[Image:Item icon Stately Steel Toe.png|21px|link=User_talk:Darkid|alt=talk]]|[[Image:Item icon Bronze Dueling Badge.png|21px|link=Special:Contributions/Darkid|alt=contribs]]) 16:47, 5 May 2013 (PDT)
 
:ORLY. Tell me how :D [[User:Darkid|<span style="color:red">Darkid</span>]] ([[Image:Item icon Stately Steel Toe.png|21px|link=User_talk:Darkid|alt=talk]]|[[Image:Item icon Bronze Dueling Badge.png|21px|link=Special:Contributions/Darkid|alt=contribs]]) 16:47, 5 May 2013 (PDT)
 +
::You could edit [[User:WindBOT/Filters#Template renaming|this filter]] and and all the language variations for each template....or you could write a filter like dis (but I would check with Wind in case there's a better way):
 +
 +
def langsTemplateRenameMapping(t, **kwargs):
 +
    templateMap = {
 +
        'Pyro Nav': 'pyro nav/[\w]+'
 +
    }
 +
    for n in templateMap:
 +
        langTemplateRe = compileRegex(templateMap[n])
 +
        if langTemplateRe.match(t.getName().lower()):
 +
            t.setName(n)
 +
    return t
 +
addTemplateFilter(langsTemplateRenameMapping)
 +
'''<span style="font-family:Georgia;font-size:83%;">—[[File:User Moussekateer signature sprite.png|31px|link=User:Moussekateer]][[User:Moussekateer|<span style="color:black">Moussekateer</span>]]·[[User talk:Moussekateer|<span style="color:black;font-size:82%;">talk</span>]]</span>''' 17:10, 5 May 2013 (PDT)

Revision as of 00:11, 6 May 2013

Nothinghere.png
Add me!
Add me!
If you need help with templates, those I've written or not, please do not hesitate to send me an email, add me on steam, or leave me a message on this wiki.