Template:Xpd/w/doc
This is a documentation subpage for Template:Xpd/w. It contains usage information, categories, and other content that is not part of the original template page. |
This is an auxiliary template of the expansion demo templates, see Help:Expansion demo templates and Template:Xpda. It is called by Template:Xpda. For every piece of wikitext, this template Xpd/w is used to display it, as part of the demo. The piece of wikitext is surrounded by nowiki-tags with {{#tag:nowiki|{{{1}}}}}
, to show it without alteration (avoiding code for bold, italics, links etc. to be interpreted), even after concatenation of the result with the results of applying the template to other pieces. For this purpose the user of the expansion demo template has to split up the wikitext appropriately.
Newlines and various special codes such as "*", ":", and "#" are treated separately.
Examples (see the "Result" in the linked ExpandTemplates page):