Difference between revisions of "Template:Infobox software"

From Wiki.OSArch
m
 
(48 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
+
<noinclude>
| bodyclass  = vevent
+
=Usage=
| bodystyle  = {{{bodystyle|}}}
+
Copy the text below to the top of a software page to make use of this infobox.
| title      = {{#if:{{{title|{{{name|}}}}}}|{{{title|{{{name|}}}}}}|{{PAGENAMEBASE}}}}
+
 
| titleclass = summary
+
<pre style="overflow:auto;">
| labelstyle = white-space: nowrap;
+
{{Infobox software
| image      = {{#if:{{{screenshot|}}}
+
| icon      =  
  | {{#invoke:InfoboxImage | InfoboxImage | image={{{logo|}}} | title={{{logo caption|}}} | size={{{logo size|{{{logo_size|}}}}}} | sizedefault=300x64px | maxsize=300x64px | alt={{{logo alt|{{{logo_alt|}}}}}} }}
+
| screenshot =  
  | {{#invoke:InfoboxImage | InfoboxImage | image={{{logo|}}} | title={{{logo caption|}}} | size={{{logo size|{{{logo_size|}}}}}} | alt={{{logo alt|{{{logo_alt|}}}}}} }}
+
| website    =  
 +
| source    =
 +
| license    =
 +
| bugs      =
 +
| community  =
 +
| maturity  =
 +
| donation  =
 
}}
 
}}
| caption    = {{{logo caption|}}}
+
</pre>
| image2    = {{#if:{{{screenshot|}}}|{{#if:{{{collapsible|}}}|{{hidden begin|toggle=left|title=Screenshot|titlestyle=text-align:left|contentstyle=text-align:center}}}}}}{{#invoke:InfoboxImage | InfoboxImage | image={{{screenshot|}}} | size={{{screenshot size|{{{screenshot_size|}}}}}} | sizedefault=300x0px | maxsize=300x0px | alt={{{screenshot alt|{{{screenshot_alt|}}}}}} | title={{{caption|}}} }}
+
 
| caption2  = {{{caption|}}}{{#if:{{{screenshot|}}}|{{#if:{{{collapsible|}}}|{{hidden end}}}}}}
+
=Example=
| label1     = Other names
+
The first example includes all available field, but use only the ones you think are valuable for a page. We're filling in an infobox - not writing a phD!
| data1      = {{{other_names|}}}
+
 
| label2    = [[Software developer|Original author(s)]]
+
{{Infobox software
| data2      = {{{author|}}}
+
| icon      = Ifcopenshell logo.png
| label3    = [[Software developer|Developer(s)]]
+
| screenshot = Blenderbim-screenshot.png
| data3      = {{{developer|}}}
+
| website    = http://web.site
| label4    = Initial release
+
| source     = https://blenderbim.org
| data4      = {{{released|}}}
+
| license    = [[LGPL-2.0]]
 +
| bugs      = [https://github.com/IfcOpenShell/IfcOpenShell/issues Github]
 +
| community  = [https://community.osarch.org/ Forum], [http://webchat.freenode.net/##architect Chatroom], [https://mastodon.social/@thinkMoult Mastodon (Dion Moult)], [https://twitter.com/BlenderBIM Twitter], [https://www.linkedin.com/in/dion-moult-3517651a/ LinkedIn (Dion Moult)], [https://www.linkedin.com/groups/13761286/ LinkedIn Group]
 +
| maturity  = Promising
 +
| donation  = [https://liberapay.com/dionmoult/ dionmoult]
 
}}
 
}}
 +
</noinclude>
 +
 +
<includeonly>
 +
[[Category:Software]]
 +
<!-- This template is available from the Template:Infobox_software page -->
 +
{| class="wikitable" style="width:250px; float:right; margin-left: 10px;"
 +
!colspan="2"|[[File:{{{icon}}}|64x64px]]
 +
|-
 +
!colspan="2"|[[File:{{{screenshot}}}|244px]]
 +
|-
 +
| Website:
 +
| {{{website}}}
 +
|-
 +
| Source:
 +
| {{{source}}}
 +
|-
 +
| License:
 +
| {{{license}}}
 +
|-
 +
| Bugs:
 +
| {{{bugs}}}
 +
|-
 +
| Community:
 +
| {{{community}}}
 +
|-
 +
| Maturity:
 +
| [[:Category:{{{maturity}}}]] [[Category:{{{maturity}}}]]
 +
|-
 +
| Donate:
 +
| {{{donation}}}
 +
|-
 +
!colspan="2"|[[File:Red_curve_on_white_disc_128px.png|32px]]  [[AEC_Free_Software_directory|Software Directory]]
 +
|-
 +
|}
 +
</includeonly>
 +
<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 15:06, 28 July 2022

Usage

Copy the text below to the top of a software page to make use of this infobox.

{{Infobox software
| icon       = 
| screenshot = 
| website    = 
| source     =
| license    =
| bugs       =
| community  =
| maturity   =
| donation   =
}}

Example

The first example includes all available field, but use only the ones you think are valuable for a page. We're filling in an infobox - not writing a phD!

Ifcopenshell logo.png
Blenderbim-screenshot.png
Website: http://web.site
Source: https://blenderbim.org
License: LGPL-2.0
Bugs: Github
Community: Forum, Chatroom, Mastodon (Dion Moult), Twitter, LinkedIn (Dion Moult), LinkedIn Group
Maturity: Category:Promising
Donate: dionmoult
Red curve on white disc 128px.png Software Directory