Forum:Template questions

I have a series of questions pertaining to a template on Films Wiki. To see it "in action" see my user page.


 * 1) How do I change the text color of a link, words and underline.
 * 2) When users click on the "Update" button, I want it to send them to an edit page that shows the template only, much like when you click on a section edit button.
 * 3) I want the template to have a max width. Not a fixed width, where every template on the wiki is the same width, but a limit that all templates can be up to.

Also I would like to know how do you create a link to another Wikia wiki. Safe Storm 00:17, April 9, 2011 (UTC)

1. Do you mean a separate color for words, a separate color for links and a separate color for underlines. If so I do not think you can do that. I believe you can do that. You can change font color with a simple

2. Another one I don't think is possible. You might be able to pull the username and have the word edit linked to the user page edit button like this Edit. Not sure if that would work.

3. I do not know.

4. You can link to any wiki by typing w:c:wikiname for instance w:c:Bleach links to the Bleach wiki.--


 * 1. You'll need to add a unique class to the template, where it says, such as  , then you can change those things with CSS.
 * 2. The update button already does that, unless I'm misunderstanding you.
 * 3. Add  to the top line.
 * 4..


 * I already got the "Update" the color I want (orange)—I just want to change the line that appears under it as well. As for #2, if there is more information on the page, I only want the Update button to send you to an edit page that shows the template, and nothing else. And thanks on #3. Safe Storm 01:01, April 9, 2011 (UTC)


 * If you want to change the line under it, use the font tag to add the color. For two, I don't think its possible to not display the other information. If the template called from another page, then it is possible but not if all the code is on the user page.--


 * is deprecated, actually - doesn't matter too much, because Wikia is using doctype transitional, but it should still be avoided. If you don't really mind that,  will still work, but otherwise I'd advise using CSS. I still don't see what the problem is on the template - the page only has the template, there's nothing else on it. What is there for the user to not see?