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=" | <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|}}}}}}}} | ||
! scope="row" {{!}} Markup | |||
| {{#tag:pre|{{{markup|{{{m| | {{!}} 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| | | 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}}</noinclude> | ||
</noinclude> | |||
Latest revision as of 11:46, 21 September 2026
File:Test Template Info-Icon - Version (2).svg Template documentationcreatepurge