模板:Markup2/doc

来自决策链云智库
< 模板:Markup2
Zeroclanzhang讨论 | 贡献2024年1月16日 (二) 22:54的版本 (创建页面,内容为“{{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 documentation. == Parameters == * '''t''': title * '''m''' through '''m5''': markup; wrap in {{tag|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 |author-link…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

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