Template:ExpansionDescription
Jump to navigation
Jump to search
Description
Generate box with expansion description in colors specific for expansion. It read text between tags <section begin="description" />
and <section begin="description" />
, which has to be defined on page, where template is called. Check Bards of Carcassonne.
Params
text
(required) Text of descriptionimage
(required) Name of image, mainly expansion symbol, in the future in color of text, now just transpacolor
(optional) Color of text inside the boxbackgroundcolor
(optional) Background color inside the boxbordercolor
(optional) Border bolor of the box
Examples
Examples are used for show usage of colors. Text is read from description section on page, from which is template called. So here in template it creates loop and error message.
{{ExpansionDescription|image=Symbol_BardsOfCarcassonne.png}}
Template loop detected: Template:ExpansionDescription
{{ExpansionDescription|color=#572f00|backgroundcolor=#fff5e8|bordercolor=#9f5400|image=Symbol_BardsOfCarcassonne.png}}
Template loop detected: Template:ExpansionDescription