Template:Infobox Software: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
(More NBSPs, removed some CSS, padding around icon and screenshot.)
imported>Caesar Schinas
(Moving documentation to ./doc)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox" style="font-size:85%;"
{{Template:Infobox
|-
| title        = {{{name|}}}
{{#if:{{{name|}}}|
 
    {{!}} colspan="2" {{!}}'''{{{name}}}'''
| 1_data      = {{#if:{{{logo|}}}|[[Image:{{{logo}}}|{{{logo_size|300x100px}}}]]}}
}}
| 1_datastyle  = text-align:center; padding:0.5em;
|-
| 2_data      = {{#if:{{{screenshot|}}}|[[Image:{{{screenshot}}}|{{{logo_size|300x300px}}}]]}}
{{#if:{{{logo|}}}|
| 2_datastyle  = text-align:center; padding:0.5em;
    {{!}} colspan="2" style="text-align: center; padding: 1em;" {{!}} [[Image:{{{logo}}}|{{{logo_size|300x100px}}}]]
 
}}
| 3_label      = Website
|-
| 3_data      = {{#if:{{{website|}}}|[http://{{{website}}} {{{website}}}]}}
{{#if:{{{screenshot|}}}|
 
    {{!}} colspan="2" style="text-align: center; padding: 1em;" {{!}} [[Image:{{{screenshot}}}|{{{screenshot_size|300x300px}}}]]
| 4_label      = Created by
}}
| 4_data      = {{{creator|}}}
|-
 
{{#if: {{{website|}}}|
| 5_label      = Developed by
    ! Website
| 5_data      = {{{developer|}}}
    {{!}}<span class="plainlinks">[http://{{{website}}} {{{website}}}]</span>
 
}}
| 6_label      = Software type
|-
| 6_data      = {{{type|}}}
{{#if:{{{creator|}}}|
 
    ! Created by
| 7_label      = Initial release
    {{!}} {{{creator}}}
| 7_data      = {{{release_first|}}}
}}
 
|-
| 8_label      = {{#if:{{{release_preview|}}}|Stable release|Latest release}}
{{#if:{{{developer|}}}|
| 8_data      = {{{release_stable|}}}
    ! Developed by
 
    {{!}} {{{developer}}}
| 9_label      = Preview release
}}
| 9_data      = {{{release_preview|}}}
|-
 
{{#if:{{{type|}}}|
| 10_label     = Source model
    ! Software&nbsp;type
| 10_data      = {{{source_model|}}}
    {{!}} {{{type}}}
 
}}
| 11_label     = Licence
|-
| 11_data      = {{{licence|}}}{{{license|}}}
{{#if:{{{release_first|}}}|
 
    ! Initial release
| 12_label     = Supported [[Operating System|OSes]]
    {{!}} {{{release_first}}}
| 12_data      = {{{os|}}}
}}
 
|-
| 13_label     = [[Operating System|OS]] Family
{{#if:{{{release_stable|}}}|
| 13_data      = {{{os_family|}}}
    ! {{#if:{{{release_preview|}}}|Stable&nbsp;release|Latest&nbsp;release}}
 
    {{!}} {{{release_stable}}}
| 14_label     = [[Kernel]] Type
}}
| 14_data      = {{{kernel_type|}}}
|-
 
{{#if:{{{release_preview|}}}|
| 15_label     = Default [[User Interface|UI]]
    ! Preview&nbsp;release
| 15_data      = {{{ui|}}}
    {{!}} {{{release_preview}}}
 
}}
| 16_label     = [[Platform]]s
|-
| 16_data      = {{{platform|}}}
{{#if:{{{source_model|}}}|
}}</includeonly>
     ! Source&nbsp;model
<noinclude>{{TlDoc}}</noinclude>
    {{!}} {{{source_model}}}
}}
|-
{{#ifeq:{{{licence|}}}{{{license|}}}| | |
     ! Licence
    {{!}} {{{licence|}}}{{{license|}}}
}}
|-
{{#if:{{{os|}}}|
     ! Supported&nbsp;[[Operating System|OSes]]
    {{!}} {{{os}}}
}}
|-
{{#if:{{{os_family|}}}|
     ! [[Operating System|OS]]&nbsp;Family
    {{!}} {{{os_family}}}
}}
|-
{{#if:{{{kernel_type|}}}|
     ! [[Kernel]]&nbsp;Type
    {{!}} {{{kernel_type}}}
}}
|-
{{#if:{{{ui|}}}|
     ! Default&nbsp;[[User Interface|UI]]
    {{!}} {{{ui}}}
}}
|-
{{#if:{{{platform|}}}|
     ! [[Platform]]s
    {{!}} {{{platform}}}
}}
|-
|}
</includeonly>
<noinclude>{{/doc}}</noinclude>

Latest revision as of 10:18, 6 May 2009


This documentation is transcluded from Template:Infobox Software/doc (edit | history)

This infobox can be used to display information about any type of software software

Usage

The following parameters are currently available:

{{Infobox Software
| name           = 
| logo           = 
| screenshot     = 
| website        = 
| creator        = 
| developer      = 
| type           = 
| release_first  = 
| release_stable = 
| source_model   = 
| licence        = 
| os             = 
| os_family      = 
| kernel_type    = 
| ui             = 
| platform       = 
}}

Examples

Acme Web Browser
File:Software icon
File:Software screenshot
Website www.example.com
Developed by Acme Corporation
Software type Web Browser
Initial release 1.0.0, 1st Jan 1995
Stable release 2.5.12, 31st Nov 1999
Preview release 3.0.0b5, 28th Oct 1999
Source model Open Source
Licence GNU General Public License
Supported OSes Linux
{{Template:Infobox_Software
| name             = Acme Web Browser
| logo             = Software_icon
| screenshot       = Software_screenshot
| website          = www.example.com
| developer        = Acme Corporation
| type             = [[Web Browser]]
| release_first    = 1.0.0, 1st Jan 1995
| release_stable   = 2.5.12, 31st Nov 1999
| release_preview  = 3.0.0b5, 28th Oct 1999
| source_model     = [[Open Source]]
| licence          = [[GPL|GNU General Public License]]
| os               = [[Linux]]
}}


Linux
Linux Tux Logo.png
Gnome screenshot.png
Website www.kernel.org
Created by Linus Torvalds (Linux kernel) and Richard Stallman (GNU Utilities)
Developed by the Open Source community
Software type Operating System
Source model Open Source
Licence GNU General Public License
OS Family Unix-like
Kernel Type Modular monolithic
Default UI usually Gnome or KDE
Platforms x86, x86-64, PowerPC, AMD64, ARM, DEC Alpha, HP PA-RISC, IA-64, MIPS, Motorola 68k, IBM S/390, Sun SPARC,
{{Template:Infobox_Software
| name             = Linux
| logo             = Linux_Tux_Logo.png
| screenshot       = Gnome screenshot.png
| website          = www.kernel.org
| creator          = Linus Torvalds (Linux kernel) and Richard Stallman (GNU Utilities)
| developer        = the [[Open source community|Open Source community]]
| type             = [[Operating System]]
| source_model     = [[Open Source]]
| licence          = [[GNU General Public License]]
| os_family        = [[Unix-like]]
| kernel_type      = [[kernel module|Modular]] [[Monolithic kernel|monolithic]]
| ui               = usually [[Gnome]] or [[KDE]]
| platform         = [[x86]], [[x86-64]], [[PowerPC]], [[AMD64]], [[ARM]], [[DEC Alpha]], [[HP PA-RISC]], [[IA-64]], [[MIPS]], [[Motorola 68k]], [[IBM S/390]], [[Sun SPARC]], 
}}