Misplaced Pages

Template:Debug/doc: Difference between revisions

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
< Template:Debug Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 04:44, 1 October 2024 editGrufo (talk | contribs)Extended confirmed users4,609 edits + ‘__EXPECTUNUSEDTEMPLATE__’← Previous edit Latest revision as of 10:05, 1 October 2024 edit undoGrufo (talk | contribs)Extended confirmed users4,609 editsmNo edit summary 
Line 1: Line 1:
{{Documentation subpage}} {{Documentation subpage}}
{{May be substituted}} {{May be substituted}}
{{Transclusionless}}
{{Lua|Module:Params}} {{Lua|Module:Params}}


Line 18: Line 19:
<!-- Categories below this line --> <!-- Categories below this line -->
] ]
__EXPECTUNUSEDTEMPLATE__
}}</includeonly> }}</includeonly>

Latest revision as of 10:05, 1 October 2024

This is a documentation subpage for Template:Debug.
It may contain usage information, categories and other content that is not part of the original template page.
This template may be substituted.
This template may have no transclusions. This is because it is substituted by a tool or script, it is used as part of a short-term or less active Misplaced Pages process, or for some other reason.
This template uses Lua:

This is a debug template that echoes the arguments it was called with. You can easily spot errors in your code by temporarily replacing the name of a called template with debug.

Ideally there should not be pages that permanently transclude this template.

Usage

  • {{Debug|hello|world|one{{!}}two{{!}}three{{!}}four|A {{=}} B|C &#61; D|foo=bar}}
    ↳ {{Debug|1=hello|2=world|3=one{{!}}two{{!}}three{{!}}four|4=A = B|5=C &#61; D|foo=bar}}

See also


Template:Debug/doc: Difference between revisions Add topic