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 (Reverted edits by Account (Talk); changed back to last version by The Electric Cheese) |
(Edits. Now you can specify for it to not show a year or country + removed edit section link on actual template page, and now the template is hidden on template page.) |
||
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><includeonly>{{ #if: {{{type|}}} | [[Category:Sources - {{{type}}}'s]] }}{{ #if: {{{creator|}}} | [[Category:Sources - Created by {{{creator}}}]] }}{{ #if: {{{year|}}} | [[Category:Sources - Produced in {{{year}}}]] }}{{ #if: {{{country|}}} | [[Category:Sources - Made in {{{country}}}]] }}</includeonly><noinclude> | + | -->{{ #if: {{{1stmade|}}} | <b>First poop:</b> {{{1stmade}}} }}</small></p></div><includeonly>{{ #if: {{{type|}}} | [[Category:Sources - {{{type}}}'s]] }}{{ #if: {{{creator|}}} | [[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> |
==Usage== | ==Usage== | ||
− | + | __NOEDITSECTION__Displays a concise infomation panel designed to contain media source infomation, in addition to adding it to catagories. | |
Developed by [[The Electric Cheese]] | Developed by [[The Electric Cheese]] | ||
</noinclude> | </noinclude> |
Revision as of 16:45, 29 December 2009
Usage
Displays a concise infomation panel designed to contain media source infomation, in addition to adding it to catagories.
Developed by The Electric Cheese