Template:CharacterBox/entry: Difference between revisions

From CrossCode Wiki
Jump to navigation Jump to search
(Anchor added)
m (Fix table borders on FandomMobile)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{doc}}</noinclude><includeonly>|- style="background: #{{#if:{{{color|}}}|{{{color}}}|616b7c}}; color: white"
<onlyinclude><includeonly><!--
|style="border-top: 2px solid #1fb7be" rowspan="2"|[[File:{{{image}}}{{#if:{{{nolink|}}}||{{!}}link={{{name}}}}}|center]]
-->{{#vardefine: characterbox-class |<!--
|style="border-top: 2px solid #1fb7be; font-style: bold; font-size: 200%"|{{Anchor|{{{name}}}}}{{#if:{{{nolink|}}}|{{{name}}}|[[{{{name}}}]]}}
-->class="<!--
|style="border-top: 2px solid #1fb7be; font-style: italic; font-size: 200%"|{{{nickname}}}
-->characterbox<!--
|- style="background: #{{#if:{{{color|}}}|{{{color}}}|616b7c}}; color: white"
-->{{#if: {{{class|}}}<!--
|colspan="2"|{{{desc}}}</includeonly>
-->|<nowiki/> characterbox-{{lcfirst: {{{class}}} }}<!--
-->}}<!--
-->"<!--
-->}}<!--
-->{{#vardefine: characterbox-style-background-color |<!--
-->{{#if: {{{color|}}}<!--
-->| background-color: {{#ifeq: {{#sub: {{{color}}} || 1 }} |#| {{{color}}} | #{{{color}}} }};<!--
-->}}<!--
-->}}
|- {{#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|}}} |<!--
-->[[File:{{{image}}}|<!--
-->{{#if: {{{nolink|}}} || link={{#if: {{{link|}}} | {{{link}}} | {{{name}}} }}{{!}} }}<!--
-->{{{name}}}<!--
-->]]<!--
-->}}
| style="border: 0; width: {{#if: {{{nickname|}}} | 60% | 85% }}; font-size: 200%;" {{#if: {{{nickname|}}} || colspan="2" }} |<!--
-->{{Anchor| {{{name}}} }}<!--
-->{{#if: {{{nolink|}}}<!--
-->| {{{name}}}<!--
-->| [[{{#if: {{{link|}}} | {{{link}}}{{!}} }}{{{name}}}]]<!--
-->}}<!--
-->{{#if: {{{nickname|}}} |<nowiki/>
{{!}} style="border: 0; width: 25%; font-style: italic; font-size: 200%;" {{!}} {{{nickname}}}
}}
|- {{#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}}}
|-
{{#vardefine: characterbox-attrs }}<!--
--></includeonly></onlyinclude>
{{Doc}}

Latest revision as of 14:43, 5 May 2021

File:Template-noinfo.svg Template Documentation

This template has no documentation. If you know how to use this template, please add some.


Emilie-Sophie de Belmond Emilie-Sophie de Belmond Emilienator
A competitive Pentafist who befriends Lea during the tutorial and later joins her party.
Carla Salvatore Carla Salvatore
An employee on the M.S. Solar, tasked with introducing Lea to CrossWorlds.
ShortGirl96 ShortGirl96
A female Quadroguard who is greatly disappointed with the challenges of using a short avatar.

TemplateData

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Stringrequired
Nicknamenickname

no description

Stringsuggested
Descriptiondesc

no description

Contentrequired
Imageimage

no description

Filesuggested
Character Classclass

One of: "Spheromancer", "Triblader", "Quadroguard", "Pentafist", "Hexacast"

Stringoptional
Page linklink

no description

Page nameoptional
No linknolink

no description

Booleanoptional
Background Colorcolor

no description

Stringdeprecated