ထႅမ်းပလဵတ်ႉ:demo
Appearance
- The following documentation is located at ထႅမ်းပလဵတ်ႉ:demo/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions
Uses Lua:
This template displays Wikicode followed by the output of the Wikicode below it. It is similar to but more powerful than {{temp demo}}.
တူဝ်ယၢင်ႇ
[မႄးထတ်း]1. A simple example:
{{demo|<nowiki>{{l|grc|δῆμος|g=m}}</nowiki>}}
results in the following (not including the horizontal separators):
{{l|grc|δῆμος|g=m}}
2. A more complex example:
{{demo|sep=produces|<nowiki>{{quote-book|en
|author=w:William Shakespeare
|title=[[w:First Folio|Mr. William Shakespeares Comedies, Histories, & Tragedies: Published According to the True Originall Copies]]
|location=London
|publisher=Printed by [[w:William Jaggard|Isaac Iaggard]], and [[w:Edward Blount|Ed[ward] Blount]]
|year=c. 1601–1602
|year_published=1623
|page=255
|pageurl=https://books.google.com/books?id=uNtBAQAAMAAJ&pg=PA255
|oclc=606515358
|text='''Twelfe Night''', Or vvhat you vvill. [title of play]
}}</nowiki>}}
results in the following (not including the horizontal separators):
{{quote-book|en
|author=w:William Shakespeare
|title=[[w:First Folio|Mr. William Shakespeares Comedies, Histories, & Tragedies: Published According to the True Originall Copies]]
|location=London
|publisher=Printed by [[w:William Jaggard|Isaac Iaggard]], and [[w:Edward Blount|Ed[ward] Blount]]
|year=c. 1601–1602
|year_published=1623
|page=255
|pageurl=https://books.google.com/books?id=uNtBAQAAMAAJ&pg=PA255
|oclc=606515358
|text='''Twelfe Night''', Or vvhat you vvill. [title of play]
}}
c. 1601–1602, w:William Shakespeare, Mr. William Shakespeares Comedies, Histories, & Tragedies: Published According to the True Originall Copies, London: Printed by Isaac Iaggard, and Ed[ward] Blount, published 1623, →OCLC, page 255:
- Twelfe Night, Or vvhat you vvill. [title of play]
- (ၶႅၼ်းတေႃႈ ၽိူမ်ႉသႂ်ႇပၼ် လွင်ႈပိၼ်ႇၽႃႇသႃႇတႆး တွၼ်ႈတႃႇ ၽိုၼ်ဢိင်ဢၼ်ၼႆႉ)
ပႃႇရႃႇမီႇတႃႇ
[မႄးထတ်း]|1=(required)- The Wikicode, which must be wrapped in
<nowiki>...</nowiki>. |sep=- The text separating the Wikicode and its output (default is blank). Use
<br />to force extra blank lines. |br=- The number of blank lines separating the Wikicode from its output, if
|sep=is not supplied. |reverse=1- If specified, place the output above the Wikicode.
|nocat=1- If specified, remove categories output by the Wikicode, to avoid the documentation page containing the demo from being put in a category.
|style=- The syntax highlighting style; passed directly to the
syntaxhighlightextension tag.