Template:BanlistTable: Difference between revisions
Appearance
Tags: Undo wikieditor |
No edit summary Tag: wikieditor |
||
| Line 1: | Line 1: | ||
< | <includeonly>{{#switch:{{{type}}} | ||
<!-- | <!-- Couldn't get this to work with CardColor for some reason, kept escaping weirdly. --> | ||
|Character=style{{=}}"background:rgba(84,146,196,0.8); color:#000000; border-color:#FCB345; border-width: 3px 0px 3px 3px; border-top-left-radius: 5px; border-bottom-left-radius: 5px; text-align: center" {{!}} {{ItemIcon|{{{type}}}|height=x20px|alignment=middle}} | |Character=style{{=}}"background:rgba(84,146,196,0.8); color:#000000; border-color:#FCB345; border-width: 3px 0px 3px 3px; border-top-left-radius: 5px; border-bottom-left-radius: 5px; text-align: center" {{!}} {{ItemIcon|{{{type}}}|height=x20px|alignment=middle}} | ||
{{!}}style{{=}}"background:rgba(84,146,196,0.8); color:#000000; border-color:#FCB345; border-width: 3px 0px 3px 1px;" {{!}} [[{{{name}}}{{!}}<span style{{=}}"color:#00297a; font-weight: bold;">{{{name}}}</span>]] | {{!}}style{{=}}"background:rgba(84,146,196,0.8); color:#000000; border-color:#FCB345; border-width: 3px 0px 3px 1px;" {{!}} [[{{{name}}}{{!}}<span style{{=}}"color:#00297a; font-weight: bold;">{{{name}}}</span>]] | ||
| Line 84: | Line 84: | ||
{{!}}style{{=}}"background:linear-gradient(180deg,rgba(84, 146, 196, 0.8) 0%, rgba(111, 81, 153, 0.8) 100%); color:#000000; border-color:#325699; border-width: 3px 0px 3px 1px;" {{!}} [[{{{name}}}{{!}}<span style{{=}}"color:#00297a; font-weight: bold;">{{{name}}}</span>]] | {{!}}style{{=}}"background:linear-gradient(180deg,rgba(84, 146, 196, 0.8) 0%, rgba(111, 81, 153, 0.8) 100%); color:#000000; border-color:#325699; border-width: 3px 0px 3px 1px;" {{!}} [[{{{name}}}{{!}}<span style{{=}}"color:#00297a; font-weight: bold;">{{{name}}}</span>]] | ||
{{!}}style{{=}}"background:linear-gradient(180deg,rgba(84, 146, 196, 0.8) 0%, rgba(111, 81, 153, 0.8) 100%); color:#000000; border-color:#325699; border-width: 3px 0px 3px 1px" {{!}} {{{status}}} | {{!}}style{{=}}"background:linear-gradient(180deg,rgba(84, 146, 196, 0.8) 0%, rgba(111, 81, 153, 0.8) 100%); color:#000000; border-color:#325699; border-width: 3px 0px 3px 1px" {{!}} {{{status}}} | ||
{{!}}style{{=}}"background:linear-gradient(180deg,rgba(84, 146, 196, 0.8) 0%, rgba(111, 81, 153, 0.8) 100%); color:#000000; border-color:#325699; border-width: 3px 3px 3px 1px; border-top-right-radius: 5px; border-bottom-right-radius: 5px"{{!}} {{{note}}}}}</ | {{!}}style{{=}}"background:linear-gradient(180deg,rgba(84, 146, 196, 0.8) 0%, rgba(111, 81, 153, 0.8) 100%); color:#000000; border-color:#325699; border-width: 3px 3px 3px 1px; border-top-right-radius: 5px; border-bottom-right-radius: 5px"{{!}} {{{note}}}}}</includeonly> | ||
<noinclude>Template to be used ''INSIDE A TABLE'' to quickly fill in style and icons for that card type. | <noinclude>Template to be used ''INSIDE A TABLE'' to quickly fill in style and icons for that card type. | ||
Four arguments: | Four arguments: | ||
Revision as of 10:11, 26 August 2026
Template to be used INSIDE A TABLE to quickly fill in style and icons for that card type. Four arguments:
type: returns correct colours, style and image (see below for names)name: column 2, name of card (will create a link to page with this name)status: column 3, freetext.note: column 4, freetext.
Inside a 4-column wikitable, place this template on a single line for the whole row, e.g. inside the table,
{{BanlistTable|type=Character|name=Character|status=c|note=c}}
returns
| Type | Name | Change | Note |
|---|---|---|---|
| Character | c | c |
Current other types are below:
| Type | Name | Change | Note |
|---|---|---|---|
| Character | c | c | |
| CharacterAdult | ca | ca | |
| CharacterRegressed | cr | cr | |
| MainCharacter | mc | mc | |
| MainCharacterAdult | mca | mca | |
| MainCharacterRegressed | mcr | mcr | |
| Action | a | a | |
| DecisiveAction | da | da | |
| QuickAction | qa | qa | |
| DecisiveQuickAction | dqa | dqa | |
| Field | f | f | |
| IconicField | if | if | |
| GlobalIconicField | gif | gif | |
| Toy | t | t | |
| ShinyToy | st | st | |
| Scene | s | s | |
| MemorableScene | ms | ms | |
| Goal | g | g | |
| GreatGoal | gg | gg | |
| PregameAction | pga | pga | |
| Hybrid | h | h |