Notice: We are aware that many of the Chewiki’s images are still broken. We promise: we will try our best to fix it, but we don't guarantee that the fix will be trivial.

Difference between revisions of "Template:CharBox"

From Chewiki Archive - YouChew: 1% Funny, 99% Hot Gas
(HEY. PSE. GUESS WHAT. YOU JUST OPENED UP A WHOLE NEW CAN OF WORMS.)
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div class="noprint" style="float:right; border:1px solid {{#switch:{{{name}}}|Fiddligi=red|vvaluidle=blue|Azerbafox=magenta|vvaddle=#660066|blue}};width:200px;margin:10px;background-color:#fff;padding:3px;"><!--
+
<div class="noprint" style="float:right; background: #ffffff; border:1px solid; width:200px; margin:10px; padding:3px;"><!--
 
Image
 
Image
 
-->{{ #if: {{{image|}}} | <p align="center">[[Image:{{{image}}}|180px|center]]</p> }}<p><small><!--
 
-->{{ #if: {{{image|}}} | <p align="center">[[Image:{{{image}}}|180px|center]]</p> }}<p><small><!--
Image Caption-->{{#if:{{{caption|}}}|<center><sub>{{{caption|}}}<br /></sub></center>}}<!--
+
Image Caption
 +
-->{{#if:{{{caption|}}}|<center>{{{caption|}}}<br /></center><br>}}<!--
 
Name
 
Name
 
-->{{ #if: {{{name|}}} | <b>Name:</b> {{{name}}}<br /> }}<!--
 
-->{{ #if: {{{name|}}} | <b>Name:</b> {{{name}}}<br /> }}<!--
 
Shows
 
Shows
-->{{ #if: {{{shows|}}} | <b>Appears in:</b> {{{shows}}}<br /> }}
+
-->{{ #if: {{{shows|}}} | <b>Appears In:</b> {{{shows}}}<br /> }}<!--
<hr>
 
<!--
 
 
Sex
 
Sex
 
-->{{ #if: {{{sex|}}} | <b>Sex:</b> {{{sex}}}<br /> }}<!--
 
-->{{ #if: {{{sex|}}} | <b>Sex:</b> {{{sex}}}<br /> }}<!--
 
Age
 
Age
 
-->{{ #if: {{{age|}}} | <b>Age:</b> {{{age}}}<br /> }}<!--
 
-->{{ #if: {{{age|}}} | <b>Age:</b> {{{age}}}<br /> }}<!--
 +
DOB
 +
-->{{ #if: {{{dob|}}} | <b>DOB:</b> {{{dob}}}<br /> }}<!--
 
Nationality
 
Nationality
 
-->{{ #if: {{{nationality|}}} | <b>Nationality:</b> {{{nationality}}}<br /> }}<!--
 
-->{{ #if: {{{nationality|}}} | <b>Nationality:</b> {{{nationality}}}<br /> }}<!--
Line 18: Line 19:
 
-->{{ #if: {{{occupation|}}} | <b>Occupation(s):</b> {{{occupation}}}<br /> }}<!--
 
-->{{ #if: {{{occupation|}}} | <b>Occupation(s):</b> {{{occupation}}}<br /> }}<!--
 
Cast
 
Cast
-->{{ #if: {{{cast|}}} | <b>Actor(s):</b> {{{cast}}}<br /> }}</small></p></div><!--
+
-->{{ #if: {{{cast|}}} | <b>Played By:</b> {{{cast}}}<br /> }}</small></p></div><!--
  
 +
/* Begin "no add" stuff */
  
The following code automatically adds categories as necessary.
+
-->{{ #if: {{{sex|}}} | {{ #ifeq: {{{noaddsex}}} | yes | | [[Category:Characters - {{{sex}}}]] }} }}<!--
 
 
 
 
-->{{#if:{{{sex|}}}| {{#ifeq:{{{noaddsex}}}|yes|| {{#ifeq:{{:Category:Characters - {{{sex}}}}} |[[:Category:Characters - {{{sex}}}]]||[[Category:Characters - {{{sex}}}]] }}  }}  }}<!--
 
 
 
-->{{#if:{{{shows|}}}|  {{#ifeq:{{{noaddshows}}}|yes|| {{#ifeq:{{:Category:Characters - Appears in {{{shows}}}}} |[[:Category:Characters - Appears in {{{shows}}}]]||[[Category:Characters - Appears in {{{shows}}}]] }}  }}  }}<!--
 
 
 
-->{{#if:{{{nationality|}}}|  {{#ifeq:{{{noaddnation}}}|yes|| {{#ifeq:{{:Category:Characters - {{{nationality}}}}} |[[:Category:Characters - {{{nationality}}}]]||[[Category:Characters - {{{nationality}}}]] }}  }} }}<!--
 
 
 
The preceding code automatically adds categories as necessary.
 
  
 +
-->{{ #if: {{{shows|}}} | {{ #ifeq: {{{noaddshows}}} | yes | | [[Category:Characters - Appears in {{{shows}}}]] }} }}<!--
  
 
--><noinclude>
 
--><noinclude>
 
==Usage==
 
==Usage==
Displays a concise infomation panel designed to contain infomation about a character, in addition to adding to categories. Developed by [[The Electric Cheese]]
+
Displays a concise infomation panel designed to contain infomation about a character, in addition to adding to categories. Developed by [[The Electric Cheese]] with edits from [[User:PSE1nf0|some random guy]].
 
 
 
 
Recent edit by [[User:PSE1nf0|some random guy]] involves automatically checking if the gender, shows, or nationality categories exists before placing it, obsoleting the former need to manually add the noadd<font size="1"> </font>sex/shows/nation parameters.
 
 
</noinclude>
 
</noinclude>

Latest revision as of 13:12, 24 November 2019

Usage

Displays a concise infomation panel designed to contain infomation about a character, in addition to adding to categories. Developed by The Electric Cheese with edits from some random guy.