Template:Qud look: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(changed what border color char is needed)
m (replace ''' with font-weight:bold; to avoid rendering issues when multiple sets of apostrophes are applied)
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="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}}}}}}}</span></div></div><noinclude>[[Category:Templates]]
{| class="wikitable"
{| class="wikitable"
! title
! title

Revision as of 20:33, 23 July 2019

Qud look

text here

Perfect
title specifies the title of the chat box. defaults to pagename in off white (&y)
text the text that is automatically parsed. uses XML parsing but if you want to not, add in {{!}} notxml to your text.
bottomtext The text that appears on the bottom of the border. defaults to Perfect in white (&Y). setting it to 'none' makes it disappear entirely.
bordercolor if = y, change the border to offwhite(&y). defaults to Cyan. (&C)
lineheight takes a float and changes line height to that in em. defaults to 1.5em.
padding left padding. defaults to 0em.

Example

hindren villager

Four deer legs paw nervously at the ground while human hands clutch the haft of a vinereaper. This creature's expressive face and muscular torso show a clear human lineage, but the thick fur over dappled flanks, the flickering, pointed ears, and the majestic antlers atop =pronouns.possessive= head tell a different story

Perfect