Template:OtherExpansionRule
Revision as of 12:17, 28 December 2023 by Bumsakalaka (talk | contribs)
{{{expansionlink}}}
{{{rules}}}
Description
Create a box with special rules for combination with other expansion. It also allows to use expansion selector ID to show/hide this rules box when selected or not selected specific expansion.
Params
expansionlink
(mandatory): Expansion Link like{{InnsCathedralsLink}}
rules
(mandatory): Text rules usually in formaticon
text of ruleselectorid
(optional): Expansion selector ID likeshowInns
used by Expansion Selector to show/hide by selected expansion by visitor.dynamicselector
(optional): Future dynamic selector of combination of expansions need to show this rule, like[ OR , 'showDragon' ,'showFairy']
, where first directove isOR
orAND
and other elements can be classes or another array of expression like[ AND , 'showFairy', [ OR, 'showDragon', 'showBlackDragon']]
Examples
Code | Description |
---|---|
{{OtherExpansionRule|expansionlink={{InnsCathedralsLink|edition=C3|variant=long}}|rules={{IconBook}} Text of rules.}} |
Create Other Expansion Rule box allways visible |
Text of rules. |