Template talk:Doc/Template

From Halopedia, the Halo wiki

Revision as of 07:33, March 28, 2024 by Number 3434 (talk | contribs) (Created page with "Add a view source feature (i.e. using msgnw) For example, the following: <pre> <code> {{#tag:pre|{{msgnw:Doc/Template}}}} <code> </pre> is rendered as <code> {{#tag:pre|{{msgnw:Doc/Template}}}} </code> I would like to make a template for this.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Add a view source feature (i.e. using msgnw)

For example, the following:

<code>
{{#tag:pre|{{msgnw:Doc/Template}}}}
<code>

is rendered as

<includeonly>{{Doc
|Title=Template Documentation
|Target=TemplateDoc:{{PAGENAME}}
|Content=
__TOC__
{{#ifexist:TemplateDoc:{{PAGENAME}}|{{TemplateDoc:{{PAGENAME}}}}|This template has no associated documentation. Would you like to [[TemplateDoc:{{PAGENAME}}|create it?]]}}
}}</includeonly><noinclude>{{Doc/Template}} [[Category:Documentation templates]]</noinclude>

I would like to make a template for this.