Template talk:Usbk
From Wikipedia, the free encyclopedia
Contents |
[edit] This Format does not like parameters
Well as you may have noticed that I made edits here to try to make parameters possible on this template. However when I added it to this template it ended up corrupting other userboxes that did not have parameters. so what I had to do is create a new template at Template:Usbkc to address the issue for now. If there anyway to make it possible here without that problem it would help out alot. Sawblade05 08:23, 8 June 2007 (UTC)
This template was originally created by User:Java7837 he also made a program to make userboxes with pictures see http://en.wikipedia.org/wiki/User:Java7837/pictureuserboxcreator it is very helpful in producing userboxes which use pictures
This template was originally created by User:Java7837 he also made a program to make userboxes see http://en.wikipedia.org/wiki/User:Java7837/userboxcreator it is very helpful in producing userboxes which don't require pictures
--Java7837 21:53, 14 June 2007 (UTC)
[edit] Big error
Big error see
This user is a Chief Engineer in the United States Merchant Marine. | C/E |
versus
Code | Result | Users | |||
---|---|---|---|---|---|
{{Template:user Chief Engineer}} |
|
Transclusions |
This only seems to be effecting pages loading specifically pages listed under http://en.wikipedia.org/wiki/Wikipedia:Userboxes/Profession#Merchant_marine please fix this as soon as possible
--Java7837 15:45, 15 June 2007 (UTC)
Actually look at http://en.wikipedia.org/wiki/Wikipedia:Userboxes/Profession a good number of userboxes load ' instead of the picture they are supposed to load
--Java7837 15:52, 15 June 2007 (UTC)
Though Wikipedia:Userboxes/Emoticons seems to be fine
--Java7837 16:32, 15 June 2007 (UTC)
Wikipedia:Userboxes/Zodiac also works fine
--Java7837 16:33, 15 June 2007 (UTC)
- Fixed. It was because the userbox was being transcluded like {{user Chief Engineer|||||}}. –Pomte 18:08, 15 June 2007 (UTC)
[edit] Another Big error
The current version has corrupted userboxes here at Wikipedia:Userboxes/WikiProjects plase fix show they all show.
Sawblade05 10:11, 18 June 2007 (UTC)
- FYI the error also shows on my Test Userbox page at User:Sawblade05/tempoaryWikipedia:Userboxes/WikiProjects You can use that page for testing. Sawblade05 10:20, 18 June 2007 (UTC)
- The bottom userboxes weren't showing because that page has a lot of userboxes. It's not particular useful either, being redundant to Wikipedia:WikiProject and Category:WikiProjects etc. No one should be browsing the list for userboxes because you have to actually look at the WikiProject first before joining and tagging yourself. –Pomte 10:29, 18 June 2007 (UTC)
[edit] Categories
[edit] Category:User templates
I don't know who added this page to this category but this category is only for userboxes, I am taking it out. -PatPeter 06:43, 2 July 2007 (UTC)
- I figured it out for you PatPeter, it was in the documentation at /doc. 67.175.105.209 20:22, 21 August 2007 (UTC)
- I placed it back in that category with | ]] as categorization so that this template is at least categorized.
[edit] Category Suppresion
{{#ifeq:{{{categories}}}|no||[[Category:Example|{{PAGENAME}}]]}}
We need to get this incorporated into the template. -PatPeter 01:58, 15 August 2007 (UTC)
Can a parser function of this nature: {{#ifeq:{{{categories}}}|no||[[Category:Example|{{PAGENAME}}]]}} be made in this template to allow for the suppression of Wikipedian categories on pages such as Wikipedia:Userboxes/Health, Wikipedia:Userboxes/WikiProjects, and Wikipedia talk:Userboxes/New Userboxes? —Preceding unsigned comment added by Java7837 (talk • contribs) 02:53, 9 September 2007
[edit] Categroy Fixes
The way I see it, the category parameter can be simplified to simple {{usbk|template name|Category:your category}}
, with the parameter "category" not having anything fancy whatsoever, just {{{category}}}
.The UserboxerComplain/ubx
category=name
is as easy to type, and it is more intuitive (as in the case of {{tlx}} etc.) to have the second unnamed parameter deal with parameters for the actual userbox. –Pomte 20:44, 20 January 2008 (UTC)
[edit] Parameters
I think I've solved the parameters issue. If anyone comes across a use of this template that still appears to be broken, let me know. JPG-GR (talk) 02:48, 29 November 2007 (UTC)
- Actually, it appears it can only handle one parameter (called "param1") properly at this time. JPG-GR (talk) 03:06, 29 November 2007 (UTC)
[edit] What I did
Alright so basically I just solved all these problems. Any userbox that has the correct ParserFunctions extension from Category:Category suppression supporting templates will not categorize these pages in user categories, more in reply to #Category Suppresion. Before reverting please post here, I have this page watched. -Babelious 22:54, 13 January 2008 (UTC)
{{[[{{{1|{{FULLPAGENAME}}}}}]]{{#if:{{{param1|}}}|{{!}}''{{{param1}}}''|}}{{#if:{{{param2|}}}|{{!}}''{{{param2}}}''|}}}} {{ #if: {{{nt|}}} | | {{!}} }}{{#if:{{{param2|}}}|{{{{{1|{{FULLPAGENAME}}}}}|1={{{param1|}}}|2={{{param2}}}}}|{{#if:{{{param1|}}}|{{{{{1|{{FULLPAGENAME}}}}}|1={{{param1}}}}}|{{{{{1|{{FULLPAGENAME}}}}}}}}}}} {{ #if: {{{nt|}}} | {{clear}} | {{!}} }}[[Special:Whatlinkshere/{{{1|{{FULLPAGENAME}}}}}|What links here]] {{#if: {{{category|}}} | <br />[[:Category:{{{category}}}]] | }} {{ #if: {{{nt|}}} | | {{!}}- }}
Alright I have no clue as to what all this means, but if some one could tell me which parts of these | are equal to <td> then we might me able to reincorporate some of this code back in. -Babelious 18:43, 14 January 2008 (UTC)
{{[[{{{1|{{FULLPAGENAME}}}}}]] {{#if:{{{param1|}}}|{{!}}''{{{param1}}}''|}} {{#if:{{{param2|}}}|{{!}}''{{{param2}}}''|}} }} {{#if: {{{nt|}}} | | {{!}} }} {{#if:{{{param2|}}}|{{{{{1|{{FULLPAGENAME}}}}}|1={{{param1|}}}|2={{{param2}}}}}| {{#if:{{{param1|}}}|{{{{{1|{{FULLPAGENAME}}}}}|1={{{param1}}}}}|{{{{{1|{{FULLPAGENAME}}}}}}}}}}} {{#if: {{{nt|}}} | {{clear}} | {{!}} }}[[Special:Whatlinkshere/{{{1|{{FULLPAGENAME}}}}}|What links here]] {{#if: {{{category|}}} | <br />[[:Category:{{{category}}}]] | }} {{#if: {{{nt|}}} | | {{!}}- }}
Hopefully this makes it easier to read. -Babelious 18:47, 14 January 2008 (UTC)
[edit] Parameters
Is it possible to make it support up to 10 parameters, just to be on the safer side? ~RayLast «Talk!» 18:44, 21 March 2008 (UTC)