Template:Documentation: Difference between revisions

From Against the Storm Official Wiki
(Created to make including doc subpages easier.)
 
(Created to make including doc subpages easier.)
Line 1: Line 1:
<div>
<div class="ats-messagebox-doc">
<p>This is the '''Template Documentation''' from [[{{FULLPAGENAME}}/doc]].</p>
<p>This is the '''Template Documentation''' from [[{{FULLPAGENAME}}/doc]].</p>
</div>
</div>
{{#ifexist: {{FULLPAGENAME}}/doc | {{:{{FULLPAGENAME}}/doc}} | <div><p>Documentation not available. Please go create it.</p></div>}}

Revision as of 03:24, 2 May 2024

This is the Template Documentation from Template:Documentation/doc.

Automatically transcludes the /doc subpage for a template and provides a link to it for easier editing and to make it clearer when the reader is on the template page itself vs. its documentation subpage.