Template:Documentation

From Wikitemplates
Revision as of 03:29, 20 August 2022 by Sophivorus (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
How to use this wikitemplate in your wiki
  1. Create a template called Template:Documentation (or any name you like) in your wiki and copy-paste the following wikitext:
    {{raw:Wikitemplate:Documentation
    | param1 = {{{param1|}}}
    | param2 = {{{param2|}}}
    | param3 = {{{param3|}}}
    }}
  2. Replace param1, param2, etc. with the real parameter names of this template (see documentation below). You don't need to do all, only the required ones (if any) and the ones you're interested in.
  3. Replace {{{param1|}}}, {{{param2|}}}, etc. with the parameter names that you want for your local wiki. You can change these parameter names to your liking, translate them to your language, and set default values using the pattern: {{{param1|default value}}}
  4. Save the changes and you're ready to go!
Template documentationedit

Use this template to create documentation pages for templates (like the one you're looking at right now!).