Club Penguin Protocol:Templates

From Club Penguin Protocol
Jump to navigation Jump to search

We offer certain templates to be included into a page - they can mark pages with certain problems, automate inclusion of complex tables and messages, etc.

Including a template

Just include a template like this:

{{TemplateExample}}

Note that the {{}} syntax presumes the Template namespace - you can override it and use another namespace, but this should not be used.

Some templates have parameters, some named, and some based in order, like this:

{{TemplateExample|namedparam=example1|sample2}}

Generally, simple templates that only take a few parameters will not use named parameters and more complex ones will use named parameters.

Most templates will offer documentation on its page on parameters and when to use it.

List

Only a few are listed - internal ones and ones included automatically for you are not listed. See Special:AllPages for a list.