Template:Blockquote paragraphs: Difference between revisions

From OBA Wiki
Jump to navigation Jump to search
m (1 revision imported)
 
(No difference)

Latest revision as of 22:09, 31 January 2019

{{#invoke:Navbar|navbar}}

The <syntaxhighlight lang="html" class="" id="" style="" inline="1">

</syntaxhighlight> element and any templates that use it do not honor newlines:

Markup Renders as{{safesubst:#invoke:For loop|main}}

The simplest workaround for this is to use the Template:Xtag tag inside <syntaxhighlight lang="html" class="" id="" style="" inline="1">

</syntaxhighlight>, which will convert line breaks to <syntaxhighlight lang="html" class="" id="" style="" inline="1">
</syntaxhighlight> tags:

Markup Renders as{{safesubst:#invoke:For loop|main}}

To markup actual paragraphs within block quotations, entire blank lines can be used between them, which will convert to <syntaxhighlight lang="html" class="" id="" style="" inline="1">

...

</syntaxhighlight> tags:

Markup Renders as{{safesubst:#invoke:For loop|main}}

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}