Template:Qud dialogue: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
(oops i left a test variable in. i got rid of it.)
Line 1: Line 1:
{{#if: {{{nodetitle|f}}} | ==={{{nodetitle}}}===}}
{{#if: {{{nodetitle|}}} | ==={{{nodetitle}}}===}}
{| class="wikitable" style="margin:.5%; width:{{{width|69}}}%; font-family:Lucida Console, Consolas; color:#b1c9c3; border-color:#b1c9c3; border-width:4px;"
{| class="wikitable" style="margin:.5%; width:{{{width|69}}}%; font-family:Lucida Console, Consolas; color:#b1c9c3; border-color:#b1c9c3; border-width:4px;"
| style="padding: 20px 40px;" |{{#tag:poem|{{Qud text|{{{text}}}}}}}
| style="padding: 20px 40px;" |{{#tag:poem|{{Qud text|{{{text}}}}}}}

Revision as of 01:13, 4 July 2019

text

width specifies width in percentage. default 69%
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.

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!