Template talk:SkillBox1

From Fallen Sword Wiki
Jump to: navigation, search

Uh, why sort it at "{" within the templates page?

-Phoxtrot 09:00, 26 May 2008 (BST)

Personally, I think this template either needs remade into an actual template or deleted. It's not mine so I'm not going to take the time to edit it.
 Belgrave, Moderator / Sysop  Talk  Message PM 

Contents

Problem

I know it's a bad template but I don't know how to make a real one, and I did the best I could not knowing how. If someone tells me I would be glad to make it into a real template.SUBST:User:Greggacam/SigX


To make a real template, it needs to be able to be put into another page by typing {{templateName|parameters}} instead of just copying some code and pasting it into the other page. I recommend reading http://www.mediawiki.org/wiki/Help:Templates to learn more about how templates work and how to make them.
 Belgrave, Moderator / Sysop  Talk  Message PM 

Bugs

OK so can someone change the title to SkillBox1 for me? And also I don't know what happened with the pages on the Template page, they are listen under }. If anyone can fix that it would be okay, you may edit it if you want.

I think I made a good improvement in 3 minutes, no? Greggacam [Talk Message PM Contributions]

I fixed your problem with the categorizing under }. The problem was you used [[Category:Templates|{}]] instead of [[Category:Templates|{{PAGENAME}}]]. I also noticed a few other code errors in the template which I did not fix... specifically the extra !! at the end of !Skills!!Image!!Level!!Price!! which creates a fifth but empty column in the table. Other than that, there weren't any other problems that blatantly stuck out at me.
 Belgrave, Moderator / Sysop  Talk  Message PM 

OK thanks, and what about the title problem? Greggacam [Talk Message PM Contributions]

Fixed! All that needed done was moving the page to the new title.
 Belgrave, Moderator / Sysop  Talk  Message PM 

Thanks! There isn't a way for me to get a signature like yours without being a sysop, right? And do you notice any more bugs?

Actually, you can read Belgrave's profile. It will lead you to a page where it teaches you how to create your own signature.
                 CHiNback - [ Talk - Message - PM ]
You can find instructions at: Category:User_Signatures. Anyone can make one; you just have to carefully follow the directions and know how to use it.
 Belgrave, Moderator / Sysop  Talk  Message PM 

OK thanks I'm making one right now. Any bugs? Greggacam [Talk Message PM Contributions]

Why is my signature not working?

Click on 'my preferences' at the top of the page. This will bring up a page where you can change all your wiki user settings. Partway down is a box for 'Nickname:'. In that box you put {{SUBST:User:Greggacam/SigX}}. Once you do this, it should work properly. I fixed User:Greggacam/SigX for you too.
 Belgrave, Moderator / Sysop  Talk  Message PM 

OK thanks it works now! Do you notice any issues with the template?  Greggacam [Talk Message PM Contributions]

For a fun time...

How about altering the template to make the table more customizable? For instance, you could make parameters that change the borders, background colors, and just about everything else while keeping the default values! If you'd like to see an example of a template that customizable, check out Template:EnhancementBar.
 Belgrave, Moderator / Sysop  Talk  Message PM 

Will work on it  Greggacam [Talk Message PM Contributions]
One Q - how do you make it so that if you don't include the parameter it will be one color or you can change it? Like you can make the color a parameter but then you have to put in the parameter. In the Enhancement Bar it's optional.  Greggacam [Talk Message PM Contributions]
What I did was use numbers instead of names for my parameters (not necessary, but makes it easier to keep track of them all with less typing. To give them a default, I used:
{{{1|default}}}
If you look through some of the other templates I've done (Template:BPSlots), you'll find various other things I've used default parameters for.
 Belgrave, Moderator / Sysop  Talk  Message PM 
Thanks it worked I'll publish it in a bit, working on it.  Greggacam [Talk Message PM Contributions]

Parameters

OK, so I know it looks cool with all the parameters but I think nonbody will use them all, so I'm going to switch it back to what it was, with all the necessary parameters. Belgrave don't take it personally, if you want to make a template like that that's sweet and it'll be cool but I'm just going to stick with the basics, thanks.  Greggacam [Talk Message PM Contributions]

I'll get to the other 4 templates tomorrow  Greggacam [Talk Message PM Contributions]

Why doesn't the gold image work?  Greggacam [Talk Message PM Contributions]

You needed a space between the parameter and the gold for the wiki to properly render the page. Otherwise it just reads it as onebigruntogetherlinethatmayhavemoremeaningbutitcannotinterpretitthatway. I fixed it for you.
 Belgrave, Moderator / Sysop  Talk  Message PM 

On my use of the template at User:Greggacam/Skills the cell spacing doesn't seem to be doing anything, is there a reason for that?  Greggacam [Talk Message PM Contributions]

When in doubt, look for tiny errors in the code... I just checked and found that all it was missing was a " right after the parameter. Without it, you're just left with cellspacing="3 instead of cellspacing="3". I fixed it on this template... you can do the others.
 Belgrave, Moderator / Sysop  Talk  Message PM 
As you can see I'm not very good at coding, thanks for helping me out again.  Greggacam [Talk Message PM Contributions]
Actually, going back through the page history, it looks like it was my fault it was missing. Yes, even I sometimes make mistakes!
 Belgrave, Moderator / Sysop  Talk  Message PM 
Well there's a first for everything lol. And by the way, can you give a brief explanation of what the span tag is? Thanks!  Greggacam [Talk Message PM Contributions]
You can find my previous explaination of span tags at User talk:CHiNback#Span Tags.
 Belgrave, Moderator / Sysop  Talk  Message PM 

OK I get it now, is there any way I can do a parameter so you can just type in 1 and it'll be in gold and 2 for FSPs? Like 2 defaults.  Greggacam [Talk Message PM Contributions]

It isn't possible right now. HCS would have to install http://www.mediawiki.org/wiki/Extension:ParserFunctions to let us do that.
 Belgrave, Moderator / Sysop  Talk  Message PM 
Oh well that would really help me with my template, should I make a mandatory parameter of whether it's gold or FSPs?
You could just have one parameter for that entire cell... Then anyone that uses it could fill it in themselves. You'd just have to be sure to include instructions to fill it in with either (# {{Gold}}) or (# {{FSP}}) to get the correct appearance.
 Belgrave, Moderator / Sysop  Talk  Message PM 


Ya I was thinking of doing that, I'll go ahead and do it, thanks.  Greggacam [Talk Message PM Contributions]