Difference between revisions of "Template:Markup2/doc"

From Second Life Wiki
Jump to navigation Jump to search
(→‎Examples: Added missing example)
m (→‎Examples: fixed duplicate entry)
Line 12: Line 12:
== Examples ==
== Examples ==


{{pre|<nowiki>
{{pre2|<nowiki>
{{markup2 |t=Basic usage with url (and accessdate) and edition
{{markup2 |t=Basic usage with url (and accessdate) and edition
|m=&lt;{{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}}&lt;/nowiki>
|m=&lt;{{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}}&lt;/nowiki>
Line 19: Line 19:


{{markup2 |t=Basic usage with url (and accessdate) and edition
{{markup2 |t=Basic usage with url (and accessdate) and edition
|m=<nowiki>{{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}}</nowiki>
|r={{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}}
}}
{{markup2|t=Basic usage with url (and accessdate) and edition
|m=<nowiki>{{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}}</nowiki>
|m=<nowiki>{{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}}</nowiki>
|r={{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}}
|r={{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}}

Revision as of 20:08, 18 September 2022

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=<{{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

See also

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