Template:Markupv: Difference between revisions

m 1 revision imported
m 1 revision imported
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable" style="{{#if: {{{margin|}}} | margin-left: {{{margin}}}em;}}{{{style|}}}"
<includeonly><templatestyles src="Template:Markup/styles.css" />
{{#if: {{{title|{{{t|}}}}}} | {{!}}+ {{{title|{{{t|}}}}}}}}
{| class="markup {{{class|}}}" style="margin-left: {{#if:{{{margin|}}}|{{{margin}}}em|0}};{{{style|}}}"
|-
{{#if:{{{title|{{{t|}}}}}}|{{!}}+ style="{{{titlestyle|{{{tstyle|}}}}}}" {{!}} {{{title|{{{t|}}}}}}}}
! Markup
! scope="row" {{!}} Markup
| {{#tag:pre|{{{markup|{{{m|Markup}}}}}}|style="word-wrap: break-word; white-space: pre-wrap"}}
{{!}} style="{{{markupstyle|{{{mstyle|}}}}}}" {{!}} <div class="markup-wrapper" style="display: table-cell;">{{#switch:{{{tag|}}}
|-
  | none = {{{markup|{{{m|}}}}}}
! Renders as
  | div = {{#tag:div|{{{markup|{{{m|}}}}}}|style="{{{markupstyle|{{{mstyle|}}}}}}"|class="markup-markup"}}
| {{{renders|{{{r|Renders}}}}}}
  | pre = {{#tag:pre|{{{markup|{{{m|}}}}}}|style="{{{markupstyle|{{{mstyle|}}}}}}"|class="markup-markup"}}
  | syntaxhighlight = {{#tag:syntaxhighlight|{{{markup|{{{m|}}}}}}|lang="wikitext"|style="{{{markupstyle|{{{mstyle|}}}}}}"|class="markup-markup"}}
  | #default = {{#tag:{{{tag|code}}}|{{{markup|{{{m|}}}}}}|style="{{{markupstyle|{{{mstyle|}}}}}}"|class="markup-markup"}}
  }}</div>
{{!-}}
! scope="row" {{!}} Renders as
{{!}} style="{{{renderstyle|{{{rstyle|}}}}}}" {{!}} <div class="markup-wrapper" style="display: table-cell;">{{{renders|{{{r|}}}}}}</div>
|}</includeonly><noinclude>
|}</includeonly><noinclude>
{{documentation}}
{{Documentation}}</noinclude>
</noinclude>

Latest revision as of 11:46, 21 September 2026