Jump to content

User:CanadaGirl/OtherStuff

From Wikipedia, the free encyclopedia

Keep for Reference

[edit]


Can I make my own template?

[edit]

I want to make a little template of my own to use on my user page. Is there any way I can do this without adding it to the pile of Wikipedia templates? CanadaGirl

  • Yes, you can include subpages of your user space the same way you can include templates. Make a page (for example: User:CanadaGirl/Template). You can then include this template anywhere by using {{User:CanadaGirl/Template}} to include a link to the template which will refresh at every load or {{subst:User:CanadaGirl/Template}} to insert the text that's there at the moment of the save. BTW, please sign your posts on talk pages (like this one) with four tildes (~~~~). - Mgm|(talk) 07:21, August 15, 2005 (UTC)
  • Be aware that userspace templates do not refresh the way standard templates do. For example, if you create template X in your userspace and add it to page Z, when you make a change to template X, page Z will continue to display it the way it was before the change, unless you manually purge the server cache or edit page Z. You can manually purge the server cache by clicking the "edit" like and changing the "edit" ending in the address bar to "purge." Also, after doing so, you can copy the URL from the address bar and create a link for easy access. I use a userspace template to include a status indicator on my user/talk pages, and I have shortcut links on the templates' talk page. See here: User:Essjay/Status and User talk:Essjay/Status. This is not necessary with templates in the Template: namespace, as they are set to automatically purge server cache whenever they are altered. -- Essjay · Talk 07:31, August 15, 2005 (UTC)
    • Alternatively, you can insert {{purge|Refresh}} somewhere on page Z to have a link to clear the cache. This makes it a little easier, IMO. --Pidgeot (t) (c) (e) 13:52, 15 August 2005 (UTC)
      • However, if you are only going to use the template in one place (on your user page), there is not much point in making it a template. -Aranel ("Sarah") 17:45, 15 August 2005 (UTC)