Template:Icon split/doc
This template can be used to create split icons from those defined in {{icon}}
. It is intended for use with icons that use the different backgrounds with the same base icon, such as fanatic and non-fanatic ethics or authority swapped civics.
Parameters edit
Parameter | Description | Required | Default |
---|---|---|---|
1 | First part of the icon | required | — |
2 | Second part of the icon | optional | — |
3 | Third part of the icon | optional | — |
4 | Fourth part of the icon | optional | — |
w | Width of the icon in px, with or without "px" Cannot use x#px format. |
optional | 24px |
image | Replaces the entire icon with a selected file Uses parameters 1-4 as links |
optional | — |
image[1-4] |
|
optional | — |
iconify | Appends the text of the specified parameter to the icon Defaults to 1 if set to "yes" |
optional | — |
cross |
|
optional | — |
corporate | Uses the corporate version of the civic as the second icon | optional | — |
gestalt | Uses the gestalt version of the civic as the third and fourth icon. Automatically switches to cross split |
optional | — |
Examples edit
Wiki text | Produces |
---|---|
{{icon split|Spiritualist|Fanatic Spiritualist|iconify=yes}}
|
<span style="grid-column:1; overflow:hidden; width: Expression error: Unrecognized punctuation character "{".px;">px}}px<span style="grid-column:2; overflow:hidden; width: Expression error: Unrecognized punctuation character "{".px;"><span style="margin-left: -Expression error: Unrecognized punctuation character "{".px;">px}}px Spiritualist |
{{icon split|Anglers|Trawling Operations|iconify=yes}}
|
<span style="grid-column:1; overflow:hidden; width: Expression error: Unrecognized punctuation character "{".px;">Anglers<span style="grid-column:2; overflow:hidden; width: Expression error: Unrecognized punctuation character "{".px;"><span style="margin-left: -Expression error: Unrecognized punctuation character "{".px;">Trawling Operations Anglers |
{{icon split|Democratic|Oligarchic|Dictatorial|Imperial|w=28px}} Non-Corporate
|
<span style="grid-column:1; overflow:hidden; width: Expression error: Unrecognized punctuation character "{".px;">Democratic<span style="grid-column:2; overflow:hidden; width: Expression error: Unrecognized punctuation character "{".px;"><span style="margin-left: -Expression error: Unrecognized punctuation character "{".px;">px}}px<span style="grid-column:3; overflow:hidden; width: Expression error: Unrecognized punctuation character "{".px;"><span style="margin-left: -Expression error: Unexpected < operator.px;">Dictatorial<span style="grid-column:4; overflow:hidden; width: Expression error: Unrecognized punctuation character "{".px;"><span style="margin-left: -Expression error: Unexpected < operator.px;">Imperial Non-Corporate |
{{icon split|Catalytic Processing|catalytic processing corporate|catalytic processing hive dark|catalytic processing machine|cross=yes|w=34px}} Catalytic
|
<span style="display:inline grid; vertical-align:middle;
grid-template: Expression error: Unrecognized punctuation character "{".px Expression error: Unrecognized punctuation character "{".px / Expression error: Unrecognized punctuation character "{".px Expression error: Unrecognized punctuation character "{".px; "> ">Organic Reprocessing Catalytic |
{{icon split|City District|Hive District|Nexus District}} housing district
|
<span style="grid-column:1; overflow:hidden; width: Expression error: Unrecognized punctuation character "{".px;">City District<span style="grid-column:2; overflow:hidden; width: Expression error: Unrecognized punctuation character "{".px;"><span style="margin-left: -Expression error: Unrecognized punctuation character "{".px;">Hive District<span style="grid-column:3; overflow:hidden; width: Expression error: Unrecognized punctuation character "{".px;"><span style="margin-left: -Expression error: Unexpected < operator.px;">Nexus District housing district |