Difference between revisions of "Template:Infobox"

From BESA® Wiki
Jump to: navigation, search
(Undid revision 590143379 by Kaldari (talk); breaks everything)
 
Line 1: Line 1:
{{#invoke:Infobox|infobox}}<noinclude>
+
<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>
 +
|-
 +
{{#if:{{{author|}}}|
 +
! Author
 +
{{!}} {{{author|}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{screenshot|}}}|
 +
! Screenshot
 +
{{!}} {{{screenshot|}}}
 +
{{!}}-
 +
}}
  
{{documentation}}
+
 
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
+
! Maintainer
 +
{{!}} {{{maintainer|}}}
 +
{{!}}-
 +
 
 +
{{#if:{{{filename|}}}|
 +
! File
 +
{{!}} {{{filename|}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{source|}}}|
 +
! Source
 +
{{!}} {{{source|}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{released|}}}|
 +
! Initial release
 +
{{!}} {{{released|}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{latest version|}}}|
 +
! Latest version
 +
{{!}} {{{latest version|}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{status|}}}|
 +
! Development status
 +
{{!}} {{{status|}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{category|}}}|
 +
! Category
 +
{{!}} {{{category|}}}
 +
{{!}}-
 +
}}
 +
{{#if:{{{website|}}}|
 +
! Website
 +
{{!}} {{{website|}}}
 +
{{!}}-
 +
}}
 +
|}</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>
 +
 
 +
{{Clear}}
 +
[[Category:Boxes]]
 
</noinclude>
 
</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
}}