Template:Edit and call

From Meta, a Wikimedia project coordination wiki

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

Template documentation

Dcumentation[edit]

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:

ac

Experiments[edit]

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

ac

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

ac