From C4 Engine Wiki
Revision as of 22:33, 28 February 2008 by A2k (Talk | contribs) (Removed link to RTS tutorial since it's already live)

Jump to: navigation, search

There are several templates that may come in handy for Wiki editors. View available templates here: Templates.

To create a template, create a new page with the tag
{{My Template}}
and edit the page accordingly.

The advantage of using templates is that all pages referencing to a template will be updated automatically if you ever edit the host template. Additionally, it's a lot easier to write out a simple one line tag as opposed to having to write out the same Wiki mark-up over and over again.

You can call templates from any page by adding the tag
{{My Template}}

For example, one commonly used template is the "Under Construction" template:

Warning.jpg Under Construction

This article is still under construction and may contain sections that are incomplete.

The above template was displayed on this page by simply using the tag

When editing a page that is utilizing a template, a message will be shown at the bottom of the page with links to any templates being used.

More information about templates can be found here:

--Frank Skilton 23:48, 17 August 2007 (PDT)

Push Button Controls with Geometry, Part I - Unfinished. This article is still in the Editing Stage.

Push Button Controls with Geometry, Part II - Unfinished. This article is still in the Editing Stage.

Integrating the Newton Dynamics Engine - Unfinished. This article is code complete, but the descriptions are still being edited.

External Resources - Just experimenting with an idea

Infobox Test - A simple template for an infobox. Feel free to customize & use it in your own pages.

A Simple Game - Under Construction

Programming Tutorial Based on Sample C4 Code - Under Construction