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
(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.) |
(1. I'm pretty sure this Wiki's MediaWiki version outdates the "ifexist" parser function, but we have the next best thing! 2. I'm back, but probably not completely back yet.) |
||
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|}}} | {{#ifeq:{{{noaddyear}}}|yes||[[Category:Sources - Produced in {{{year}}}]]}} }}{{ #if: {{{country|}}} | {{#ifeq:{{{noaddcountry}}}|yes||[[Category:Sources - Made in {{{country}}}]]}} }}</includeonly><noinclude> | + | -->{{ #if: {{{1stmade|}}} | <b>First poop:</b> {{{1stmade}}} }}</small></p></div><includeonly>{{ #if: {{{type|}}} |{{#ifeq:{{{noaddsource|}}}|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> |
==Usage== | ==Usage== |
Revision as of 16:12, 7 February 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