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. OS-9 Al (talk)

Template:InfoBox: Difference between revisions

From CoCopedia - The Tandy/Radio Shack Color Computer Wiki
Jump to navigation Jump to search
Luis46coco (talk | contribs)
No edit summary
No edit summary
Line 1: Line 1:
{| border="1" cellpadding="2" cellspacing="0" style="float:right; margin: 0em 0em 1em 1em;"
<noinclude>This template generates the various types of Info Boxes.
== Usage ==
<pre>{{InfoBox |
| name  = (optional, else PAGENAME is used)
| photo  = (optional, else PAGENAME.jpg is used)
| date  =
| format =  
| notes  =  
}}</pre>
</noinclude><includeonly><onlyinclude><!-- START of InfoBox -->
{| class="wikitable" style="float:right;" width="300px"
|+ {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
|-
|-
! align="center" colspan="2" style="background:#efefef;" | <big>{{PAGENAME}}</big>
| colspan="2" align="center" |
|-
{{#if: {{{photo|}}} | [[Image:{{{photo}}}|300px]] | MISSING PHOTO [[Category: Missing Photo]]}}
| align="center" colspan="2" | [[Image:{{PAGENAME}}.jpg|thumb|center|256px|Photo of {{PAGENAME}}|{{{caption}}}]]
|-
|-
! '''Title'''
! scope="row" {{!}} Name
| align="left" | {{PAGENAME}}
| {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}} }}
|-
|-
! '''Date'''
! scope="row" {{!}} Date
| align="left"  | {{{date}}}
| {{#if: {{{date|}}} | {{{date}}} | DATE NEEDED [[Category: Missing Date]]}}
|-
|-
! '''Format'''
! scope="row" {{!}} Format
! align="left" | {{{format}}}
| {{#if: {{{format|}}} | {{{format}}} | FORMAT NEEDED [[Category: Missing Format]]}}
|-
|-
! '''Notes'''
! scope="row" {{!}} Notes
| align="left" | {{{notes}}}
| {{#if: {{{notes|}}} | {{{notes}}} | NOTES NEEDED [[Category: Missing Notes]]}}
|-
|-
! '''Info Source'''
| align="left"  | {{{infosource}}}
|}
|}
</includeonly></onlyinclude>

Revision as of 16:33, 24 August 2016

This template generates the various types of Info Boxes.

Usage

{{InfoBox |
| name   = (optional, else PAGENAME is used)
| photo  = (optional, else PAGENAME.jpg is used)
| date   = 
| format = 
| notes  = 
}}