Template:PJ Char Infobox: Difference between revisions

Template page
(Breakin things. Need this to exist for things to start working; saving progress and crossing fingers)
 
(Extra documentation, messing with background and border colors)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="wikitable bullet-table" style="float:{{{float|center}}}; margin:5px; display:table;"
{| class="wikitable bullet-table" style="float:{{{float|center}}}; margin:auto; display:table; background-color:#2a2a2a;"
|-style="background-color:#2a2a2a"
| colspan="2" | {{{image}}}
|-
{{#invoke:MultiRow|makeMultiRow<!--
{{#invoke:MultiRow|makeMultiRow<!--
-->| rowName = School:<!--
-->| rowName = School:<!--
Line 27: Line 30:
{{{difficulty}}}<!--
{{{difficulty}}}<!--
-->}}
-->}}
|-
{{{extra|}}}
|}</includeonly>
|}</includeonly>


Line 38: Line 39:
<br>
<br>
<br>
<br>
Basically, your charnav should be formatted like this at the shart of your character page. Paying close attention to the "|school=", "|assist=" etc near the start. Whatever you put in directly following the = sign is what will be filled into the corrosponsing boxes. Example and Result below:
Basically, your charnav should be formatted like this at the shart of your character page. Paying close attention to the "|school=", "|assist=" etc near the start. Whatever you put in directly following the = sign is what will be filled into the corresponding boxes. Images are already called automatically with the "|char=" value by the character intro template. Example and Result below:
<br>
<br>
==Usage:==
==Usage:==

Revision as of 22:42, 6 October 2021




How does this work?

This is just some added code for the character PJ character intro to hopefully make it more user friendly while simultaneously making it LESS user friendly for me to make it :) It's a work in progress don't judge me

Basically, your charnav should be formatted like this at the shart of your character page. Paying close attention to the "|school=", "|assist=" etc near the start. Whatever you put in directly following the = sign is what will be filled into the corresponding boxes. Images are already called automatically with the "|char=" value by the character intro template. Example and Result below:

Usage:

 {{PJ Character Intro|char= Ran|full=Ran Hibiki|short=RAN
|school=Taiyo
|assist=Damage
|tier=D
|difficulty=Hard

|content=
{{2 Column Flex|flex1=9|flex2=4
|content1=
{{Content Box|header=Introduction|content=

Placeholder

}}
<br>
|content2=
{{Content Box|content=
{{#evt:
service=youtube
|id=https://youtu.be/OHsldIbzGag
|urlargs=start=115&end=144&loop=1
|dimensions=480x320
}}
}}
}}
{{Content Box|content=
{{ProConTable
|pros=
* placeholder
|cons=
* placeholder
}}
}}
}}



Result:

Introduction

Placeholder


{{#evt: service=youtube |id=https://youtu.be/OHsldIbzGag |urlargs=start=115&end=144&loop=1 |dimensions=480x320 }}

Strengths Weaknesses
  • placeholder
  • placeholder
Ran Hibiki

Project Justice Ran.gif
School:

Taiyo

Assist Type:

Damage

Tier:

D

Difficulty:

Hard





editors note: This is the bit that goes in the current intro thing:

{{{image}}}
School:

{{{school}}}

Assist Type:

{{{assist}}}

Tier:

{{{tier}}}

Difficulty:

{{{difficulty}}}