Jump to content

User:Mindmatrix/Tutorials

From Wikipedia, the free encyclopedia

Creating a template

[edit]
  1. To create a template with the name FOO, edit the file Template:FOO
    • make sure that no such file already exists
  2. Add the information you want to appear on every page that uses the template.
  3. Save the file.
  4. Use the link {{FOO}} in files which should include its contents

Using a template

[edit]
  1. Edit a file that needs to use the template, eg: A new file to edit
  2. Insert the tag {{FOO}} into this file, where it makes sense for the information to appear.
  3. Save the file.