Template talk:Doc/Template: Difference between revisions
From Halopedia, the Halo wiki
Number 3434 (talk | contribs) mNo edit summary Tag: Mobile edit |
Number 3434 (talk | contribs) mNo edit summary Tag: Mobile edit |
||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{#tag:pre|{{msgnw:Doc/Template}}}} | {{#tag:pre|{{msgnw:Doc/Template}}}} | ||
</pre> | </pre> | ||
is rendered as | is rendered as | ||
{{#tag:pre|{{msgnw:Doc/Template}}}} | {{#tag:pre|{{msgnw:Doc/Template}}}} | ||
I would like to make a [[Template talk:src|template]] for this. | I would like to make a [[Template talk:src|template]] for this. |
Revision as of 06:51, March 28, 2024
Add a view source feature (i.e. using msgnw)
For example, the following:
{{#tag:pre|{{msgnw:Doc/Template}}}}
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.