Template:Class subtemplate: Difference between revisions

From stencil.wiki
(Created page with "<noinclude> This template displays a message box on subtemplates of core class templates to warn users that they should only be used with the appropriate form—and adds these templates to Category:Class subtemplates. == Usage == Only the template needs to be called, it will use <code><nowiki>{{BASEPAGENAME}}</nowiki></code> to reference its parent template. <pre> {{Class subtemplate}} </pre> {{Class subtemplate}} </noinclude><!-- --><includeonly>{{mbox | title=''...")
 
No edit summary
 
Line 7: Line 7:
{{Class subtemplate}}
{{Class subtemplate}}
</pre>
</pre>
{{Class subtemplate}}
{{mbox
| title='''Warning:''' Class subtemplate
| text=This is a support template for the main class template [[Template:{{BASEPAGENAME}}]]—it should not invoked in other circumstances.</p>
| color_bar=#FFB511
| class=class-ambox
}}
</noinclude><!--
</noinclude><!--
--><includeonly>{{mbox
--><includeonly>{{mbox

Latest revision as of 03:01, 18 December 2024

This template displays a message box on subtemplates of core class templates to warn users that they should only be used with the appropriate form—and adds these templates to Category:Class subtemplates.

Usage

Only the template needs to be called, it will use {{BASEPAGENAME}} to reference its parent template.

{{Class subtemplate}}
Warning: Class subtemplate
This is a support template for the main class template Template:Class subtemplate—it should not invoked in other circumstances.