Template:Qud dialogue: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(increased margin. goodbye 69)
mNo edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{nodetitle|}}} | ==={{{nodetitle}}}===}}
{{#if: {{{nodetitle|}}} | ==={{{nodetitle}}}===}}
{| style="margin:1%; width:{{{width|68}}}%; font-family:Source Code Pro, Lucida Console, Consolas; font-size:{{{textsize|medium}}}; color:#b1c9c3; border:4px solid #b1c9c3"
{{#invoke: qud look|qudlook||title=[ &amp;W{{{title|{{plain name}} }}} &amp;y]|text={{grammar|text={{#if:{{{1|}}}|{{{1}}}|{{{text|text here}}}}}}}|bottomtext=none|bordercolor=y|padding=1|linebreaks=yes}}<noinclude>[[Category:Qud Templates]]
| style="padding: 20px 40px;" |'''{{#tag:poem|{{Qud text|{{{text}}}}}}}'''
|}<noinclude>[[Category:Templates]]
{| class="wikitable"
{| class="wikitable"
! width
! title
| specifies width in percentage. default 68%
| specifies the title of the chat box. defaults to pagename in yellow.
|-
|-
! text
! text
Line 13: Line 11:
| the title that [[Template:Qud dialogue:choice|choices]] will jump to.
| the title that [[Template:Qud dialogue:choice|choices]] will jump to.
|-
|-
! textsize
! bottomtext
| size. defaults to medium. takes small/medium/large
| The text that appears on the bottom of the border. defaults to none, which makes it disappear entirely.
|-
! unnamed argument
| returns just the text dialogue with everything set to its default.
|}
|}
==Example==
==Example==
<syntaxhighlight lang="xml">
{{Qud dialogue
|nodetitle=node title here| text=Qud is a strange and terrifying mesa to the northeast. Her tainted rivers breed life in &amp;Gall&amp;y 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!
| title=Elder Irudad}}
</syntaxhighlight>
{{Qud dialogue
|nodetitle=node title here| text=Qud is a strange and terrifying mesa to the northeast. Her tainted rivers breed life in &amp;Gall&amp;y 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!
| title=Elder Irudad}}
<syntaxhighlight lang="xml">
{{Qud dialogue
|Qud is a strange and terrifying mesa to the northeast. Her tainted rivers breed life in &amp;Gall&amp;y 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!}}
</syntaxhighlight>
{{Qud dialogue
{{Qud dialogue
| text=Qud is a strange and terrifying mesa to the northeast. Her tainted rivers breed life in &amp;Gall&amp;y its motley forms; her poisoned jungles shelter priceless relics of a forgotten past.
|Qud is a strange and terrifying mesa to the northeast. Her tainted rivers breed life in &amp;Gall&amp;y 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.
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.

Latest revision as of 00:01, 12 April 2021

[ Qud dialogue ]

text here

title specifies the title of the chat box. defaults to pagename in yellow.
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.
bottomtext The text that appears on the bottom of the border. defaults to none, which makes it disappear entirely.
unnamed argument returns just the text dialogue with everything set to its default.

Example

{{Qud dialogue
|nodetitle=node title here| text=Qud is a strange and terrifying mesa to the northeast. Her tainted rivers breed life in &amp;Gall&amp;y 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!
| title=Elder Irudad}}

node title here

[ Elder Irudad ]

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!

{{Qud dialogue
|Qud is a strange and terrifying mesa to the northeast. Her tainted rivers breed life in &amp;Gall&amp;y 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!}}
[ Qud dialogue ]

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!