Template:OctaveForge: Difference between revisions

From Octave
Jump to navigation Jump to search
m (Small fix.)
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="wikitable" style="float:right; width:22em;"
{| class="wikitable" style="float:right; width:25em; margin-left: 1em;"
! colspan="2" | [[Octave Forge]]<br>{{{name}}}
! colspan="2" | [[Octave Forge]]<br>{{{name}}}
|-
|-
Line 7: Line 7:
| colspan="2" style="border:0px;" | {{{short description}}}
| colspan="2" style="border:0px;" | {{{short description}}}
|-
|-
| style="border:0px;" | Version:
| colspan="2" style="border:0px; text-align: center; padding-top: 1em; padding-bottom: 1em;" | <code>pkg install -forge {{{name}}}</code>
| style="border:0px;" | '''{{{version}}}''' ({{{date}}})
|-
|-
| style="border:0px; vertical-align: top;" | Author(s):
| style="border: 0px;" | Version:
| 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}}} }}
| style="border: 0px; max-width: 15em;" | '''{{{version}}}''' ({{{date}}})
|-
| style="border: 0px; vertical-align: top;" | Author(s):
| style="border: 0px; max-width: 15em;" | {{{author 1 name|}}} {{{author 1 email|}}} {{#if: {{{author 2 name|}}} | <br> {{{author 2 name}}} {{{author 2 email}}} }}
|-
| style="border: 0px; vertical-align: top;" | Maintainer(s):
| style="border: 0px; max-width: 15em;" | {{{maintainer 1 name|}}} {{{maintainer 1 email|}}} {{#if: {{{maintainer 2 name|}}} | <br> {{{maintainer 2 name}}} {{{maintainer 2 email}}} }}
|-
| style="border: 0px;  | License:
| style="border: 0px; max-width: 15em;" | {{{license}}}
|-
| style="border: 0px;  | Group:
| style="border: 0px; max-width: 15em;" | {{{group}}}
|-
| style="border: 0px; vertical-align: top;" | Documentation:
| style="border: 0px; max-width: 15em;" | {{{doc 1}}} {{#if: {{{doc 2|}}} | <br> {{{doc 2}}} }}
|-
| style="border: 0px; vertical-align: top;" | Download:
| style="border: 0px; max-width: 15em;" | {{{download 1}}} {{#if: {{{download 2|}}} | <br> {{{download 2}}} }}
|-
| style="border: 0px; vertical-align: top;" | Repository:
| style="border: 0px; max-width: 15em;" | {{{repository 1}}} {{#if: {{{repository 2|}}} | <br> {{{repository 2}}} }}
|-
| style="border: 0px; vertical-align: top;" | Dependencies:
| style="border: 0px; max-width: 15em;" | {{{dependency 1}}} {{#if: {{{dependency 2|}}} | <br> {{{dependency 2}}} }} {{#if: {{{dependency 3|}}} | <br> {{{dependency 3}}} }}
|}
|}
</includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>
</includeonly><noinclude>{{TemplateDoc}}[[Category:Templates]]</noinclude>

Latest revision as of 05:18, 13 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.
pkg install -forge interval
Version: 3.2.0 (2018-07-01)
Author(s): Oliver Heimlich <oheim@posteo.de>
Maintainer(s): Oliver Heimlich <oheim@posteo.de>
License: GPL-3.0+
Group: Community package
Documentation: Function reference
User manual
Download: interval-3.2.0.tar.gz
Repository: https://octave.sourceforge.io/pkg-repository/interval/
Dependencies: octave ≥ 3.8.0
Runtime: mpfr (≥ 3.1.0) libmpfr4 for Debian
Build: mpfr (≥ 3.1.0) libmpfr-dev for Debian