Template:Documentation/doc: Difference between revisions

From Eco - English Wiki
[checked revision][checked revision]
(Created page with "==Description== This template is used to insert descriptions on template pages. <includeonly>Category:Documentation templates</includeonly><noinclude></noinclude> <noinclude>Category:Template Docs</noinclude>")
Tag: 2017 source edit
 
No edit summary
Tag: 2017 source edit
Line 2: Line 2:
This template is used to insert descriptions on template pages.
This template is used to insert descriptions on template pages.


==Syntax==
Add <code><nowiki><noinclude></nowiki>{{t|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.
==Usage==
===On the Template page===
This is the normal format when used:
<includeonly>[[Category:Documentation templates]]</includeonly><noinclude></noinclude>
<includeonly>[[Category:Documentation templates]]</includeonly><noinclude></noinclude>
<noinclude>[[Category:Template Docs]]</noinclude>
<noinclude>[[Category:Template Docs]]</noinclude>

Revision as of 09:49, 20 May 2024

Description

This template is used to insert descriptions on template pages.

Syntax

Add <noinclude>Template:T</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: