MediaWiki:Sitenotice:
2024-03-02: The wiki ran out of disk space, so things were not working. This has been resolved by adding another 5GB of quota ;-) Thanks to Tim Lindner for reporting the issues. 2020-05-17: If a page gives you an error about some revision not being found, just EDIT the page and the old page should appear in the editor. If it does, just SAVE that and the page should be restored. OS-9 Al (talk) 12:22, 17 May 2020 (CDT)

Template:InfoBoxTest: Difference between revisions

From CoCopedia - The Tandy/Radio Shack Color Computer Wiki
Jump to navigation Jump 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 17:47, 31 August 2016

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

DEFAULT