Template:Documentation: Difference between revisions

From DynamicPageList3 Manual
Content added Content deleted
(Created page with "{{#invoke: documentation | page }}")
 
imported>FrozenPlum
m (3 revisions imported: Imported from help.fandom.com, Extension:DPL3 pages, which are for the obsolete version of DPL3 extension for MediaWiki 1.33, to adapt to forked (newer) extension version.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#invoke: documentation | page }}
<onlyinclude>{{#invoke:Documentation|page}}</onlyinclude>

Latest revision as of 01:12, 29 March 2022

[view | edit | purge]Template Documentation

Creates a documentation page that can be edited or updated by users, even if the template itself is protected. It also allows documentation to be moved to a subpage to reduce server resource usage, it does this by circumventing the technical limitations regarding templates. Please use the template talk page to discuss any changes to Template:Documentation before making them.

Usage

  • On a template page: {{documentation}}
  • The output can be customized using included overrides, such as:
  • Change the heading text: {{documentation|heading=Heading text}}
  • Set the heading to blank {{documentation|heading=}} (causes the entirety of the heading like disappears, which includes the edit link).
[view | edit | purge]The above documentation is transcluded from Template:Documentation/doc.