Forum:Is it possible to make a tamplate/userbox that can be used in all wikia?

When i say the aove, i mean if i make a template here, can i put it on any wikia just by linking to it?

You can make a template here, Central Wikia and it works on any Wikia wiki. A good example is at Template:User:Jack Phoenix. On another Wikia, you need to type or.

You can also create an userpage here and then make it work like those shared templates do, by typing (that would insert my userpage on another Wikia). --Jack Phoenix (Contact) 17:37, 10 April 2007 (UTC)


 * I'd like to make a warning about using includes like that for a userpage. Firstly, the system of shared templates is horribly cached. While I think the template namespace might have a little less issues, I know there is at least major issues with caching in the user namespace. When I tryed a cross-wiki userpage I found it nearly impossible to get changes to start to show up on another wiki, no matter where I purged or saved. Secondly, it's impossible to pass a parameter to a template on another wiki, and things like evaluate as they are on the other wiki instead of properly on the current wiki (So if I included a userpage from Central into the Animepedia,  would evaluate as Wikia instead of Animepedia.) This means that it's impossible to use any sort of parserfunction tricks to create wiki specific content (Some userboxes, links, info, etc... you might want customized per wiki). Also, while all of this is evaluated as if the page were on Central instead of on the wiki it's being included into, the CSS doesn't work that way. So while templates, style tags, and images will work as if they were on central, you can't use any css classes specific to central because the CSS is that of the wiki being included into, and like I said before, you can't customize the classes per wiki.
 * I've found (at least for myself) that it's better to create a userpage using the normal parserfunction tricks to create wiki specific content. I use  to test to see if a wiki is part of the WAP to test if I can use the WAP's css classes and see if I need to do interwiki links manually, or if it needs to be done manually. And I use sitename tests to determine if interwiki prefixes need to be added or they can be left out because It's located on that wiki. I also test to see if things such as the Userboxes subpage exists to see if that section should be shown, and I test falling through if User Babel, or Babel exists, and if neither then it shows the text manually. But the way I keep those pages working across all wikia I place them at, is to use a UserClone bot to copy a set of the cross-wiki userpages in my userspace to all wiki in the WAP and also Wikia Central, and use the Clone feature of the Wikiswitch tab to copy this stuff to the other wiki I have userpages on. ~Dantman(talk) tricks  Apr 10, 2007 @ 18:49 (UTC)