Template:Qud dialogue: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(Changed font to Source Code Pro)
(removed wikitable class to hopefully make it behave on mobile)
Line 1: Line 1:
{{#if: {{{nodetitle|}}} | ==={{{nodetitle}}}===}}
{{#if: {{{nodetitle|}}} | ==={{{nodetitle}}}===}}
{| class="wikitable" style="margin:.5%; width:{{{width|69}}}%; font-family:Source Code Pro, Lucida Console, Consolas; color:#b1c9c3; border-color:#b1c9c3; border-width:4px;"
{| style="margin:.5%; width:{{{width|69}}}%; font-family:Source Code Pro, Lucida Console, Consolas; color:#b1c9c3; border:4px solid #b1c9c3;"
| style="padding: 20px 40px;" |{{#tag:poem|{{Qud text|{{{text}}}}}}}
| style="padding: 20px 40px;" |{{#tag:poem|{{Qud text|{{{text}}}}}}}
|}<noinclude>[[Category:Templates]]
|}<noinclude>[[Category:Templates]]

Revision as of 20:57, 15 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!