8,756
edits
(fixed corner case of a line starting with a plain *) |
(added padding) |
||
Line 1: | Line 1: | ||
{{#if: {{{nodetitle|}}} | ==={{{nodetitle}}}===}} | {{#if: {{{nodetitle|}}} | ==={{{nodetitle}}}===}} | ||
<div class="qud-box-wrapper {{#ifeq:{{{bordercolor|}}}| C ||white-border}}"><div class="qud-box"><span class="qud-box-header">{{Qud text|&W{{{title|{{BASEPAGENAME}}}}}}}</span><div class="qud-box-content" style="line-height:{{{lineheight|1.5}}}em;">'''{{#tag:poem|{{Qud text|&y{{{text|text here}}}}}}}'''</div><span class="qud-box-footer-left">{{#ifeq: {{{bottomtext|none}}}| none ||{{Qud text|&Y{{{bottomtext}}}}}}}</span></div></div><noinclude>[[Category:Templates]] | <div class="qud-box-wrapper {{#ifeq:{{{bordercolor|}}}| C ||white-border}}"><div class="qud-box"><span class="qud-box-header">{{Qud text|&W{{{title|{{BASEPAGENAME}}}}}}}</span><div class="qud-box-content" style="line-height:{{{lineheight|1.5}}}em; padding:0em {{{padding|1}}}em;">'''{{#tag:poem|{{Qud text|&y{{{text|text here}}}}}}}'''</div><span class="qud-box-footer-left">{{#ifeq: {{{bottomtext|none}}}| none ||{{Qud text|&Y{{{bottomtext}}}}}}}</span></div></div><noinclude>[[Category:Templates]] | ||
{| class="wikitable" | {| class="wikitable" | ||
! title | ! title | ||
Line 19: | Line 19: | ||
! lineheight | ! lineheight | ||
| takes a float and changes line height to that in em. defaults to 1.5em. | | takes a float and changes line height to that in em. defaults to 1.5em. | ||
|- | |||
! padding | |||
| left padding. defaults to 1em. | |||
|} | |} | ||
==Example== | ==Example== |