Template:Qud dialogue: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(increased text size)
(made all text autobold and added a new value: textsize)
Line 1: Line 1:
{{#if: {{{nodetitle|}}} | ==={{{nodetitle}}}===}}
{{#if: {{{nodetitle|}}} | ==={{{nodetitle}}}===}}
{| style="margin:.5%; width:{{{width|69}}}%; font-family:Source Code Pro, Lucida Console, Consolas; font-size:medium; color:#b1c9c3; border:4px solid #b1c9c3;"
{| style="margin:.5%; width:{{{width|69}}}%; font-family:Source Code Pro, Lucida Console, Consolas; font-size:{{{textsize|medium}}}; 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]]
{| class="wikitable"
{| class="wikitable"
Line 12: Line 12:
! nodetitle
! nodetitle
| the title that [[Template:Qud dialogue:choice|choices]] will jump to.
| the title that [[Template:Qud dialogue:choice|choices]] will jump to.
|-
! textsize
| size. defaults to medium. takes small/medium/large
|}
|}
==Example==
==Example==

Revision as of 21:52, 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.
textsize size. defaults to medium. takes small/medium/large

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!