Difference between revisions of "Template talk:Vndl"

From The Urban Dead Wiki
Jump to navigationJump to search
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Usage==
This template makes a sysop's life at vandal banning easier. For example, if you wanted to report {{usr|Example User}}, you could type <code><nowiki>{{vndl|Example User}}</nowiki></code>.
'''It would produce:'''
{{vndl|Example User}}
==Yay==
==Yay==
The wonderfull person who made this glorious template is, well, wonderfull. {{User:CaptainM/sig}} 06:51, 24 September 2006 (BST)
The wonderfull person who made this glorious template is, well, wonderfull. {{User:CaptainM/sig}} 06:51, 24 September 2006 (BST)
Line 24: Line 31:
::::::If we could somehow automate Yon's User contribs thing-a-ma-jig, it would be nice. {{User:Vapor/sig}} 20:36, 9 January 2011 (UTC)
::::::If we could somehow automate Yon's User contribs thing-a-ma-jig, it would be nice. {{User:Vapor/sig}} 20:36, 9 January 2011 (UTC)
:::::::UDwiki namespace and Misconduct would be good, but we can't automate contribs. They do it on wikipedia, but it's an external thing, and I don't think we could manipulate it without somebody who reads code.--{{User:Yonnua Koponen/signature‎}} 20:42, 9 January 2011 (UTC)
:::::::UDwiki namespace and Misconduct would be good, but we can't automate contribs. They do it on wikipedia, but it's an external thing, and I don't think we could manipulate it without somebody who reads code.--{{User:Yonnua Koponen/signature‎}} 20:42, 9 January 2011 (UTC)
::::::::[http://toolserver.org/~soxred93/pcount/index.php?name=Koponen&lang=en&wiki=wikipedia  This] is the wikipedia tool to which I was referring, if anybody's interested.--{{User:Yonnua Koponen/signature‎}} 20:47, 9 January 2011 (UTC)
:::::::::Interesting. I think we can do without a breakdown, then. It looks like if we want contribs to UDWiki namespace then it will have to be an external link? Anyone care? Will make it stealthy. {{User:Vapor/sig}} 20:50, 9 January 2011 (UTC)
::::::::::Make it stealth and nobody will notice.--{{User:Yonnua Koponen/signature‎}} 21:04, 9 January 2011 (UTC)
:::::::::::I approve of this messages. {{User:Misanthropy/Sig}} 21:30, 9 January 2011 (UTC)
:::::Is [[UDWiki:Administration/Misconduct/Archive|this]] the best place to link to Misconduct? {{User:Vapor/sig}} 21:35, 9 January 2011 (UTC)
::::::Do the individuals, e.g. [[UDWiki:Administration/Misconduct/Archive/Grim_s|Grims]]. (Have a {{{1}}} instead of the name, obviously).--{{User:Yonnua Koponen/signature‎}} 21:37, 9 January 2011 (UTC)
:::::::Right, that's what I had in mind. It doesn't make sense to have misconduct on a/pm though so I'll do 2 templates, i suppose. {{User:Vapor/sig}} 21:40, 9 January 2011 (UTC)
::::::::Could we do a switch on one? So that if you type <nowiki>{{TEMPLATE|NAME|PM}}</nowiki> you get the PM one, and if you type <nowiki>{{TEMPLATE|NAME|RE}}</nowiki> you get the RE one?--{{User:Yonnua Koponen/signature‎}} 21:49, 9 January 2011 (UTC)
:::::::::I'd need someone like Aichon to verify it but I think you can use If templates to spit out two versions based on the pagename. {{User:Misanthropy/Sig}} 22:02, 9 January 2011 (UTC)
::::::::::If templates would be better. {{User:Vapor/sig}} 22:10, 9 January 2011 (UTC)
:::::::::::I tried {{tl|switch}} and {{tl|if equal}}. Too many pipes in the code messes up both methods I think. [[User:Vapor/sandbox/sandbox3]] is where I've been doing the coding if someone wants to take a looky look. I'll come back to it later, otherwise. {{User:Vapor/sig}} 23:13, 9 January 2011 (UTC)
Alright, between taking turns with the baby, snow shoveling (yes snow shoveling in Texas) and other various mundane tasks, {{tl|bid}} is ready. Cheers. {{User:Vapor/sig}} 02:50, 10 January 2011 (UTC)
== The Code and Its Size ==
{{Codeinline|1=<nowiki><includeonly><span class="plainlinks" style="font-size:8pt">'''[[User:{{{1}}}|{{{1}}}]]''' ([[User talk:{{{1}}}|talk]] | [[Special:Contributions/{{{1}}}|contribs]] | [{{fullurl:Special:Log|user={{urlencode:{{{1}}}}}}} logs1] | [{{fullurl:Special:Log|page=User:{{urlencode:{{{1}}}}}}} logs2] | [[Special:Blockip/{{{1}}}|block]] | [{{fullurl:Special:CheckUser|user={{urlencode:{{{1}}}}}}} IP Check] | [[UDWiki:Administration/Vandal Data#User:{{{1}}}|vndl data]] | [[{{TALKPAGENAME}}#User:{{{1}}}|discuss]])</span></includeonly><noinclude></nowiki>}}
Should probably become
{{Codeinline|1=<nowiki><small>'''[[User:{{{1}}}|{{{1}}}]]''' ([[User talk:{{{1}}}|talk]] | [[Special:Contributions/{{{1}}}|contribs]] | [{{fullurl:Special:Log|user={{urlencode:{{{1}}}}}}} logs] | [[Special:Blockip/{{{1}}}|block]] | [{{fullurl:Special:CheckUser|user={{urlencode:{{{1}}}}}}} IP Check] | [[UDWiki:Administration/Vandal Data#User:{{{1}}}|vndl data]] | [[{{TALKPAGENAME}}#User:{{{1}}}|discuss]])</small></nowiki>}}
In addition all usage notes should be moved to this page and all inclusion limiters removed sans the Category's limiters. Limited inclusion content still adds to page inclusion size. Needless style gets in the way of function in this case and there's absolutely no reason why A/VB needs specific page logs of the users userpage unless I'm missing something there. --<small>[[User:Karek#K|Karek]]<sup><font face="Monotype Corsiva">[[User:Karek/ProjDev/OmegaMap|maps?!]]</font></sup></small> 02:26, 15 April 2011 (BST)
:All of the above would take about a third, if not more, of the code out of the template's inclusion size and page text. --<small>[[User:Karek#K|Karek]]<sup><font face="Monotype Corsiva">[[User:Karek/ProjDev/OmegaMap|maps?!]]</font></sup></small> 02:26, 15 April 2011 (BST)

Latest revision as of 05:05, 15 April 2011

Usage

This template makes a sysop's life at vandal banning easier. For example, if you wanted to report Example User, you could type {{vndl|Example User}}.

It would produce:

Example User (talk | contribs | logs | block | IP Check | vndl data | discuss)

Yay

The wonderfull person who made this glorious template is, well, wonderfull. --CaptainM 06:51, 24 September 2006 (BST)

Well, I think I can take credit for the idea, but I had a bunch of help.--Gage 06:55, 24 September 2006 (BST)
You could always have just stolen Uncyclopedia's versionn of it and worked with that. Theirs is pretty complete. Or perhaps Wikipedia's version, but they have about seven variations of the same template more often than not. –Xoid STFU! 09:37, 24 September 2006 (BST)
Actually this is taken mostly from wikipedia, albeit I added the second log + CheckUser. --Brizth M T 00:17, 26 September 2006 (BST)

Pointer to the talk page

This is probably better off being included in {{V}}, because {{Vndl}} is included on pages not in the UDWiki namespace -- boxy talkteh rulz 02:32 20 July 2009 (BST)

I'm going to replace the code I've added with just {{TALKPAGENAME}} - which should remove the ugly red link on non-UDWiki namespace pages. Linkthewindow  Talk  02:33, 20 July 2009 (BST)
lol, beatya :p -- boxy talkteh rulz 02:34 20 July 2009 (BST)

'discuss' error

Anyone notice that the "discuss" button may take out the User: in the header from the main page, taking it from the ===User:XXX=== heading in the main page to the #XXX heading in the talk page instead of the #User:XXX heading on the talk? Or am I just tired and fail? -- LEMON #1 16:10, 16 November 2010 (UTC)

I'm so fucking awesome that I was too dumb to realise it may have been the template code. I thought it was some sort of redirect wiki bug. fixed, carry on. -- LEMON #1 16:13, 16 November 2010 (UTC)

Use on A/PM and A/RE

Why is it that this template is used on A/PM and A/RE bids? Is it just laziness? I mean yeah it does the trick, but why do we need vandal data and IP Check? If its one of those things where its just always been done and won't likely ever change I'll just accept it. But maybe a new template or two wouldn't hurt (and yes I realize that by speaking up I will likely be the doing the work). ~Vsig.png 20:26, 9 January 2011 (UTC)

It isn't mandatory, but some users do it so that viewers can easily access contribs and talk, etc. I believe DDR started it a couple of years back.--Yonnua Koponen Talk ! Contribs 20:28, 9 January 2011 (UTC)
I think (I think) that I used it on my Second (I think) Promotion bid, as a way to say "look at my contributions and lack of vandal history, and it's kind of stuck as a tool. If you can do a better one, go ahead. Anything else that should go on it? --RosslessnessWant a Location Image? 20:30, 9 January 2011 (UTC)
Talk, contribs, vandal data and user page should do.--Yonnua Koponen Talk ! Contribs 20:32, 9 January 2011 (UTC)
Misconduct links for A/RE would be a useful addition. -MHSstaff 20:33, 9 January 2011 (UTC)
Howabout a users contributions to the UDWiki namespace? --RosslessnessWant a Location Image? 20:35, 9 January 2011 (UTC)
If we could somehow automate Yon's User contribs thing-a-ma-jig, it would be nice. ~Vsig.png 20:36, 9 January 2011 (UTC)
UDwiki namespace and Misconduct would be good, but we can't automate contribs. They do it on wikipedia, but it's an external thing, and I don't think we could manipulate it without somebody who reads code.--Yonnua Koponen Talk ! Contribs 20:42, 9 January 2011 (UTC)
This is the wikipedia tool to which I was referring, if anybody's interested.--Yonnua Koponen Talk ! Contribs 20:47, 9 January 2011 (UTC)
Interesting. I think we can do without a breakdown, then. It looks like if we want contribs to UDWiki namespace then it will have to be an external link? Anyone care? Will make it stealthy. ~Vsig.png 20:50, 9 January 2011 (UTC)
Make it stealth and nobody will notice.--Yonnua Koponen Talk ! Contribs 21:04, 9 January 2011 (UTC)
I approve of this messages. When I fall, I'll weep for happiness 21:30, 9 January 2011 (UTC)
Is this the best place to link to Misconduct? ~Vsig.png 21:35, 9 January 2011 (UTC)
Do the individuals, e.g. Grims. (Have a {{{1}}} instead of the name, obviously).--Yonnua Koponen Talk ! Contribs 21:37, 9 January 2011 (UTC)
Right, that's what I had in mind. It doesn't make sense to have misconduct on a/pm though so I'll do 2 templates, i suppose. ~Vsig.png 21:40, 9 January 2011 (UTC)
Could we do a switch on one? So that if you type {{TEMPLATE|NAME|PM}} you get the PM one, and if you type {{TEMPLATE|NAME|RE}} you get the RE one?--Yonnua Koponen Talk ! Contribs 21:49, 9 January 2011 (UTC)
I'd need someone like Aichon to verify it but I think you can use If templates to spit out two versions based on the pagename. When I fall, I'll weep for happiness 22:02, 9 January 2011 (UTC)
If templates would be better. ~Vsig.png 22:10, 9 January 2011 (UTC)
I tried {{switch}} and {{if equal}}. Too many pipes in the code messes up both methods I think. User:Vapor/sandbox/sandbox3 is where I've been doing the coding if someone wants to take a looky look. I'll come back to it later, otherwise. ~Vsig.png 23:13, 9 January 2011 (UTC)

Alright, between taking turns with the baby, snow shoveling (yes snow shoveling in Texas) and other various mundane tasks, {{bid}} is ready. Cheers. ~Vsig.png 02:50, 10 January 2011 (UTC)

The Code and Its Size

<includeonly><span class="plainlinks" style="font-size:8pt">'''[[User:{{{1}}}|{{{1}}}]]''' ([[User talk:{{{1}}}|talk]] | [[Special:Contributions/{{{1}}}|contribs]] | [{{fullurl:Special:Log|user={{urlencode:{{{1}}}}}}} logs1] | [{{fullurl:Special:Log|page=User:{{urlencode:{{{1}}}}}}} logs2] | [[Special:Blockip/{{{1}}}|block]] | [{{fullurl:Special:CheckUser|user={{urlencode:{{{1}}}}}}} IP Check] | [[UDWiki:Administration/Vandal Data#User:{{{1}}}|vndl data]] | [[{{TALKPAGENAME}}#User:{{{1}}}|discuss]])</span></includeonly><noinclude>

Should probably become

<small>'''[[User:{{{1}}}|{{{1}}}]]''' ([[User talk:{{{1}}}|talk]] | [[Special:Contributions/{{{1}}}|contribs]] | [{{fullurl:Special:Log|user={{urlencode:{{{1}}}}}}} logs] | [[Special:Blockip/{{{1}}}|block]] | [{{fullurl:Special:CheckUser|user={{urlencode:{{{1}}}}}}} IP Check] | [[UDWiki:Administration/Vandal Data#User:{{{1}}}|vndl data]] | [[{{TALKPAGENAME}}#User:{{{1}}}|discuss]])</small>

In addition all usage notes should be moved to this page and all inclusion limiters removed sans the Category's limiters. Limited inclusion content still adds to page inclusion size. Needless style gets in the way of function in this case and there's absolutely no reason why A/VB needs specific page logs of the users userpage unless I'm missing something there. --Karekmaps?! 02:26, 15 April 2011 (BST)

All of the above would take about a third, if not more, of the code out of the template's inclusion size and page text. --Karekmaps?! 02:26, 15 April 2011 (BST)