Template:Edit and call

[{{fullurl:{{{1}}}|action=edit}} {{{{{1}}}}}]

Template documentation

DcumentationEdit

Edit page, show Contents.

Transcludes the contents of a page, and wraps the transcluded page in a link to its edit URL. Thus we can have, for example, a table of data, with each data item stored in a separate template; using this "Template:Edit and call" we can make every data item clickable, allowing one to modify the data item without bothering about the table syntax and other wikitext.

The transcluded page can contain template calls, but, after the substitutions, it should not contain a newline or a square bracket (unless within nowiki tags). Thus it can be only one paragraph, without links or images, but with italics and bold.

{{Edit and call|template:Edit and call/test}} gives:

[//meta.wikimedia.org/w/index.php?title=Template:Edit_and_call/test&action=edit == Heading text
Q == erease
== Cite error: Invalid <ref> tag; refs with no name must have content ==]

ExperimentsEdit

{{edit|template:Edit and call/test|{{template:Edit and call/test}}}} gives:

[//meta.wikimedia.org/w/index.php?title=Template:Edit_and_call/test&action=edit == Heading text
Q == erease
== Cite error: Invalid <ref> tag; refs with no name must have content ==]

[[template:Edit and call/test|{{msgnw:template:Edit and call/test}}]] gives:

== <nowiki>Heading text</nowiki><br /> Q == erease<br /> =='"`UNIQ--h-4--QINU`"' <ref></ref> ==