User talk:PercyUK

From Autistic characters wiki

Character infobox

Hello! Thank you for your edits to {{Character}}. I really dig the look, but since they seem to interfere with displaying galleries within the infobox, I have reverted the template to its original state. HanTheGene (talk) 15:19, 3 September 2021 (UTC)

To try to make the migration from Fandom as problem-free as possible, I cloned using the Wikipedia infobox. Images were displaying using just the filename → Christian wolff the accountant.png. As my simple infobox is not expecting <gallery> it ignores these images. Fandom uses TabberNeue. So on my private wiki I activated TabberNeue to show the difference, adding an extra variable which I named "gallery". It is blank giving option to use for <tabber>.
{{Infobox
 | bodystyle = 
float: right;
clear: right;
margin: 0 0 .5em 1em;
width: 270px;
border-spacing: 0; 
padding: 0;
border: 1px solid #005c62;
font-size: 12px;

 | abovestyle = 
font-size: 18px;
line-height: 1.25;
padding: 12px 9px;
background: #005c62;
color: white;

 | imagestyle = 
text-align: center;
padding: 0;

 | captionstyle = 
padding: 3px;

 | headerstyle =
background: #005c62;
color: white;
font-size: 14px;
padding: 5px 9px;

 | labelstyle =	
vertical-align: top;
text-align: left;
padding: 5px 10px;
border-top: 1px solid #005c62;
width: 100px;

 | datastyle = 
vertical-align: top;
padding: 5px 10px 5px 0;
border-top: 1px solid #005c62;


 |above = {{{name|{{PAGENAME}}}}}

 |image   = {{#ifexist: File:{{{image|}}}
| [[File:{{{image|}}}|{{{image_size|268px}}}|link=]]
| {{{gallery|}}} 
}}
 |caption = {{{imagecaption|}}}

 |label1 = Autism canon status
 |data1  = {{{autism_canon|}}}

 |label2 = Aliases
 |data2  = {{{aliases|}}}

 |label3 = Portrayed by
 |data3  = {{{portrayedby|}}}

 |label4 = Appears in
 |data4  = {{{appearsin|}}}

 |label5 = Debut
 |data5  = {{{debut|}}}

}}
If you wish to use my infobox design, the image below shows how it would look → Image → Tabber → TabberNeue
File:TabberNeue.png
{{Character
 | name         = Christian Wolff

 | image        = Christian wolff the accountant.png
 | gallery      = 

 | autism_canon = confirmed in-universe
 | aliases      = Chris, Lou Caroll, Carl Gauss
 | portrayedby  = Ben Affleck (adult) <br>Seth Lee (child)
 | appearsin    = ''The Accountant''
 | debut        = 
}}

{{Character
 | name         = Christian Wolff

 | image        = 
 | gallery      = 
<tabber>
Adult Chris = [[File:Christian wolff the accountant.png|268px|link=]]
|-|
Young Chris = [[File:Young chris the accountant.png|268px|link=]]
</tabber>
 
 | autism_canon = confirmed in-universe
 | aliases      = Chris, Lou Caroll, Carl Gauss
 | portrayedby  = Ben Affleck (adult) <br>Seth Lee (child)
 | appearsin    = ''The Accountant''
 | debut        = 
}}
TabberNeue uses <tabber> so you will need to deactivate "Tabber" to activate "TabberNeue". PercyUK (talk) 19:58, 3 September 2021 (UTC)
Ah, I see - that makes sense. I've put it back with the modification and activated TabberNeue, and it looks exactly like your images. Thank you very much! HanTheGene (talk) 14:59, 4 September 2021 (UTC)