Template:Documentation/doc: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
[checked revision][checked revision]
Content added Content deleted
(update documentation)
(update documentation)
Line 1: Line 1:
<noinclude>{{Documentation page}}</noinclude>
<noinclude>{{Documentation page}}</noinclude>
This template is meant to be included in a <code><nowiki><noinclude></nowiki></code> block at the end of a template with documentation located in the /doc subpage. This subpage is then transcluded inside a green box in the template page, as with this very text, when read from the main template page. One can instead use a different page by setting the first positional argument.
This template is meant to be included in a <code><nowiki><noinclude></nowiki></code> block at the end of a template with documentation located in the /doc subpage. This subpage is then transcluded inside a green box in the template page, as with this very text, when read from the main template page. One can use different content by setting the second positional argument. The first positional argument changes the target of the the link in the transclusion notice.
[[Category:Meta-templates]]
[[Category:Meta-templates]]

Revision as of 16:37, 18 June 2024

This is a template documentation page

This template is meant to be included in a <noinclude> block at the end of a template with documentation located in the /doc subpage. This subpage is then transcluded inside a green box in the template page, as with this very text, when read from the main template page. One can use different content by setting the second positional argument. The first positional argument changes the target of the the link in the transclusion notice.