Difference between revisions of "Template:Box"
Jump to navigation
Jump to search
(default to blank) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div style="border:2px outset | + | <div style="border:2px outset rgba(255,255,255, 0.4);margin:0.05em;padding:0.4em;display:inline-block;text-align:center;background-color:{{#if: {{{2|}}}|{{{2}}}|#eee}};border-radius:0.5em;line-height:1em;font-family:serif;font-variant:small-caps;max-width:min-content">{{{1| }}}</div><noinclude> |
==Usage== | ==Usage== | ||
Latest revision as of 16:07, 15 August 2024
Usage
This is a template to wrap a piece of text in a round-bordered box, as more token-feeling alternative to a plain comma-separated list in a gamestate table.
Basic usage is {{box|Grazing Lands}}
:
Grazing Lands
You can add a specific colour as a second argument, as either a hex value or a word, eg. {{box|Indoor Gardens|#cde6cd}} {{box|Desperate Measures|beige}}
:
Indoor Gardens
Desperate Measures
Example in a gamestate table:
Thief | Florins | Notoriety | Inventory | Injuries | Arms |
---|---|---|---|---|---|
NadNavillus | 109 | 29 | Candlestick |
- | 0 |
Clucky | 115 | 13 | Gold Ring Loupe |
- | 0 |
JonathanDark | 121 | 22 | Loupe |
- | 0 |
For a circular version of this template, see Template:Chip.