| 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:InfoBox: Difference between revisions
AllenHuffman (talk | contribs) No edit summary |
AllenHuffman (talk | contribs) No edit summary |
||
| 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. | <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. | ||
The only thing unique about the different types of InfoBoxes will be the categories they include, and which fields will be required. i.e., for a software release, we require "year" to know when it came out, but "endyear" makes no sense. For a convention or publication, we might want to require "endyear". | |||
Please do not edit this InfoBox template. | Please do not edit this InfoBox template. | ||
| Line 9: | Line 11: | ||
| date = (optional) Month XX | | date = (optional) Month XX | ||
| year = #### year released | | year = #### year released | ||
| enddate = (for Conventions, Publications) | |||
| endyear = (for Conventions, Publications) | |||
| notes = short description | | notes = short description | ||
| infosource = (optional) where did this information come from | | infosource = (optional) where did this information come from | ||
| Line 27: | Line 31: | ||
| {{#if: {{{year|}}} | {{{year}}} [[Category: {{{year}}}]] | DATE NEEDED [[Category: Missing Year]]}} | | {{#if: {{{year|}}} | {{{year}}} [[Category: {{{year}}}]] | DATE NEEDED [[Category: Missing Year]]}} | ||
|- | |- | ||
<!-- For things with end dates --> | |||
! scope="row" {{!}} End Date | |||
| {{#if: {{{enddate|}}} | {{{enddate}}} [[Category: {{{enddate}}}]] }} | |||
|- | |||
! scope="row" {{!}} End Year | |||
| {{#if: {{{endyear|}}} | {{{endyear}}} [[Category: {{{endyear}}}]] }} | |||
|- | |||
<!-- --> | |||
! scope="row" {{!}} Notes | ! scope="row" {{!}} Notes | ||
| {{#if: {{{notes|}}} | {{{notes}}} | NOTES NEEDED [[Category: Missing Notes]]}} | | {{#if: {{{notes|}}} | {{{notes}}} | NOTES NEEDED [[Category: Missing Notes]]}} | ||
Revision as of 13:05, 31 August 2016
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.
The only thing unique about the different types of InfoBoxes will be the categories they include, and which fields will be required. i.e., for a software release, we require "year" to know when it came out, but "endyear" makes no sense. For a convention or publication, we might want to require "endyear".
Please do not edit this InfoBox template.
Usage
{{InfoBox |
| name = (optional, else PAGENAME is used)
| photo = (optional, else PAGENAME.jpg is used)
| caption = (optional) photo caption or ALT tag
| date = (optional) Month XX
| year = #### year released
| enddate = (for Conventions, Publications)
| endyear = (for Conventions, Publications)
| notes = short description
| infosource = (optional) where did this information come from
}}