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

From Chewiki Archive - YouChew: 1% Funny, 99% Hot Gas
(Since you can no longer copy the coding of the Pooperbox on the Help:Template:List page without having to remove a lot of stuff, why not make another easier way?)
 
(Expanded use to all three templates.)
Line 1: Line 1:
{{Pooperbox
+
{{#switch:{{{box|}}}|media|Media|MediaBox|Mediabox|mediaBox|mediabox=|
 +
 
 +
{{Mediabox
 +
|image=
 +
|name=
 +
|country=
 +
|type=
 +
|creator=
 +
|year=
 +
|firstmade=
 +
}}
 +
 
 +
|char|Char|character|characters|Character|Characters|Charbox|charbox|charBox|CharBox=
 +
 
 +
 
 +
{{CharBox
 +
|name=
 +
|image=
 +
|shows=
 +
|sex=
 +
|age=
 +
}}|#default={{Pooperbox
 
|name=
 
|name=
 
|image=
 
|image=
Line 16: Line 37:
 
|deviantartaccount=
 
|deviantartaccount=
 
|altdeviantartaccount=
 
|altdeviantartaccount=
}}
+
}}}}
  
  
 
{{#ifeq:{{NAMESPACE}}|Help|<noinclude>==Documentation==
 
{{#ifeq:{{NAMESPACE}}|Help|<noinclude>==Documentation==
  
Outputs the pooperbox coding.
+
Outputs the pooperbox, charbox, or mediabox coding.
 +
 
 +
*To output the Pooperbox coding: simply (<code><nowiki>{{subst:Pooperbox|parametersandstuff|}}</nowiki></code>)
 +
*To output the MediaBox coding: (<code><nowiki>{{subst:Pooperbox|parametersandstuff|box=MediaBox}}</nowiki></code>)
 +
*To output the CharBox coding: (<code><nowiki>{{subst:Pooperbox|parametersandstuff|box=CharBox}}</nowiki></code>)
  
This template should be ''substituted.'' (<code><nowiki>{{subst:Pooperbox|parametersandstuff}}</nowiki></code></noinclude>|Please remove this coding.}}
+
This template should be ''substituted.'' (<code><nowiki>{{subst:Pooperbox|parametersandstuff}}</nowiki></code>)</noinclude>|Please remove this coding.}}

Revision as of 06:47, 11 March 2010


Please remove this coding.