Template talk:Msgnw demo

From Meta, a Wikimedia project coordination wiki
View this page using:
old preprocessor
new preprocessor
diff

See also Help:Template#msgnw.

{{Msgnw demo}} gives

  • abc def ghi
  • jkl start-p-end in 6 08:24 q
  1. a
  2. b

jkl mno

 [1]

{{msgnw:Msgnw demo}} gives <!--Msgnw demo--> <includeonly>*abc '''def''' ''ghi'' &le; *[[jkl]] {{t1demo|p}} [[{{tc}}]] {{#expr:2*3}} {{CURRENTTIME}} {{{p|q}}} #a #b jkl mno </includeonly><noinclude>{{doc}}<templatedata> { "params": { "p": {} } } </templatedata></noinclude> [2]


Expanding {{msgnw:Msgnw demo}} gives (see edit box, it shows &#39 for "'", and similarly for {}[], and &lt; for <, and similarly for >, but it gives * and # literally)


<!--Msgnw demo-->
<includeonly>*abc '''def''' ''ghi'' 
*[[jkl]] {{tc}} [[{{tc}}]]
#a
#b
jkl
mno
</includeonly><noinclude>[[Category:Demo template]]</noinclude>

rendered as


<!--Msgnw demo--> <includeonly>*abc '''def''' ''ghi''

  • [[jkl]] {{tc}} [[{{tc}}]]
  1. a
  2. b

jkl mno </includeonly><noinclude>[[Category:Demo template]]</noinclude>


while the edit box shows


<!--Msgnw demo-->
<includeonly>*abc '''def''' ''ghi'' 
*[[jkl]] {{tc}} [[{{tc}}]]
#a
#b
jkl
mno
</includeonly><noinclude>[[Category:Demo template]]</noinclude>