Difference between revisions of "Project:Templates"

From Girlfriend Kari Wiki
Jump to: navigation, search
(Created page with "Templates are a really useful part of every wiki. They specify a portion of text that can be reused by other pages. For example, the main page utilizes several templates in...")
(No difference)

Revision as of 06:38, 15 February 2015

Templates are a really useful part of every wiki. They specify a portion of text that can be reused by other pages.

For example, the main page utilizes several templates in order to update data without having to actually edit the main page itself. The main page should rarely be updated itself, but rather its templates should be. Templates can be found by searching for Template:(TemplateName). For example, the event template is located at Template:Event.

Since VisualEditor is disabled on templates, you can feel free to use the various sandboxes on this wiki (Sandbox, Sandbox 1, Sandbox 2, and so forth) to create text that appears the way you want it to, if necessary. You can then copy the source code from that page onto the template page, but make sure to keep the documentation at the top of the page in-tact! (The stuff in the noinclude tag.)

For contributors, feel free to create templates as necessary.

For those that understand how wikis work well, we encourage you to create documentation for various templates that are harder to use or more difficult to understand. This includes setting up documentation for templates as a whole, as well as setting up the message box module and other modules as necessary. Those who feel competent to do this task can request admin privileges, if necessary.