Template:Metatemplate/Draft 1

From Library
Jump to navigation Jump to search

A template used to create new templates.

Template source code

(hidden unless template is transcluded or substituted into the wikitext of this or another page)


Parameters

Unnamed, processed in order:

#1, aka {{{1}}}=
DESCRIPTION
#2, aka {{{2}}}=
DESCRIPTION

Named:

note=
Notes to be included in template output (optional; reserved for future use)
comment=
Hidden comments (only for wikitext source and perhaps HTML source output) (optional; reserved for future use)

Usage details

Template:Tlx

Example usage

{{Metatemplate/Draft 1 |NamedParameter1=Templating language |NamedParameter2=Templating_language }}

Example result

(auto-generated, recursively as necessary, using the live template code)


Delete this example line: If you can read this, you’re using Template:Metatemplate/Draft 1 with a parameter value of:”African swallow”

If you can read this, you’re using Template:Metatemplate/Draft 1 with a parameter value of:”{{{1}}}”

Result with no parameters

If you can read this, you’re using Template:Metatemplate/Draft 1 with a parameter value of:”{{{1}}}”

Double result

(to check for whitespace issues)

If you can read this, you’re using Template:Metatemplate/Draft 1 with a parameter value of:”{{{1}}}”If you can read this, you’re using Template:Metatemplate/Draft 1 with a parameter value of:”{{{1}}}”

Expected result

(manually-generated, static text)

STATIC OUTPUT GOES HERE

Raw template code

(not currently working as intended)

1: If you can read this, you’re using Template:Metatemplate/Draft 1 with a parameter value of:”{{{1}}}”

2: If you can read this, you’re using Template:Metatemplate/Draft 1 with a parameter value of:”{{{1}}}”

References and external links

(directly related to this template only, please)




Footer

Template:Collapse top

Unrelated notes

(Move to: Template:Meta/Random notes)

Template:Collapse bottom


Template:Collapse top

Template:Metatemplate/Notes


Debug

{{PAGENAME}}
Metatemplate/Draft 1
{{ROOTPAGENAME}}
Metatemplate
{{NAMESPACE}}
Template
<!-- These aren’t disabled by ‘nowiki’ tags! --><code>
< /noinclude>< blockquote>< noinclude>* noinclude< /noinclude>
< includeonly>* includeonly>< /includeonly>
< onlyinclude>* onlyinclude1< /onlyinclude>
* just plain text< /blockquote>< noinclude>

<!-- BLANKCOMMENT --></code>

Template:Collapse bottom