Currently there may be errors shown on top of a page, because of a missing Wiki update (PHP version and extension DPL3). |
Navigation
Topics | Help • Register • News • History • How to • Sequences statistics • Template prototypes |
Difference between revisions of "Template:Infobox Project"
(examples) |
(new look) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | This template will show an infobox for a [[:Category: | + | Template: Infobox Project |
+ | |||
+ | ==Purpose== | ||
+ | This template will show an infobox for a [[:Category:Project|project]] with some data given on the right side of the page. | ||
==Calling== | ==Calling== | ||
− | <pre>{{ | + | <pre> |
− | + | {{Infobox Project | |
− | + | | title= | |
− | + | | image= | |
− | + | | purpose= | |
− | + | | category= | |
− | + | | platform= | |
+ | | worktype= | ||
+ | | software= | ||
+ | | status= | ||
+ | | started= | ||
+ | | result= | ||
+ | | ended= | ||
+ | | completed= | ||
+ | }} | ||
+ | </pre> | ||
+ | ==Example== | ||
<pre> | <pre> | ||
− | {{ | + | {{Infobox Project |
− | |title= | + | | title=[[GIMPS]] |
− | | | + | | image=[[File:Gimps.gif]] |
− | | | + | | purpose=Searching for [[Mersenne prime]]s |
− | | | + | | category=[[Primality test]] |
+ | | platform=WIN, DOS, UNIX | ||
+ | | worktype=[[Lucas-Lehmer test|LLR]], [[Elliptic curve method|ECM]], [[P-1 factorization method|P-1]] | ||
+ | | software=[[Prime95]] | ||
+ | | website=[https://www.mersenne.org/ Homepage] | ||
+ | | status=active | ||
+ | | started=1996 | ||
+ | | result=[https://primes.utm.edu/primes/search.php Primes found], [[List_of_known_Mersenne_primes|List]] | ||
+ | | completed=running | ||
+ | | ended=not yet | ||
}} | }} | ||
</pre> | </pre> | ||
+ | {{Infobox Project | ||
+ | | title=[[GIMPS]] | ||
+ | | image=[[File:Gimps.gif]] | ||
+ | | purpose=Searching for [[Mersenne prime]]s | ||
+ | | category=[[Primality test]] | ||
+ | | platform=WIN, DOS, UNIX | ||
+ | | worktype=[[Lucas-Lehmer test|LLR]], [[Elliptic curve method|ECM]], [[P-1 factorization method|P-1]] | ||
+ | | software=[[Prime95]] | ||
+ | | website=[https://www.mersenne.org/ Homepage] | ||
+ | | status=active | ||
+ | | started=1996 | ||
+ | | result=[https://primes.utm.edu/primes/search.php Primes found], [[List_of_known_Mersenne_primes|List]] | ||
+ | | completed=running | ||
+ | | ended=not yet | ||
+ | }} | ||
− | == | + | ==Template parameters== |
− | Project | + | [[Category:Infoboxes|Project]]</noinclude><includeonly><div style="width: auto; float: right; padding: 5px; border: solid 1px black; border-radius:5px;"> |
− | + | {| | |
− | |title | + | ! align="center" colspan="2" style="background:SkyBlue; font-size:150%"| {{{title}}} |
− | | | + | |- |
− | | | + | {{#if:{{{image|}}}| |
− | + | {{!}} colspan="2" style="text-align:center;" {{!}} {{{image}}} | |
− | }} | + | }} |
− | + | |- | |
− | + | | align="left" style="background:SkyBlue" | '''General :''' || style="border-bottom-style:solid; border-width:2px; border-color:SkyBlue;" | | |
− | + | |- | |
− | + | | Purpose : || {{{purpose}}} | |
− | + | |- | |
− | + | | Category : || {{{category}}} | |
− | + | |- | |
− | + | | align="left" colspan="1" style="background:SkyBlue" | '''Hardware / Software :''' || style="border-bottom-style:solid; border-width:2px; border-color:SkyBlue;" | | |
− | + | |- | |
− | | | + | | Platform : || {{{platform}}} |
− | | | + | |- |
− | | | + | | Worktype : || {{{worktype}}} |
− | }} | + | |- |
− | + | | Software : || {{{software}}} | |
− | + | |- | |
− | + | | Website : || {{{website}}} | |
− | |||
|- | |- | ||
− | | | + | | align="left" style="background:SkyBlue" | '''Status :''' || style="border-bottom-style:solid; border-width:2px; border-color:SkyBlue;" | '''{{#ifeq:{{{status}}}|active|{{C|Green|{{{status}}}}}|{{C|Red|{{{status}}}}}}}''' |
|- | |- | ||
− | | | + | | Started : || {{{started}}} |
|- | |- | ||
− | | | + | {{#if:{{{result|}}}| |
− | |}</includeonly> | + | {{!}} Result : |
+ | {{!}} {{{result}}} | ||
+ | }} | ||
+ | |- | ||
+ | | % completed : || {{{completed}}} | ||
+ | |- | ||
+ | {{#if:{{{ended|}}}| | ||
+ | {{!}} Ended : | ||
+ | {{!}} {{{ended}}} | ||
+ | }} | ||
+ | |} | ||
+ | </div></includeonly> |
Latest revision as of 20:49, 9 March 2019
Template: Infobox Project
Contents
Purpose
This template will show an infobox for a project with some data given on the right side of the page.
Calling
{{Infobox Project | title= | image= | purpose= | category= | platform= | worktype= | software= | status= | started= | result= | ended= | completed= }}
Example
{{Infobox Project | title=[[GIMPS]] | image=[[File:Gimps.gif]] | purpose=Searching for [[Mersenne prime]]s | category=[[Primality test]] | platform=WIN, DOS, UNIX | worktype=[[Lucas-Lehmer test|LLR]], [[Elliptic curve method|ECM]], [[P-1 factorization method|P-1]] | software=[[Prime95]] | website=[https://www.mersenne.org/ Homepage] | status=active | started=1996 | result=[https://primes.utm.edu/primes/search.php Primes found], [[List_of_known_Mersenne_primes|List]] | completed=running | ended=not yet }}
GIMPS | |
---|---|
General : | |
Purpose : | Searching for Mersenne primes |
Category : | Primality test |
Hardware / Software : | |
Platform : | WIN, DOS, UNIX |
Worktype : | LLR, ECM, P-1 |
Software : | Prime95 |
Website : | Homepage |
Status : | active |
Started : | 1996 |
Result : | Primes found, List |
% completed : | running |
Ended : | not yet |