Help talk:Templates

Can Template:T replace more complex code?
The help page still contains some complex expressions using "code" and "nowiki" tags that look as if they could be simplified with use of T. Are there still places where it can't be used? — Robin Patterson (Talk) 03:07, 16 July 2009 (UTC)

I'm new to templates, and I'm having a hard time locating templates for the wiki I'm working on. If someone could update this article and explain how to find existing templates, I'd appreciate it!


 * Hey ;)! You can find a complete list of widgets using the Special:Prefixindex, and selecting templates. You can also use this link, changing  to the Wiki's URL; http://WIKILINK.wikia.com/index.php?title=Special%3APrefixIndex&prefix=&namespace=10. Hope this helps ;). Tedjuh10 - Talk 10:25, October 17, 2009 (UTC)

Template Loop Detected
I don't understand this problem, I can't figure out how to fix it.--Phantom Stranger 01:47, March 30, 2010 (UTC)
 * if you keep posting your question in a dozen places, you are never going to get a response when one is left. Please see the email reply, or the message on the central forums. --Uberfuzzy 04:51, March 30, 2010 (UTC)

Foiled by Templates
I'm still needing some help with templates. I've created the template with the double fancy brackets as a sub-page and then this can not be put into any other page.

So, at this test page on my wiki: http://cloh.wikia.com/test3 there is a link to a page that has a number. That number should be something that should be able to be put into a chart.

The number page is here: http://cloh.wikia.com/Pittsburgh_Obama_Academy_of_International_Studies_6-12/HS_boys.

The text for the link to show the template should be: *. But it is not working. It seems as if the sub page with the / mark is messing us up.

Can templates have a / in them?

These pages were created with a simple link, /HS boys. Then the number was put into the blank page. Rauterkus 18:53, October 11, 2010 (UTC)

Testing Templates
Is there a way to test potential changes to a template without saving, but still being able to see how it looks when put on a page? I'm trying to fix some padding and margins (which don't show up in a preview) on multiple templates used on the home page and I keep messing up, which makes the home page look bad. I'd like to fix the weird padding without messing up the home page. SereneChaos 21:14, July 19, 2011 (UTC)


 * Not as far as I know of - The preview page show templates (that are saved) so when you are making a change to a template and click on Preview - You see the version that is saved not the unsaved version you currently are working on.


 * What I do, so I can see immediate effects of the template when I save it without having to leave the template is have a Documentation page for the template with some examples already set up, and add the following to the end of the template: . This will cause the Documentation page to be transcluded onto the main page, while not passing this information onto the regular articles that use the template. When you make changes to the template and save it you can see immediately how the changes look in your examples that are transcluded.


 * -- 19:54, June 4, 2012 (UTC)

Help me please!
I want the family tree template on my wiki, but I don't know how to put it on there. if I try It just says that the page does not exist and I made a page for the template but that didn't help at all! Please help me! 14:14, June 4, 2012


 * Did you copy the both templates? and its sub-template ?


 * -- 20:01, June 4, 2012 (UTC)

