Help:Cargo template: Difference between revisions

Jump to navigation Jump to search
Line 316: Line 316:
== Documentation: Inline vs. <nowiki>{{Doc}}</nowiki> Subpage ==
== Documentation: Inline vs. <nowiki>{{Doc}}</nowiki> Subpage ==


Documentation helps editors understand how to use the template. You can place it directly on the template page (inline) within <code>&lt;noinclude&gt;</code> tags or in a separate subpage, typically named <code>Template:TemplateName/doc</code>, using the <code>{{Doc}}</code> template. We recommend using a <code><nowiki>{{Doc}}</nowiki></code> subpage for most Cargo templates due to its advantages.
Documentation helps editors understand how to use the template. You can place it directly on the template page (inline) within <code>&lt;noinclude&gt;</code> tags or in a separate subpage, typically named <code>Template:TemplateName/doc</code>, using the <code><nowiki>{{Doc}</nowiki>}</code> template. We recommend using a <code><nowiki>{{Doc}}</nowiki></code> subpage for most Cargo templates due to its advantages.


=== Inline Documentation ===
=== Inline Documentation ===

Navigation menu