Difference between revisions of "Template:Blockquote paragraphs"

From skaldsong companion
m (1 revision imported)
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 01:26, 5 November 2019

The {{#if:|

|

}}{{#switch:o

|c|close  = 
|s|single
|o|open
|p|pair   = <blockquote{{#if:| {{{params}}}}}

}}{{#switch:o

|c|close  = 
|s|single =  />
|o|open   = >
|p|pair   = >...

}}{{#switch:o

|s|single
|o|open   = 
|c|close
|p|pair   = </blockquote>

}}{{#if:|

|

}} element and any templates that use it do not honor newlines:

{{#if: | |+ {{{title}}}}} {{#if: || ! style="width:50%" scope="col" | Markup}} {{#if: || ! style="width:50%" scope="col" | Renders as}}{{#if: <blockquote> Line 1 Line 2 Line 3 Line 4 </blockquote>

<blockquote>
Line 1
Line 2
Line 3
Line 4
</blockquote>

Line 1 Line 2 Line 3 Line 4

}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}

To resolve this, use the {{#switch:pair

|c|close  = 
|s|single
|o|open
|p|pair   = <{{#switch:poem
|categorytree={{#ifeq:Extension:CategoryTree|
 |

}}categorytree{{#ifeq:Extension:CategoryTree|

 |

}}

|charinsert={{#ifeq:Extension:CharInsert|
 |

}}charinsert{{#ifeq:Extension:CharInsert|

 |

}}

|gallery={{#ifeq:Help:Gallery tag|
 |

}}gallery{{#ifeq:Help:Gallery tag|

 |

}}

|hiero={{#ifeq:Extension:WikiHiero|
 |

}}hiero{{#ifeq:Extension:WikiHiero|

 |

}}

|imagemap={{#ifeq:Extension:ImageMap|
 |

}}imagemap{{#ifeq:Extension:ImageMap|

 |

}}

|inputbox={{#ifeq:Extension:InputBox|
 |

}}inputbox{{#ifeq:Extension:InputBox|

 |

}}

|math={{#ifeq:Extension:Math|
 |

}}math{{#ifeq:Extension:Math|

 |

}}

|nowiki={{#ifeq:Help:Nowiki|
 |

}}nowiki{{#ifeq:Help:Nowiki|

 |

}}

|poem={{#ifeq:Extension:Poem|
 |

}}poem{{#ifeq:Extension:Poem|

 |

}}

|pre=pre
|ref={{#ifeq:Extension:Cite/Cite.php|
 |

}}ref{{#ifeq:Extension:Cite/Cite.php|

 |

}}

|references={{#ifeq:Extension:Cite/Cite.php|
 |

}}references{{#ifeq:Extension:Cite/Cite.php|

 |

}}

|section={{#ifeq:Extension:Labeled Section Transclusion|
 |

}}section{{#ifeq:Extension:Labeled Section Transclusion|

 |

}}

|score={{#ifeq:Help:Score|
 |

}}score{{#ifeq:Help:Score|

 |

}}

|source={{#ifeq:Extension:SyntaxHighlight|
 |

}}source{{#ifeq:Extension:SyntaxHighlight|

 |

}}

|syntaxhighlight={{#ifeq:Extension:SyntaxHighlight|
 |

}}syntaxhighlight{{#ifeq:Extension:SyntaxHighlight|

 |

}}

|templatedata=templatedata
|timeline={{#ifeq:Extension:EasyTimeline|
 |

}}timeline{{#ifeq:Extension:EasyTimeline|

 |

}}

|#default=tag

}}{{#if:| {{{params}}}}} }}{{#switch:open

|c|close  = 
|s|single =  />
|o|open   = >
|p|pair   = >...

}}{{#switch:open

|s|single
|o|open   = 
|c|close
|p|pair   = </poem>

}} tag inside {{#if:|

|

}}{{#switch:o

|c|close  = 
|s|single
|o|open
|p|pair   = <blockquote{{#if:| {{{params}}}}}

}}{{#switch:o

|c|close  = 
|s|single =  />
|o|open   = >
|p|pair   = >...

}}{{#switch:o

|s|single
|o|open   = 
|c|close
|p|pair   = </blockquote>

}}{{#if:|

|

}}:

{{#if: | |+ {{{title}}}}} {{#if: || ! style="width:50%" scope="col" | Markup}} {{#if: || ! style="width:50%" scope="col" | Renders as}}{{#if: <blockquote><poem> Line 1 Line 2 Line 3 Line 4 </poem></blockquote>

<blockquote><poem>
Line 1
Line 2
Line 3
Line 4
</poem></blockquote>
<poem>

Line 1 Line 2 Line 3 Line 4

</poem>

}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}{{#if: |


}}

{{#switch:<translate></translate> | = Lua error: Internal error: The interpreter has terminated with signal "11". | #default = Script error: No such module "Template translation". }}