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
(Undo revision 75861 by Special:Contributions/PSE1nf0 (User talk:PSE1nf0): Not sure, but didn't seem to work.) |
(Trying out something. I've tested this before, and if it goes wrong anyways, than I can quickly revert it.) |
||
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;"><!-- | |
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><!-- | ||
Line 18: | Line 18: | ||
-->{{ #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>Actor(s):</b> {{{cast}}}<br /> }}</small></p></div><!-- |
+ | |||
+ | |||
+ | The following code automatically adds categories as necessary. | ||
+ | |||
+ | |||
+ | -->{{#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. | ||
+ | |||
+ | |||
+ | --><noinclude> | ||
+ | ==Usage== | ||
Displays a concise infomation panel designed to contain infomation about a character, in addition to adding to catagories. | Displays a concise infomation panel designed to contain infomation about a character, in addition to adding to catagories. | ||
Developed by [[The Electric Cheese]] | Developed by [[The Electric Cheese]] | ||
</noinclude> | </noinclude> |
Revision as of 14:40, 10 April 2010
Usage
Displays a concise infomation panel designed to contain infomation about a character, in addition to adding to catagories.
Developed by The Electric Cheese