Jump to content
Toggle menu
  • 36 articles
  • 9 files
  • 1 users
  • 417 edits
Paracosm
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 16:06, 13 June 2026 by Gravy (talk | contribs) (Text replacement - "Star Citizen Wiki" to "{{SITENAME}} Wiki")
Template documentation
{{#seo:

|type = website |description = Template:Documentation is a template page used on the Paracosm Wiki. Templates are pages that are embedded (transcluded) into other pages to allow for the repetition of information. |site_name = Paracosm Wiki |locale = en }}

The documentation header on module and template pages. Place it at the top of every /doc subpage.

Usage

{{Documentation}}

For a page kept in the wiki-tools repository, or imported from another wiki:

{{Documentation|git=true|importedFrom=[https://runescape.wiki/w/Module:Module_toc RuneScape Wiki]}}

Parameters

The documentation header on module and template pages. Place it at the top of every /doc subpage.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Documented page1

Page the header's links point to, when it is not the page this /doc belongs to.

Example
Template:Foo
Page nameoptional
Synced with wiki-toolsgit

Adds a Source line linking the page's directory in the wiki-tools repository. The README converter sets it on every page it deploys.

Example
true
Booleanoptional
Imported fromimportedFrom

Where the page came from, as a wikitext link. Adds "Imported from" and the link to the Source line.

Example
[https://runescape.wiki/w/Module:Module_toc RuneScape Wiki]
Contentoptional
Imported from WikipediafromWikipedia

Shorthand for importedFrom linking the same title on the English Wikipedia.

Example
true
Booleanoptional
Add categoriescategory

Set to no to stop the Technical details panel adding its categories: Lua-based templates, Strict mode modules and Unused modules.

Default
yes
Example
no
Booleanoptional

Behavior

  • The header links to the /doc page and offers Edit, History and Purge. Viewed on its own, the /doc page shows a Documentation subpage header linking back instead.
  • Below the header, the folded Technical details panel lists where the page comes from, which pages use it, what it uses, and a module's functions.
  • A rule marks where the documentation ends.
  • On a git=true page, the parameter table's own description is hidden: the page's first paragraph already says the same thing.
  • Categories: a module page joins Modules, and a page with importedFrom or fromWikipedia joins Imported modules or Imported templates. The /doc page itself joins Modules documentation or Templates documentation instead, sorted by its base page name.

See also