Template:Code example/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:Code example. It contains usage information, categories and other content that is not part of the original template page. |
Usage
With this template, simple examples of Wiki syntax can be displayed. The parameters 1 und 2 have as alternative names Entry and Display.
Examples
{{Code example|<nowiki>'''Bold''' or ''italics''</nowiki>|'''Bold''' or ''italics''}}
or
{{Code example
|Entry = <nowiki>'''Bold''' or ''italics''</nowiki>
|Display = '''Bold''' or ''italics''
}}
produces
| Entry | '''Bold''' or ''italics'' |
| Display | Bold or italics |
See also
- {{Template example bullet}}
- {{Template example row}}
- {{Tbulletp}}