Template:Xpd/w

From PortlandWiki
Jump to navigation Jump to search

{{{1}}}

[edit] [history] [purge] Documentation icon Template documentation

This is an auxiliary template of the expansion demo templates.

It has as parameter {{{1}}} a piece of wikitext, and produces the wikitext needed to display it properly. The core is {{#tag:nowiki|{{{1}}}}}, thus avoiding code for bold, italics, links etc. to be interpreted. Newlines and various special codes such as *', ":", and "#" are treated separately.

It is called by Template:Xpda.

Examples:

  • abc
  • a'''b'''c
  • a[[b]]c
The above documentation is transcluded from Template:Xpd/w/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.