Template:Qud look: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
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}}}{{#ifeq:{{{notxml|no}}}|yes| {{!}} notxml }}}}}}</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}}}{{#ifeq:{{{notxml|no}}}|yes| {{!}}notxml}}}}}}</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 02:26, 27 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 by default.
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.
notxml set to yes if you want it to parse using notxml.

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