The official discord link if you wish to join the discord: https://discord.gg/j5RKwCvAFu

Support the wiki on our official Ko-Fi page or Patreon page!

Template:Documentation page/doc

From The Codex
Revision as of 15:51, 9 March 2023 by GiverOfThePeace (talk | contribs) (Created page with "{{Documentation page |description = This template is used on template documentation pages. |parameters = {{Parameters |description = Description of what template is used for |parameters = Parameters of the template |samples = Sample outputs |see = "See also" section |category = Category to categorize the parent template under }} |samples = <pre>{{Documentation page |description = This template is used for simple d...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template is used on template documentation pages.

Parameters

ParameterDescription
descriptionDescription of what template is used for
categoryCategory to categorize the parent template under
samplesSample outputs
see"See also" section
parametersParameters of the template

Sample output

{{Documentation page
|description = This template is used for simple disambiguations.
|parameters  = {{Parameters
|param1      = First parameter
|parameter   = Last parameter
}}
|samples     = {{samples|<nowiki>{{for}}</nowiki>}}
|see         = [[wikipedia:Template:For|Template:For]] on Wikipedia.
}}

gives...

This template is used for simple disambiguations.

Parameters

ParameterDescription
param1First parameter
parameterLast parameter

Sample output

{{for}} gives...

Lua error in package.lua at line 80: module 'Dev:For' not found.

See also

Template:For on Wikipedia.

See also

Module:Template documentation for the module that handles the template logic