Difference between revisions of "Template:Markup2"
Jump to navigation
Jump to search
test>Gadget850 (fix t) |
test>Gadget850 (ws) |
||
| Line 1: | Line 1: | ||
{{#if: {{{t|}}}|'''{{{t|}}}'''<br />}}*<code>{{{m|}}}</code> | {{#if: {{{t|}}}|'''{{{t|}}}'''<br />}}*<code>{{{m|}}}</code> | ||
| − | :{{{r|}}} | + | :{{{r|}}}{{#if: {{{m2|}}}| |
| − | {{#if: {{{m2|}}}| | ||
*<code>{{{m2|}}}</code> | *<code>{{{m2|}}}</code> | ||
| − | :{{{r2|}}} | + | :{{{r2|}}}}}{{#if: {{{m3|}}}| |
| − | |||
*<code>{{{m3|}}}</code> | *<code>{{{m3|}}}</code> | ||
| − | :{{{r3|}}} | + | :{{{r3|}}}}}{{#if: {{{m4|}}}| |
| − | |||
*<code>{{{m4|}}}</code> | *<code>{{{m4|}}}</code> | ||
| − | :{{{r4|}}} | + | :{{{r4|}}}}}{{#if: {{{m5|}}}| |
| − | |||
*<code>{{{m5|}}}</code> | *<code>{{{m5|}}}</code> | ||
:{{{r5|}}}}}<noinclude> | :{{{r5|}}}}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 13:53, 25 October 2014
This template is used to create formatted examples of markup in documentation.
Parameters
- t: title
- m through m5: markup; wrap in
<nowiki>...</nowiki> - r through r5: rendered markup
Examples
Basic usage with url (and accessdate) and edition
*{{cite book |last=Bloggs |first=Joe |author-link=Joe Bloggs |date=1974 |title=Book of Bloggs |edition=1st |url=http://en.wikipedia.org/ |access-date=February 17, 2006}}
- Bloggs, Joe (1974). Book of Bloggs (1st ed.). Retrieved February 17, 2006.
Basic usage with url (and accessdate) and edition
*{{cite book |last=Bloggs |first=Joe |author-link=Joe Bloggs |date=1974 |title=Book of Bloggs |edition=1st |url=http://en.wikipedia.org/ |access-date=February 17, 2006}}
- Bloggs, Joe (1974). Book of Bloggs (1st ed.). Retrieved February 17, 2006.
See also
- {{markup}}: side by side markup
- {{markup2}}: bulleted and indented markup
- {{markupv}}: above and below markup
| The above documentation is transcluded from Template:Markup2/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |