Difference between revisions of "Template:Markup2/doc"
Jump to navigation
Jump to search
imported>Gadget850 (→Examples: fix) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
{{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 | | + | |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 | | + | |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 | {{markup2|t=Basic usage with url (and accessdate) and edition | ||
− | |m=<nowiki>{{cite book |last=Bloggs |first=Joe | | + | |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 | | + | |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}} |
}} | }} | ||
Line 27: | Line 27: | ||
* {{tl|markupv}}: above and below markup | * {{tl|markupv}}: above and below markup | ||
− | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
<!-- Categories go here and interwikis go in Wikidata. --> | <!-- Categories go here and interwikis go in Wikidata. --> | ||
+ | [[Category:Documentation assistance templates]] | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 00:36, 26 April 2020
![]() | This is a documentation subpage for Template:Markup2. It contains usage information, categories and other content that is not part of the original template page. |
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