Difference between revisions of "Template:Box"

From BlogNomic Wiki
Jump to navigation Jump to search
(trying out a new template)
 
Line 11: Line 11:
  
 
{{box|Indoor Gardens|#cde6cd}} {{box|Desperate Measures|beige}}
 
{{box|Indoor Gardens|#cde6cd}} {{box|Desperate Measures|beige}}
 +
 +
Example in a gamestate table:
 +
{| class="wikitable sortable"
 +
! District      !! Order !! Calendar !! Commons !! Innovations
 +
|-
 +
| JonathanDark  ||    3 ||        9 || {{box|The Grazing Lands}} {{box|The Deserted Barracks}} || {{box|Shared Wisdom}} {{box|Indoor Gardens}}
 +
|-
 +
| Josh          ||    4 ||        11 || {{box|The Grazing Lands}} {{box|The Deserted Barracks}} || {{box|Shared Wisdom}}
 +
|-
 +
| lemon          ||    4 ||        9 || {{box|The Grazing Lands}} {{box|The Grazing Lands}} || {{box|Shared Wisdom}} {{box|Indoor Gardens}}
 +
|-
 +
| lendunistus    ||    4 ||        11 || {{box|The Grazing Lands}} {{box|The Grazing Lands}} || {{box|Shared Wisdom}}
 +
|}
 
</noinclude>
 
</noinclude>

Revision as of 10:52, 17 August 2023

{{{1}}}

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|The Grazing Lands}}:

The 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:

District Order Calendar Commons Innovations
JonathanDark 3 9
The Grazing Lands
The Deserted Barracks
Shared Wisdom
Indoor Gardens
Josh 4 11
The Grazing Lands
The Deserted Barracks
Shared Wisdom
lemon 4 9
The Grazing Lands
The Grazing Lands
Shared Wisdom
Indoor Gardens
lendunistus 4 11
The Grazing Lands
The Grazing Lands
Shared Wisdom