Template:Markupv/testcases
Appearance
This is the template test cases page for the sandbox of Template:Markupv. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
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}}
Markup |
|
---|---|
Renders as | White, T. H. (1977). The Book of Merlyn.
|
{{Markupv/sandbox}}
Markup |
|
---|---|
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 |