Bulbapedia:Templates

Revision as of 03:22, 18 August 2013 by Pokemaster97 (talk | contribs) (Protected "Bulbapedia:Templates": High traffic page (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
Nurse Joy Wigglytuff Protect.png This page is a candidate for protection.

An administrator will use their judgment on whether to protect this page when they reach it. Only admins are allowed to remove this tag unless another user is given permission to or if the page belongs to the user who put in the tag.

Administrators - Remember to check the page history before protecting. Even when the page belongs to the user who put the page up for protection, the page history must be checked.

Reference page for template creation.

  • General template help: [1]
  • Magic words: Help and Manual
  • Parser functions: Help, Manual, and list.
  • And of course, look at existing templates with the features you want. That's probably easiest, and the best starting location since they're more likely to conform to style guidelines.

Testing templates

While making a new template or a new revision of an existing template, it is often better to put it in a user subpage (make an article at User:<yourname>/<pagename>) until it is ready and approved. If creating a test page in your userspace, mind the userspace policy.

To test your subpage template creation with actual use, you can post it at the Bulbapedia Sandbox, just by adding {{User:<yourname>/<pagename>|test parameters}} to the page. This will transclude your page as if it was a template, despite not being in the template namespace.

If a template was recently updated, but pages which use it do not update to reflect the change, the specific pages can be forced to update their transcluded pages by hard-refreshing the server. This can be done by clicking the UTC clock in the top of your screen.