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

From FlightGear wiki
Jump to navigation Jump to search
m (Shorting and commenting out for debugging)
m (Defaults to FULLPAGENAME not BASEPAGENAME)
Line 10: Line 10:
; documentation page
; documentation page
: Name of page with documentation
: Name of page with documentation
: Defaults to <code><nowiki>{{BASEPAGENAME}}/doc</nowiki></code>
: Defaults to <code><nowiki>{{FULLPAGENAME}}/doc</nowiki></code>


; content
; content

Revision as of 17:07, 22 June 2019

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