Template:Qud dialogue: Difference between revisions
Jump to navigation
Jump to search
(increased margin. goodbye 69) |
(added bordercolor. added max-width) |
||
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" | {| 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 40px;" |'''{{#tag:poem|{{Qud text|{{{text}}}}}}}''' | | style="padding: 20px 40px;" |'''{{#tag:poem|{{Qud text|{{{text}}}}}}}''' | ||
|}<noinclude>[[Category:Templates]] | |}<noinclude>[[Category:Templates]] | ||
Line 15: | Line 15: | ||
! textsize | ! textsize | ||
| size. defaults to medium. takes small/medium/large | | size. defaults to medium. takes small/medium/large | ||
|- | |||
! bordercolor | |||
| if = C, change the border to cyan. defaults to off white | |||
|} | |} | ||
==Example== | ==Example== |
Revision as of 22:08, 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. |