MediaWiki:Sitenotice
2026-03-12: Cocopedia.com is now using a new caching system that should make things faster. Please let me know if you encounter any new issues.

2026-03-15: MediaWiki has been reinstalled and the old database and files restored. It was pretty clogged up from being upgraded so many times since 2004. I am also testing out Cloudflare to see if it can prevent the 'bot assaults that took the site down last year.

2026-03-16: Special thanks to Don Barber for hosting a backup mirror of CoCopedia: https://cocopedia.dgb3.net

Template:InfoBoxTest: Difference between revisions

From CoCopedia - The Tandy/Radio Shack Color Computer Wiki
Jump to navigationJump to search
No edit summary
Replaced content with "Passed in: boxtype=="{{{boxtype}}}" {{#switch:{{{boxtype}}} | case Convention | case Publication = | Convention or Publication was chosen. | DEFAULT }}"
Line 1: Line 1:
<noinclude>This template currently generates the generic InfoBox. In the future, it will be able to create many different types of boxes with different fields based on what is needed.
Passed in: boxtype=="{{{boxtype}}}"


Please do not edit this InfoBox template.
{{#switch:{{{boxtype}}}
== Usage ==
| case Convention
<pre>{{InfoBox |
| case Publication =
| name      = (optional, else PAGENAME is used)
| Convention or Publication was chosen.
| photo      = (optional, else PAGENAME.jpg is used)
| DEFAULT
| caption    = (photo caption)
}}
| category  = (main category)
| type      = (category subtype)
| date      = Month XX
| year      = (release/first year)
| notes      =
| infosource = (where this information came from)
}}</pre>
</noinclude><includeonly><onlyinclude><!-- START of InfoBox -->
{| class="wikitable" style="float:right;" width="300px"
|+ {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
|-
| colspan="2" align="center" |
{{#if: {{{photo|}}} | [[File:{{{photo}}}{{!}}300px]] | MISSING PHOTO [[Category: Missing Photo]]}}
|-
! scope="row" {{!}} Name
| {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
|-
! scope="row" {{!}} Date
| {{#if: {{{date|}}} | {{{date}}} [[Category: {{{date}}}]] | DATE NEEDED [[Category: Missing Date]]}}
|-
! scope="row" {{!}} Year
| {{#if: {{{year|}}} | {{{year}}} [[Category: {{{year}}}]] | YEAR NEEDED [[Category: Missing Year]]}}
|-
! scope="row" {{!}} Category
| {{#if: {{{category|}}} | {{{category}}} [[Category: {{{category}}}]] | CATEGORY NEEDED [[Category: Missing Category]]}}
|-
! scope="row" {{!}} Type
| {{#if: {{{type|}}} | {{{type}}} [[Category: {{{type}}}]] | TYPE NEEDED [[Category: Missing Type]]}}
|-
! scope="row" {{!}} Notes
| {{#if: {{{notes|}}} | {{{notes}}} | NOTES NEEDED [[Category: Missing Notes]]}}
|-
|-
! scope="row" {{!}} Info Source
| {{#if: {{{infosource|}}} | {{{infosource}}} | INFO SOURCE NEEDED [[Category: Missing Info Source]]}}
|-
|}
</includeonly></onlyinclude>

Revision as of 13:47, 31 August 2016

Passed in: boxtype=="{{{boxtype}}}"

DEFAULT