Template:Mra/doc

From TSP Encyclopedia
Revision as of 19:34, 2 January 2022 by Pronoun (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> {{subst only}} mra = markup renders as == Purpose == Duplicate each parameter, and send them to Template:Markup, each of them once wrapped in nowiki tags and once displayed normally. == Usage == Use this template with at least one parameter and at most 30 parameters. '''Keep all the parameters on the same line....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

mra = markup renders as

Purpose

Duplicate each parameter, and send them to Template:Markup, each of them once wrapped in nowiki tags and once displayed normally.

Usage

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

{{subst:mra|'''Bold text'''|''Italic text''|[[Internal link]]}}

Result in edit window:

{{markup|
<nowiki>'''Bold text'''</nowiki>|'''Bold text'''|
<nowiki>''Italic text''</nowiki>|''Italic text''|
<nowiki>[[Internal link]]</nowiki>|[[Internal link]]}}

Result in preview or after saving:

Markup Renders as
'''Bold text'''

Bold text

''Italic text''

Italic text

[[Internal link]]

See also