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:Mediabox"

From Chewiki Archive - YouChew: 1% Funny, 99% Hot Gas
m (Protected "Template:Mediabox" [edit=sysop:move=sysop])
Line 1: Line 1:
<div class="noprint" style="float:right; border:1px solid blue;width:260px;margin:10px;background-color:#fff;padding:3px;"><!--
+
<includeonly><div class="noprint" style="float:right; border:1px solid blue;width:260px;margin:10px;background-color:#fff;padding:3px;"><!--
 
Image
 
Image
 
-->{{ #if: {{{image|}}} | <p align="center">[[Image:{{{image}}}|240px|center]]</p> }}<p><small><!--
 
-->{{ #if: {{{image|}}} | <p align="center">[[Image:{{{image}}}|240px|center]]</p> }}<p><small><!--
Line 13: Line 13:
 
-->{{ #if: {{{year|}}} | <b>Year created:</b> {{{year}}}<br /> }}<hr><!--
 
-->{{ #if: {{{year|}}} | <b>Year created:</b> {{{year}}}<br /> }}<hr><!--
 
First Poop
 
First Poop
-->{{ #if: {{{1stmade|}}} | <b>First poop:</b> {{{1stmade}}} }}</small></p></div><!--
+
-->{{ #if: {{{1stmade|}}} | <b>First poop:</b> {{{1stmade}}} }}</small></p></div><includeonly>{{ #if: {{{type|}}} |{{#ifeq:{{{noaddtype|}}}|yes||[[Category:Sources - {{{type}}}s]] }}}}{{ #if: {{{creator|}}} |{{#ifeq:{{{noaddcreator|}}}|yes||[[Category:Sources - Created by {{{creator}}}]] }}}}{{ #if: {{{year|}}} | {{#ifeq:{{{noaddyear}}}|yes||[[Category:Sources - Produced in {{{year}}}]]}} }}{{ #if: {{{country|}}} | {{#ifeq:{{{noaddcountry}}}|yes||[[Category:Sources - Made in {{{country}}}]]}} }}</includeonly><noinclude>
 
 
 
 
 
 
 
 
-->{{#if:{{{type|}}}|  {{#ifeq: [[:Category:Sources - {{{type}}}s]] | {{:Category:Sources - {{{type}}}s}} ||{{#ifeq:{{{noaddtype|}}}|yes||[[Category:Sources - {{{type}}}s]]}} }} }}<!--
 
 
 
-->{{#if:{{{creator|}}}|  {{#ifeq: [[:Category:Sources - Created by {{{creator}}}]] | {{:Category:Sources - Created by {{{creator}}}}} ||{{#ifeq:{{{noaddcreator|}}}|yes||[[Category:Sources - Created by {{{creator}}}]]}} }} }}<!--
 
 
 
-->{{#if:{{{year|}}}|  {{#ifeq: [[:Category:Sources - Produced in {{{year}}}]] | {{:Category:Sources - Produced in {{{year}}}}} ||{{#ifeq:{{{noaddyear|}}}|yes||[[Category:Sources - Produced in {{{year}}}]]}} }} }}<!--
 
 
 
-->{{#if:{{{country|}}}|  {{#ifeq: [[:Category:Sources - Made in {{{country}}}]] | {{:Category:Sources - Made in {{{country}}}}} ||{{#ifeq:{{{noaddcountry|}}}|yes||[[Category:Sources - Made in {{{country}}}]]}} }}  }}<!--
 
 
 
 
 
 
 
 
 
--><noinclude>
 
  
 
==Usage==
 
==Usage==

Revision as of 06:37, 12 June 2010


Usage

Displays a concise infomation panel designed to contain media source infomation, in addition to adding it to catagories.

Developed by The Electric Cheese