Difference between revisions of "Template:Infobox"

From BESA® Wiki
Jump to: navigation, search
m (1 revision)
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="infobox" style="font-size:89%; width:300px;"
+
<includeonly>{| class="infobox" cellspacing="5" style="width: 31em; font-size: 90%; text-align: left; float: right; border: 1px solid #a0a0a0;"
 +
! colspan="2" style="text-align: center; font-size: 130%;" | <div style="float: left">{{{logo|}}}</div>{{{title|{{{name|{{PAGENAME}}}}}}}} ({{{software|}}})<div style="clear: left;"></div>
 
|-
 
|-
! class="color1" colspan="2" style="font-size:120%; padding:1em;" | {{{Box title|Resmarbien Bermundo}}}
+
{{#if:{{{author|}}}|
{{#if: {{{image|}}}|
+
! Author
 +
{{!}} {{{author|}}}
 
{{!}}-
 
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{PAGENAME:{{{image}}}}}|{{{imagewidth|250}}}px]]<br/>''{{{caption| }}}''
 
|
 
 
}}
 
}}
|-
+
{{#if:{{{screenshot|}}}|
| style="width:30%;" |
+
! Screenshot
'''{{{[[Arlyn]] (Mother)|Family)}}}'''
+
{{!}} {{{screenshot|}}}
| style="width:70%;" |
+
{{{Row 1 info|No information}}}
+
{{#if: {{{Row 2 title|}}}|
+
 
{{!}}-
 
{{!}}-
{{!}}
+
}}
'''{{{Row 2 title}}}'''
+
 
{{!}}
+
 
{{{Row 2 info|No information}}}
+
! Maintainer
{{#if: {{{Row 3 title|}}}|
+
{{!}} {{{maintainer|}}}
 
{{!}}-
 
{{!}}-
{{!}}
+
 
'''{{{Row 3 title}}}'''
+
{{#if:{{{filename|}}}|
{{!}}
+
! File
{{{Row 3 info|No information}}}
+
{{!}} {{{filename|}}}
{{#if: {{{Row 4 title|}}}|
+
 
{{!}}-
 
{{!}}-
{{!}}
+
}}
'''{{{Row 4 title}}}'''
+
{{#if:{{{source|}}}|
{{!}}
+
! Source
{{{Row 4 info|No information}}}
+
{{!}} {{{source|}}}
{{#if: {{{Row 5 title|}}}|
+
 
{{!}}-
 
{{!}}-
{{!}}
+
}}
'''{{{Row 5 title}}}'''
+
{{#if:{{{released|}}}|
{{!}}
+
! Initial release
{{{Row 5 info|No information}}}
+
{{!}} {{{released|}}}
{{#if: {{{Row 6 title|}}}|
+
 
{{!}}-
 
{{!}}-
{{!}}
+
}}
'''{{{Row 6 title}}}'''
+
{{#if:{{{latest version|}}}|
{{!}}
+
! Latest version
{{{Row 6 info|No information}}}
+
{{!}} {{{latest version|}}}
{{#if: {{{Row 7 title|}}}|
+
 
{{!}}-
 
{{!}}-
{{!}}
+
}}
'''{{{Row 7 title}}}'''
+
{{#if:{{{status|}}}|
{{!}}
+
! Development status
{{{Row 7 info|No information}}}
+
{{!}} {{{status|}}}
{{#if: {{{Row 8 title|}}}|
+
 
{{!}}-
 
{{!}}-
{{!}}
+
}}
'''{{{Row 8 title}}}'''
+
{{#if:{{{category|}}}|
{{!}}
+
! Category
{{{Row 8 info|No information}}}
+
{{!}} {{{category|}}}
{{#if: {{{Row 9 title|}}}|
+
 
{{!}}-
 
{{!}}-
{{!}}
+
}}
'''{{{Row 9 title}}}'''
+
{{#if:{{{website|}}}|
{{!}}
+
! Website
{{{Row 9 info|No information}}}
+
{{!}} {{{website|}}}
{{#if: {{{Row 10 title|}}}|
+
 
{{!}}-
 
{{!}}-
{{!}}
 
'''{{{Row 10 title}}}'''
 
{{!}}
 
{{{Row 10 info|No information}}}
 
{{#if: {{{Row 11 title|}}}|
 
{{!}}-
 
{{!}} colspan="2" style="text-align:center; background:#AAAAAA;" {{!}}
 
'''Too many parameters'''
 
|
 
}}
 
|
 
}}
 
|
 
}}
 
|
 
}}
 
|
 
}}
 
|
 
}}
 
|
 
 
}}
 
}}
|
+
|}</includeonly>
 +
 
 +
<noinclude>This template is a sidebar for displaying key statistics about a plugin.
 +
 
 +
==Usage==
 +
 
 +
<pre>
 +
{{Infobox
 +
| name                  =
 +
| software              =
 +
| author                =
 +
| maintainer            =
 +
| filename              =
 +
| source                =
 +
| released              =
 +
| latest version        =
 +
| status                =
 +
| category              =
 +
| website                =
 +
| tutorials              =
 
}}
 
}}
|
+
</pre>
 +
 
 +
==Example==
 +
{{Infobox
 +
| name                  = My plugin
 +
| software              = Software name
 +
| author                = John Smith ([mailto:john@smith.org john@smith.org])
 +
| logo                  = [[Image:fiji-icon.png|96px]]
 +
| screenshot            = A screenshot of typical usage
 +
| maintainer            = Bob Doe ([mailto:bob@doe.org bob@dod.org])
 +
| filename              = [http://example.org/some.class some.class] (xx,xxx Bytes)
 +
| source                = [http://example.org/some.java some.java] (xx,xxx Bytes)
 +
| released              = 01 January 1900
 +
| latest version        = 31 December 1999
 +
| status                = stable, not active
 +
| category              = fancy examples
 +
| website                = [http://example.org]
 +
| tutorials              = Mr Smith
 
}}
 
}}
|
+
<pre style="overflow:auto">
 +
{{Infobox
 +
| name                  = My plugin
 +
| software              = Software name
 +
| author                = John Smith ([mailto:john@smith.org john@smith.org])
 +
| logo                  = [[Image:fiji-icon.png|96px]]
 +
| maintainer            = Bob Doe ([mailto:bob@doe.org bob@dod.org])
 +
| filename              = [http://example.org/some.class some.class] (xx,xxx Bytes)
 +
| source                = [http://example.org/some.java some.java] (xx,xxx Bytes)
 +
| released              = 01 January 1900
 +
| latest version        = 31 December 1999
 +
| status                = stable, not active
 +
| category              = fancy examples
 +
| website                = [http://example.org]
 +
| tutorials              = Mr Smith
 
}}
 
}}
|}
+
</pre>
<noinclude>
+
 
{{documentation}}</noinclude>
+
{{Clear}}
 +
[[Category:Boxes]]
 +
</noinclude>

Revision as of 22:54, 10 November 2014


This template is a sidebar for displaying key statistics about a plugin.

Usage

{{Infobox
| name                   =
| software               =
| author                 =
| maintainer             = 
| filename               =
| source                 =
| released               =
| latest version         =
| status                 =
| category               =
| website                =
| tutorials              =
}}

Example

Resmarbien Bermundo

Family)

No information

{{Infobox
| name                   = My plugin
| software               = Software name
| author                 = John Smith ([mailto:john@smith.org john@smith.org])
| logo                   = [[Image:fiji-icon.png|96px]]
| maintainer             = Bob Doe ([mailto:bob@doe.org bob@dod.org])
| filename               = [http://example.org/some.class some.class] (xx,xxx Bytes)
| source                 = [http://example.org/some.java some.java] (xx,xxx Bytes)
| released               = 01 January 1900
| latest version         = 31 December 1999
| status                 = stable, not active
| category               = fancy examples
| website                = [http://example.org]
| tutorials               = Mr Smith
}}