Template:Markup2
Revision as of 08:03, 17 September 2022 by Gwyneth Llewelyn (talk | contribs) (Shamelessly copied from wikipedia.org)
This documentation is transcluded from Template:Markup2/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
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
{{markup2 |t=Basic usage with url (and accessdate) and edition |m=<nowiki>{{cite book |last=Bloggs |first=Joe |authorlink=Joe Bloggs |date=1974 |title=Book of Bloggs |edition=1st |url=http://en.wikipedia.org/ |accessdate=February 17, 2006}}</nowiki> |r={{cite book |last=Bloggs |first=Joe |authorlink=Joe Bloggs |date=1974 |title=Book of Bloggs |edition=1st |url=http://en.wikipedia.org/ |accessdate=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.). http://en.wikipedia.org/.