Template:Qud dialogue: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
m (Protected "Template:Qud dialogue": important template. ([Move=Allow only administrators] (indefinite)))
(changed vertical padding)
Line 1: Line 1:
{{#if: {{{nodetitle|}}} | ==={{{nodetitle}}}===}}
{{#if: {{{nodetitle|}}} | ==={{{nodetitle}}}===}}
{| style="margin:1%; max-width:{{{width|68}}}%; font-family:Source Code Pro, Lucida Console, Consolas; font-size:{{{textsize|medium}}}; color:#b1c9c3; border:4px solid #{{#ifeq:{{{bordercolor|}}}| C |77bfcf|b1c9c3}}"
{| style="margin:1%; max-width:{{{width|68}}}%; font-family:Source Code Pro, Lucida Console, Consolas; font-size:{{{textsize|medium}}}; color:#b1c9c3; border:4px solid #{{#ifeq:{{{bordercolor|}}}| C |77bfcf|b1c9c3}}"
| style="padding: 20px 30px;" |'''{{#tag:poem|{{Qud text|{{{text}}}}}}}'''
| style="padding: 15px 30px;" |'''{{#tag:poem|{{Qud text|{{{text}}}}}}}'''
|}<noinclude>[[Category:Templates]]
|}<noinclude>[[Category:Templates]]
{| class="wikitable"
{| class="wikitable"

Revision as of 23:49, 15 July 2019

text

width specifies width in percentage. default 68%
text the text that is automatically parsed. uses XML parsing but if you want to not, add in {{!}} notxml to your text.
nodetitle the title that choices will jump to.
textsize size. defaults to medium. takes small/medium/large
bordercolor if = C, change the border to cyan. defaults to off white

Example

Qud is a strange and terrifying mesa to the northeast. Her tainted rivers breed life in all its motley forms; her poisoned jungles shelter priceless relics of a forgotten past.

But that is just the half of it, for Qud's most precious treasures -- and her most hideous children -- lie within the innumerable chrome caverns beneath the scarlet loam.

To ply those silver hollows -- a spry adventurer's dream! The years have wizened me beyond such foolish ambitions, but, you! Be not deterred so!