Template:CharacterBox/entry: Difference between revisions
Jump to navigation
Jump to search
m (Always use the `characterbox` classes and format template source) |
m (Fix table borders on FandomMobile) |
||
Line 1: | Line 1: | ||
<onlyinclude><includeonly><!-- | <onlyinclude><includeonly><!-- | ||
-->{{#vardefine: characterbox- | -->{{#vardefine: characterbox-class |<!-- | ||
--> | -->class="<!-- | ||
-->characterbox<!-- | -->characterbox<!-- | ||
-->{{#if: {{{class|}}}<!-- | -->{{#if: {{{class|}}}<!-- | ||
-->|<nowiki/> characterbox-{{lcfirst: {{{class}}} }}<!-- | -->|<nowiki/> characterbox-{{lcfirst: {{{class}}} }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->" <!-- | -->"<!-- | ||
-->}}<!-- | |||
-->{{#vardefine: characterbox-style-background-color |<!-- | |||
-->{{#if: {{{color|}}}<!-- | -->{{#if: {{{color|}}}<!-- | ||
-->| | -->| background-color: {{#ifeq: {{#sub: {{{color}}} || 1 }} |#| {{{color}}} | #{{{color}}} }};<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->}} | -->}} | ||
|- {{#var: characterbox- | |- {{#var: characterbox-class }} style="{{#sub: border-top: 2px solid #1fb7be; border-bottom-width: 0; {{#var: characterbox-style-background-color }} }}" | ||
| style="border: 0; width: 15%; text-align: center;" rowspan="2" | <!-- | |||
-->{{#if: {{{image|}}} |<!-- | -->{{#if: {{{image|}}} |<!-- | ||
-->[[File:{{{image}}}<!-- | -->[[File:{{{image}}}|<!-- | ||
-->{{#if: {{{nolink|}}} || | -->{{#if: {{{nolink|}}} || link={{#if: {{{link|}}} | {{{link}}} | {{{name}}} }}{{!}} }}<!-- | ||
--> | -->{{{name}}}<!-- | ||
-->]]<!-- | -->]]<!-- | ||
-->}} | -->}} | ||
| style="border | | style="border: 0; width: {{#if: {{{nickname|}}} | 60% | 85% }}; font-size: 200%;" {{#if: {{{nickname|}}} || colspan="2" }} |<!-- | ||
-->{{Anchor| {{{name}}} }}<!-- | -->{{Anchor| {{{name}}} }}<!-- | ||
-->{{#if: {{{nolink|}}}<!-- | -->{{#if: {{{nolink|}}}<!-- | ||
Line 27: | Line 28: | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if: {{{nickname|}}} |<nowiki/> | -->{{#if: {{{nickname|}}} |<nowiki/> | ||
{{!}} style="border | {{!}} style="border: 0; width: 25%; font-style: italic; font-size: 200%;" {{!}} {{{nickname}}} | ||
}} | }} | ||
|- {{#var: characterbox- | |- {{#var: characterbox-class }} style="{{#sub: border-top-width: 0; border-bottom: 2px solid #1fb7be; {{#var: characterbox-style-background-color }} }}" | ||
| style="width: 85%;" colspan="2" | {{{desc}}} | | style="width: 85%;" colspan="2" | {{{desc}}} | ||
|- | |- |
Latest revision as of 14:43, 5 May 2021
This template has no documentation. If you know how to use this template, please add some.
![]() |
Emilie-Sophie de Belmond | Emilienator |
A competitive Pentafist who befriends Lea during the tutorial and later joins her party. | ||
![]() |
Carla Salvatore | |
An employee on the M.S. Solar, tasked with introducing Lea to CrossWorlds. | ||
![]() |
ShortGirl96 | |
A female Quadroguard who is greatly disappointed with the challenges of using a short avatar. |
TemplateData
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | no description | String | required |
Nickname | nickname | no description | String | suggested |
Description | desc | no description | Content | required |
Image | image | no description | File | suggested |
Character Class | class | One of: "Spheromancer", "Triblader", "Quadroguard", "Pentafist", "Hexacast" | String | optional |
Page link | link | no description | Page name | optional |
No link | nolink | no description | Boolean | optional |
Background Color | color | no description | String | deprecated |