Template:Qud dialogue: Difference between revisions

added bordercolor. added max-width
(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==