User:Johan G/Template:Informative template with preloaded text/doc

From FlightGear wiki
< User:Johan G‎ | Template:Informative template with preloaded text
Revision as of 17:07, 22 June 2019 by Johan G (talk | contribs) (Defaults to FULLPAGENAME not BASEPAGENAME)
Jump to navigation Jump to search

This template can be used to document a wiki template and to distinguish the documentation from the actual template.

Usage

The template is used with one variable and must be put between <noinclude></noinclude> tags.

Note Please put the <noinclude> tag right behind the intended contents of the template, as an empty line or extra spaces will alter the way the template is rendered.

{{User:Johan G/Template:Informative template with preloaded text|documentation page |content=|link box=}}
documentation page
Name of page with documentation
Defaults to {{FULLPAGENAME}}/doc
content
Will allow wiki markup to be used instead of a separate documentation page.
link box
Will add content to the link box at the bottom