Template:Template doc inline/doc

From MeritBadgeDotOrg

Jump to: navigation, search

{{#ifeq: Template doc inline/doc | Template doc inline/doc

This is the documentation page for Template:Template doc inline/doc.
When viewed directly, links using variables may appear broken; do not replace these with hard-coded page names or URLs.


This template displays a "Template documentation" box like you are seeing now.

It is primarily used by {{template doc}} to automatically display the documentation for the template from a /doc subpage, but can also be used to display inline documentation.

It provides a view and an edit link to the documentation page. If that page does not exist yet the edit link preloads Template:Template doc/Preload (talk, backlinks, edit).


  • Inline documentation is the text to display inside the box.
  • Pagename refers to the name of the documentation page, which if specified, creates [view] and [edit] boxes to the right of the heading.

Personal tools