Difference between revisions of "Template:Markup2"

From blackwiki
Jump to navigation Jump to search
test>Gadget850
(add 5)
m (10 revisions imported)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''{{{title|{{{t|}}}}}}'''
+
{{#if: {{{t|}}}|'''{{{t|}}}'''
*<code>{{{markup|{{{m|}}}}}}</code>
+
*<code>{{{m|}}}</code>
:{{{renders|{{{r|}}}}}}
+
:{{{r|}}}|*<code>{{{m|}}}</code>
{{#if: {{{{{{markup2|{{{m2|}}}}}}|
+
:{{{r|}}}}}{{#if: {{{m2|}}}|
*<code>{{{markup2|{{{m2|}}}}}}</code>
+
*<code>{{{m2|}}}</code>
:{{{renders2|{{{r2|}}}}}}}}}}}{{#if: {{{{{{markup3|{{{m3|}}}}}}|
+
:{{{r2|}}}}}{{#if: {{{m3|}}}|
*<code>{{{markup3|{{{m3|}}}}}}</code>
+
*<code>{{{m3|}}}</code>
:{{{renders3|{{{r3|}}}}}}}}}}}{{#if: {{{{{{markup4|{{{m4|}}}}}}|
+
:{{{r3|}}}}}{{#if: {{{m4|}}}|
*<code>{{{markup4|{{{m4|}}}}}}</code>
+
*<code>{{{m4|}}}</code>
:{{{renders4|{{{r4|}}}}}}}}}}}{{#if: {{{{{{markup5|{{{m5|}}}}}}|
+
:{{{r4|}}}}}{{#if: {{{m5|}}}|
*<code>{{{markup5|{{{m5|}}}}}}</code>
+
*<code>{{{m5|}}}</code>
:{{{renders5|{{{r5|}}}}}}}}}}}
+
:{{{r5|}}}}}<noinclude>
<noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:20, 4 September 2020

Template documentation[view] [edit] [history] [purge]

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