Template:Code example/doc

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search

{{#invoke:Message box|mbox}}

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