Template:Qud look: Difference between revisions

Jump to navigation Jump to search
28 bytes added ,  02:13, 27 July 2019
added optional notxml argument
m (replace ''' with font-weight:bold; to avoid rendering issues when multiple sets of apostrophes are applied)
(added optional notxml argument)
Line 1: Line 1:
<div class="qud-box-wrapper {{#ifeq:{{{bordercolor|}}}| y |white-border|}}"><div class="qud-box"><span class="qud-box-header">{{Qud text|&amp;y{{{title|{{BASEPAGENAME}}}}}}}</span><div class="qud-box-content" style="font-weight:bold; line-height:{{{lineheight|1.5}}}em; padding:0em {{{padding|0}}}em;">{{#tag:poem|{{Qud text|&amp;y{{{text|text here}}}}}}}</div><span class="qud-box-footer-left">{{#ifeq: {{{bottomtext|}}}| none ||{{Qud text|&amp;Y{{{bottomtext|Perfect}}}}}}}</span></div></div><noinclude>[[Category:Templates]]
<div class="qud-box-wrapper {{#ifeq:{{{bordercolor|}}}| y |white-border|}}"><div class="qud-box"><span class="qud-box-header">{{Qud text|&amp;y{{{title|{{BASEPAGENAME}}}}}}}</span><div class="qud-box-content" style="font-weight:bold; line-height:{{{lineheight|1.5}}}em; padding:0em {{{padding|0}}}em;">{{#tag:poem|{{Qud text|&amp;y{{{text|text here}}}}}}}</div><span class="qud-box-footer-left">{{#ifeq: {{{bottomtext|}}}| none ||{{Qud text|&amp;Y{{{bottomtext|Perfect}}}{{#ifeq:{{{notxml|no}}}|yes|{{!}}notxml}}}}}}</span></div></div><noinclude>[[Category:Templates]]
{| class="wikitable"
{| class="wikitable"
! title
! title
Line 5: Line 5:
|-
|-
! text
! text
| the text that is automatically parsed. uses XML parsing but if you want to not, add in <code><nowiki>{{!}} notxml</nowiki></code> to your text.
| the text that is automatically parsed. uses XML parsing by default.
|-
|-
! bottomtext
! bottomtext
Line 18: Line 18:
! padding
! padding
| left padding. defaults to 0em.
| left padding. defaults to 0em.
|-
! notxml
| set to yes if you want it to parse using notxml.
|}
|}
==Example==
==Example==

Navigation menu