Template Help
I'm having so much trouble with templates I'm trying to make a template similar to the one used here but nothing seems to be working :( I tried using the default ino box and edited it so it ended up like this, but it keeps telling me template loop detected whenever I try and use it, I got rid of the monster part so it just started with {{Infobox but then it wouldn't let me edit it when I stuck it into the page. Help please?

GamingGrl24 19:53, July 7, 2012 (UTC)


 * The Monster Infobox template was calling itself when it should have been calling the the Main template {{T|Infobox}}. On the " Monster " pages you will use {{T|Monster Infobox}}. -- {{:User:Jrooksjr/Sig1}} 21:44, July 7, 2012 (UTC)

Ok thanks :) but now when I imput the template into the page I'm not able to edit it the way you can with the example one? GamingGrl24 21:55, July 7, 2012 (UTC)


 * You do not edit a template on the "article pages" you add the template to the page with the parameters that you do know and add the others later as you find the information for those parameters. - Example: if you know only the image to be used you would enter this on the monster page:

{{Monster Infobox }}
 * image = image file name goes here


 * -- {{:User:Jrooksjr/Sig1}} 22:01, July 7, 2012 (UTC)


 * After thinking about what you are asking to be able to do, I think you need to substitute the template onto the page so that all of the parameters are there and you can just edit them later -- to do this you would use  {{subst:Monster Infobox}}  onto the page and then SAVE the page - then edit the page and the template with all of the parameters would be there as well for you to change the N/A's into the information you want displayed.


 * Edit my user page to see what I mean
 * -- {{:User:Jrooksjr/Sig1}} 22:09, July 7, 2012 (UTC)

Ok thanks for all your help :) GamingGrl24 22:26, July 7, 2012 (UTC)

adding
I've been trying to create a template. But when I watched the video, it said to click "add other templates" Well I don't have that option, all it says is "show list of used templates" so why is mine different?
 * Click on that. There is something like a search box there. Type your template's name in there and it should come.  http://i151.photobucket.com/albums/s145/urbancowgurl777/UltimateSupreme2212-3.png    http://i151.photobucket.com/albums/s145/urbancowgurl777/UltimateSupreme2212-3talk.png    05:37, August 12, 2012 (UTC)

Edit Button
Hi, I created a multi-purpose template on my wiki, but it has no edit button (which means I can only use it on one article). Please tell me how to fix it. Thanks.Superlana (talk) 17:45, August 15, 2012 (UTC)


 * Hi there. The best place to go for help is our Community Central Forum, where users experienced with templates can give you a hand in fixing yours. Good luck! - Brandon Rhea (talk)  18:30, August 15, 2012 (UTC)

Help!!!
I'm new to all this, and i've just started trying to use templates. I'm following the instructions, but when i go onto edit mode in the template section it just says 'show list of new templates', not 'add other templates'. Btw im on an ipad is that whyits not working, or is it me being a moron?
 * Hi, it looks like this button was removed - I'll update the help article in order to change this. In the future, you'll get a faster response if you ask this question in the forums, as there are more people who look at them. --  Random Time  21:24, November 7, 2012 (UTC)

Color on family tree
Is it possible to add a background color to certain cells in a family tree using ? Thanks!--Ylnani (talk) 04:24, December 28, 2012 (UTC)


 * Hi, I would recommend asking that in our Forum - its gets a lot more activity and there are a lot of advanced users there who may be able to answer your question. Sarah (help forum | blog) 17:39, January 2, 2013 (UTC)

Noob questions
I am new to this, so please help me:

1. Where do I find Template:Example on my wikia? What you put in the article is not clear enough. I have been searching everywhere on my wikia.

2. I take it I can edit the template's contents at any time and in the articles I am writing as well?

Haou1987 April 2, 2013, 12:53


 * Hi there, so the steps on the page use Template:Example as an example for how to create a simple template. It doesn't exist on your wiki so you can practice creating one. As for editing, if you want to add content to the template, you do that when you are editing the page. If you want to change the template itself, you have to do that on the Template page. Sarah (help forum | blog) 16:32, April 2, 2013 (UTC)


 * Okay now I try to set up a Quote template, which works in different wikia's. So I simply put in how its done in other wikia's where it works, but when I do it here it doesn't. This is what I mean "Text"

- Text . Can you explain how I can make that work? Haou1987


 * Answering could be easier if you gave us a link to show which wiki you are talking about. -- Robin Patterson (Talk) 00:05, April 3, 2013 (UTC)


 * Sorry yes of course. I'll give a link to an example I meant: http://starwars.wikia.com/wiki/Comet_(clone_trooper)
 * (totally random page btw)
 * I mean like the quote they use there on top of the page. I try use the same template on my wikia, but it does not work.
 * Haou1987 April 3, 2013 13:28


 * Looks like . Does your wiki have a page called "Template:Dialogue"? Templates generally don't work from one wiki to another. You have to have a copy (or an adapted version) on your other wiki. Open the "Edit" screen - http://starwars.wikia.com/wiki/Template:Dialogue?action=edit - copy, and paste into a page of the same name on your wiki. They don't seem to use the current standard documentation system; you should, so you need to add  at the end (starting in the same line as the last bit of the template). Then on the new documentation page you say where you copied the template from. Then try to use it. (You should have been able to work all of that out for yourself with careful reading of Help:Templates.) -- Robin Patterson (Talk) 08:23, April 4, 2013 (UTC)


 * Thanks! It seems to work now. Haou1987 April 4, 2013 10:40