Template:Documentation/doc: Difference between revisions

From Eco - English Wiki
[checked revision][checked revision]
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 3: Line 3:


==Syntax==
==Syntax==
Add <code><nowiki><noinclude></nowiki>{{t|Documentation}}<nowiki></noinclude></nowiki></code> at the end of the template page.
Add <code><nowiki><noinclude></nowiki>{{Documentation}}<nowiki></noinclude></nowiki></code> at the end of the template page.


Add <code><nowiki><noinclude></nowiki>{{t|Documentation|documentation page}}<nowiki></noinclude></nowiki></code> to transclude an alternative page from the /doc subpage.
Add <code><nowiki><noinclude></nowiki>{{t|Documentation|documentation page}}<nowiki></noinclude></nowiki></code> to transclude an alternative page from the /doc subpage.

Revision as of 08:51, 20 May 2024

Description

This template is used to insert descriptions on template pages.

Syntax

Add <noinclude>

Template documentation
Note: portions of the template sample may not be visible without values provided. View or edit this documentation. (About template documentation)

Description

This template is used to insert descriptions on template pages.

Syntax

Add <noinclude>Template loop detected: Template:Documentation</noinclude> at the end of the template page.

Add <noinclude>Template:T</noinclude> to transclude an alternative page from the /doc subpage.

Usage

On the Template page

This is the normal format when used:


</noinclude>
at the end of the template page.

Add <noinclude>Template:T</noinclude> to transclude an alternative page from the /doc subpage.

Usage

On the Template page

This is the normal format when used: