Template:OctaveForge: Difference between revisions

From Octave
Jump to navigation Jump to search
m (Add logo.)
(Sketch template for variable number of authors, etc.)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="wikitable" style="float:right; width:22em;"
{| class="wikitable" style="float:right; width:22em;"
! [[Octave Forge]]<br>{{{name}}}
! colspan="2" | [[Octave Forge]]<br>{{{name}}}
|-
|-
| style="border-top:0px;border-bottom:0px; text-align:center;" | {{{logo}}}
| colspan="2" style="border:0px; text-align:center;" | {{{logo}}}
|-
|-
| style="border-top:0px;border-bottom:0px;" | {{{short description}}}
| colspan="2" style="border:0px;" | {{{short description}}}
|-
| style="border:0px;" | Version:
| style="border:0px;" | '''{{{version}}}''' ({{{date}}})
|-
| style="border:0px;" | Author(s):
| style="border:0px;" | {{{author 1 name|}}} {{{maintainer 1 email|}}} {{#if: {{{author 2 name|}}} | <br> {{{author 2 name}}} }} {{#if: {{{author 2 email|}}} | <br> {{{author 2 email}}} }}
|}
|}
</includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>
</includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>

Revision as of 11:03, 12 August 2019

[edit]

Template-info.png Template Documentation

This template should serve as unified overview for Octave Forge packages.

Example:

{{OctaveForge
| name = interval
| logo = [[File:Interval.png|100px]]
| short description = Real-valued interval arithmetic.
| version = 3.2.0
| date = 2018-07-01
| author 1 name  = Oliver Heimlich
| author 1 email = <oheim@posteo.de>
| maintainer 1 name  = Oliver Heimlich
| maintainer 1 email = <oheim@posteo.de>
| license = GPL-3.0+
| group = Community package
| doc 1 = [https://octave.sourceforge.io/interval/overview.html Function reference]
| doc 2 = [https://octave.sourceforge.io/interval/package_doc/ User manual]
| download 1 = [https://octave.sourceforge.io/download.php?package=interval-3.2.0.tar.gz interval-3.2.0.tar.gz]
| repository 1 = https://octave.sourceforge.io/pkg-repository/interval/
| dependency 1 = octave ≥ 3.8.0
| dependency 2 = '''Runtime:''' mpfr (≥ 3.1.0) [https://packages.debian.org/search?keywords=libmpfr4 libmpfr4 for Debian]
| dependency 3 = '''Build:''' mpfr (≥ 3.1.0) [https://packages.debian.org/search?keywords=libmpfr-dev libmpfr-dev for Debian]
}}

Will produce the right-floating box:

Octave Forge
interval
Interval.png
Real-valued interval arithmetic.
Version: 3.2.0 (2018-07-01)
Author(s): Oliver Heimlich <oheim@posteo.de>