Jump to content

Template:Markupv/testcases

From Wikipedia, the free encyclopedia
Basic functionality
{{Markupv|m='''Bold text''' |r='''Bold text'''}}

{{Markupv}}

Markup
'''Bold text'''
Renders as Bold text

{{Markupv/sandbox}}

Markup
'''Bold text'''
Renders as Bold text
More complex, with title
{{Markupv|t=Cite book example
|m=<syntaxhighlight lang="mediawiki>{{Cite book |last=White |first=T. H. |title=The Book of Merlyn |year=1977}}</syntaxhighlight>
|r={{Cite book |last=White |first=T. H. |title=The Book of Merlyn |year=1977}}
}}

{{Markupv}}


Cite book example
Markup
{{Cite book |last=White |first=T. H. |title=The Book of Merlyn |year=1977}}
Renders as White, T. H. (1977). The Book of Merlyn.

{{Markupv/sandbox}}


Cite book example
Markup
{{Cite book |last=White |first=T. H. |title=The Book of Merlyn |year=1977}}
Renders as White, T. H. (1977). The Book of Merlyn.
With margin and style parameters
{{Markupv|m='''Bold text''' |margin=4 |r='''Bold text''' |style=border: 5px solid red}}

{{Markupv}}

Markup
'''Bold text'''
Renders as Bold text

{{Markupv/sandbox}}

Markup
'''Bold text'''
Renders as Bold text