Template:Markup renders as
Appearance
(Redirected from Template:Mra)
{{markup | }}
| This template should always be substituted – use {{subst:Markup renders as}}. |
Purpose
[edit]"Markup renders as" (mra) duplicates each parameter and sends them to {{Markup}}, displaying each parameter first as Wikitext markup wrapped in <nowiki> tags then as they would normally appear when used.
Usage
[edit]Use this template with at least one parameter and at most 30 parameters. Keep all the parameters on the same line.
{{subst:mra|Arbitrary wiki markup1|Arbitrary wiki markup2|Arbitrary wiki markup3... and so on up to 30}}
Examples
[edit]{{subst:mra|'''Bold text'''|''Italic text''|[[Internal link]]}}
Result in "Show changes":
{{markup
|<nowiki>'''Bold text'''</nowiki>|'''Bold text'''
|<nowiki>''Italic text''</nowiki>|''Italic text''
|<nowiki>[[Internal link]]</nowiki>|[[Internal link]]
}}
Result in "Show preview" or after saving:
| Markup | Renders as |
|---|---|
'''Bold text''' |
Bold text |
''Italic text'' |
Italic text |
[[Internal link]] |
See also
[edit]- {{markup}}
- {{Automarkup}}