Template:Markup2/doc

From Mod My Classic Wiki
< Template:Markup2
Revision as of 02:15, 5 January 2019 by Milenko (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> This template is used to create formatted examples of markup in doc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template is used to create formatted examples of markup in documentation.

Parameters[edit]

  • t: title
  • m through m5: markup; wrap in <nowiki>...</nowiki>
  • r through r5: rendered markup

Examples[edit]

Basic usage with url (and accessdate) and edition

  • {{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}}
Bloggs, Joe (1974). Book of Bloggs (1st ed.). Retrieved February 17, 2006.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>

Basic usage with url (and accessdate) and edition

  • {{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}}
Bloggs, Joe (1974). Book of Bloggs (1st ed.). Retrieved February 17, 2006.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>

See also[edit]

  • {{markup}}: side by side markup
  • {{markup2}}: bulleted and indented markup
  • {{markupv}}: above and below markup