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 Drive"
m (Karbon moved page Drive Data test to Template:Infobox Drive without leaving a redirect: Test to real) |
(pre-headers) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude> | ||
==Purpose== | ==Purpose== | ||
− | Create | + | Create an infobox for any drive as table with important data fields to unify the drive pages. |
− | == | + | ==Calling== |
− | + | <pre> | |
− | + | {{Infobox Drive | |
− | + | |DRProject= | |
− | + | |DRName= | |
− | + | |DRPurpose= | |
− | + | |DRMultiRes= | |
− | + | |DRStatus= | |
− | + | |DRStart= | |
− | + | |DREnd= | |
− | + | |DRkvalues= | |
− | + | |DRnrange= | |
− | + | |DRCandidates= | |
− | + | |DRSieve= | |
− | + | |DRPrimes= | |
+ | |DRLink= | ||
+ | }} | ||
+ | </pre> | ||
− | + | ==Standarized sections headers== | |
− | * | + | To use the same look here're the standarized section headers in use: |
− | + | <pre> | |
− | * | + | ==Overview== |
+ | ==={{Vk}}-history=== | ||
+ | ==={{Vn}}-history=== | ||
+ | ===Sieve history=== | ||
+ | ===Reservation history=== | ||
+ | ===Primes table=== | ||
+ | ===Notes=== | ||
+ | </pre> | ||
+ | The first section header is before the above template. | ||
+ | |||
+ | ==Parameters== | ||
+ | *DRProject: like NPLB,RPS,PG,SRBase,... displayed as link to the project page | ||
+ | *DRName: e.g. "NPLB Drive 10", displayed as link to the drive page | ||
+ | *DRPurpose: short overview including type of search (Riesel,Proth,SG,Twin,GFN,...), {{Vk}}-range, {{Vn}}-range | ||
+ | *DRMultiRes: if given, it's shown as "Multi Reservation <xx>: The current nmax = <yyy> as of <date>" | ||
+ | *DRStatus: reflects the current status, if DRMultiRes not given this is a further data field, example: PrimeGrid status page | ||
+ | *DRStart: date of start of the drive | ||
+ | *DREnd: date of end of the drive, if not given header contains in green "Ongoing" | ||
+ | *DRkvalues: more detailed {{Vk}}-value list | ||
+ | *DRnrange: more detailed {{Vn}}-range | ||
+ | *DRCandidates: number of candidates if known | ||
+ | *DRSieve: name of a sieve file if given | ||
+ | *DRPrimes: number of primes found including confirmed | ||
+ | *DRLink: link to external page | ||
+ | |||
+ | ==More drive information== | ||
+ | A detailed {{Vk}}- or {{Vn}}-history can be given in their own sections, like | ||
+ | ==={{Vk}}-history=== | ||
+ | Values added or removed during drive including external links with [[:Template:HistLink]]. | ||
+ | ==={{Vn}}-history=== | ||
+ | Searched ranges including external links. | ||
+ | ===Sieve history=== | ||
+ | Levels of sieving fo {{Vn}}/{{Vk}}-values or the used sieve depth. | ||
+ | ===Reservation history=== | ||
+ | Reserved and done ranges by individuals with dates and external links. | ||
+ | ===Primes table=== | ||
+ | Table of searched {{Vk}}-values, their [[Nash weight]], number of candidates, found/confirmed primes. | ||
+ | ===Notes=== | ||
+ | More notable information. | ||
+ | |||
+ | ==Remarks== | ||
+ | *The parameters DRProject, DRName, DRStart are required, otherwise an error is shown. | ||
+ | *Not all fields have to be filled, empty fields will not displayed instead shown empty. | ||
− | == | + | ==Examples== |
− | <div class="roundborder" style="width:60%; margin-top:5px; border:1px solid black; padding:3px 3px 3px 3px; border-radius:5px;"> | + | <pre> |
− | <div style="text-align:center; background: | + | {{Infobox Drive |
− | <div style="text-align:center; background:Lime; font-size:120%; font-weight:bold;"> | + | |DRProject=No Prime Left Behind |
+ | |DRName=NPLB Drive 11 | ||
+ | |DRPurpose=Searching [[Riesel prime]]s, {{Vk}} = 2000 - 3000, {{Vn}} = 425001 - 600000 | ||
+ | |DRMultiRes=7 | ||
+ | |DRStatus=/ test | ||
+ | |DRStart=2000-01-01 | ||
+ | |DREnd= | ||
+ | |DRkvalues=2000 - 3000 excluding {{Vk}} = 2041, 2055, 2085, 2115, 2175 (reserved/done by others) | ||
+ | |DRnrange=425001 - 600000 | ||
+ | |DRCandidates=3123551 | ||
+ | |DRSieve=RPS_Drive_10_sieve.zip | ||
+ | |DRPrimes=415 new , <span style="background-color:#00ffff;">69 confirmed</span> | ||
+ | |DRLink=[http://www.mersenneforum.org/showthread.php?t=12076 MersenneForum] | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | gives | ||
+ | {{Infobox Drive | ||
+ | |DRProject=No Prime Left Behind | ||
+ | |DRName=NPLB Drive 11 | ||
+ | |DRPurpose=Searching [[Riesel prime]]s, {{Vk}} = 2000 - 3000, {{Vn}} = 425001 - 600000 | ||
+ | |DRMultiRes=7 | ||
+ | |DRStatus=/ test | ||
+ | |DRStart=2000-01-01 | ||
+ | |DREnd= | ||
+ | |DRkvalues=2000 - 3000 excluding {{Vk}} = 2041, 2055, 2085, 2115, 2175 (reserved/done by others) | ||
+ | |DRnrange=425001 - 600000 | ||
+ | |DRCandidates=3123551 | ||
+ | |DRSieve=RPS_Drive_10_sieve.zip | ||
+ | |DRPrimes=415 new , <span style="background-color:#00ffff;">69 confirmed</span> | ||
+ | |DRLink=[http://www.mersenneforum.org/showthread.php?t=12076 MersenneForum] | ||
+ | }} | ||
+ | |||
+ | <pre> | ||
+ | {{Infobox Drive | ||
+ | |DRProject=Riesel Prime Search | ||
+ | |DRName=RPS Drive 6 | ||
+ | |DRPurpose=Searching [[Riesel prime]]s, {{Vk}} = 100 - 3000, {{Vn}} = 300000 - 500000 | ||
+ | |DRMultiRes= | ||
+ | |DRStatus= | ||
+ | |DRStart=2000-01-01 | ||
+ | |DREnd=2005-04-03 | ||
+ | |DRkvalues= | ||
+ | |DRnrange= | ||
+ | |DRCandidates= | ||
+ | |DRSieve= | ||
+ | |DRPrimes= | ||
+ | |DRLink= | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | gives | ||
+ | {{Infobox Drive | ||
+ | |DRProject=Riesel Prime Search | ||
+ | |DRName=RPS Drive 6 | ||
+ | |DRPurpose=Searching [[Riesel prime]]s, {{Vk}} = 100 - 3000, {{Vn}} = 300000 - 500000 | ||
+ | |DRMultiRes= | ||
+ | |DRStatus= | ||
+ | |DRStart=2000-01-01 | ||
+ | |DREnd=2005-04-03 | ||
+ | |DRkvalues= | ||
+ | |DRnrange= | ||
+ | |DRCandidates= | ||
+ | |DRSieve= | ||
+ | |DRPrimes= | ||
+ | |DRLink= | ||
+ | }} | ||
+ | </pre> | ||
+ | [[Category:Infoboxes|Drive]]</noinclude><includeonly><div class="roundborder" style="width:60%; margin-top:5px; border:1px solid black; padding:3px 3px 3px 3px; border-radius:5px;"> | ||
+ | {{#if:{{{DREnd|}}}|<div style="text-align:center; background:SkyBlue; font-size:120%; font-weight:bold;">{{{DRName}}} - This drive is done.</div>|<div style="text-align:center; background:Lime; font-size:120%; font-weight:bold;">{{{DRName}}} - Ongoing</div>}} | ||
{| style="width:100%;" | {| style="width:100%;" | ||
− | + | {{#if:{{{DRProject|}}}| | |
+ | {{!}} style="background:SkyBlue; width:15%; font-weight:bold;" {{!}} [[Project]] {{!}}{{!}} [[{{{DRProject}}}]] | {{!}} {{!}}{{!}} {{Alert|Attention!|Parameter 'DRProject' not given!}} | ||
+ | }} | ||
|- | |- | ||
− | + | {{#if:{{{DRName|}}}| | |
+ | {{!}} style="background:SkyBlue; width:15%; font-weight:bold;" {{!}} Drive name {{!}}{{!}} [[{{{DRName}}}]] | {{!}} {{!}}{{!}} {{Alert|Attention!|Parameter 'DRName' not given!}} | ||
+ | }} | ||
|- | |- | ||
− | | style="background:SkyBlue; width:15%; font-weight:bold;" | Purpose || | + | | style="background:SkyBlue; width:15%; font-weight:bold;" | Purpose || {{{DRPurpose}}} |
|- | |- | ||
− | + | {{#if:{{{DRMultiRes|}}}{{{DRStatus|}}}| | |
+ | {{!}} style="background:SkyBlue; width:15%; font-weight:bold;" {{!}} Current status {{!}}{{!}} {{#if:{{{DRMultiRes|}}}|[[:Multi Reservation:{{{DRMultiRes}}}|Multi Reservation {{{DRMultiRes}}}]]: The current {{Vn}}<sub>max</sub> = {{Num|{{Multi Reservation:{{{DRMultiRes}}}-NMax}}}} as of {{Multi Reservation:{{{DRMultiRes}}}-Date}}}} {{#if:{{{DRStatus|}}}|{{{DRStatus}}}}} | ||
+ | }} | ||
|- | |- | ||
− | + | {{#if:{{{DRStart|}}}| | |
+ | {{!}} style="background:SkyBlue; width:15%; font-weight:bold;" {{!}} Date start {{!}}{{!}} {{{DRStart}}} | {{!}} {{!}}{{!}} {{Alert|Attention!|Parameter 'DRStart' not given!}} | ||
+ | }} | ||
|- | |- | ||
− | + | {{#if:{{{DREnd|}}}| | |
+ | {{!}} style="background:SkyBlue; width:15%; font-weight:bold;" {{!}} Date end {{!}}{{!}} {{{DREnd}}} | ||
+ | }} | ||
|- | |- | ||
− | + | {{#if:{{{DRkvalues|}}}| | |
+ | {{!}} style="background:SkyBlue; width:15%; font-weight:bold;" {{!}} {{Vk}}-values {{!}}{{!}} {{{DRkvalues}}} | ||
+ | }} | ||
|- | |- | ||
− | + | {{#if:{{{DRnrange|}}}| | |
+ | {{!}} style="background:SkyBlue; width:15%; font-weight:bold;" {{!}} {{Vn}}-range {{!}}{{!}} {{{DRnrange}}} | ||
+ | }} | ||
|- | |- | ||
− | + | {{#if:{{{DRCandidates|}}}| | |
+ | {{!}} style="background:SkyBlue; width:15%; font-weight:bold;" {{!}} # candidates {{!}}{{!}} {{{DRCandidates}}} | ||
+ | }} | ||
|- | |- | ||
− | + | {{#if:{{{DRSieve|}}}| | |
+ | {{!}} style="background:SkyBlue; width:15%; font-weight:bold;" {{!}} Sieve {{!}}{{!}} [[File:{{{DRSieve}}}]] | ||
+ | }} | ||
|- | |- | ||
− | + | {{#if:{{{DRPrimes|}}}| | |
+ | {{!}} style="background:SkyBlue; width:15%; font-weight:bold;" {{!}} Primes found {{!}}{{!}} {{{DRPrimes}}} | ||
+ | }} | ||
|- | |- | ||
− | + | {{#if:{{{DRLink|}}}| | |
− | + | {{!}} style="background:SkyBlue; width:15%; font-weight:bold;" {{!}} Link {{!}}{{!}} {{{DRLink}}} | |
− | + | }} | |
− | + | |} | |
− | + | </div></includeonly> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 08:06, 15 July 2024
Contents
Purpose
Create an infobox for any drive as table with important data fields to unify the drive pages.
Calling
{{Infobox Drive |DRProject= |DRName= |DRPurpose= |DRMultiRes= |DRStatus= |DRStart= |DREnd= |DRkvalues= |DRnrange= |DRCandidates= |DRSieve= |DRPrimes= |DRLink= }}
Standarized sections headers
To use the same look here're the standarized section headers in use:
==Overview== ==={{Vk}}-history=== ==={{Vn}}-history=== ===Sieve history=== ===Reservation history=== ===Primes table=== ===Notes===
The first section header is before the above template.
Parameters
- DRProject: like NPLB,RPS,PG,SRBase,... displayed as link to the project page
- DRName: e.g. "NPLB Drive 10", displayed as link to the drive page
- DRPurpose: short overview including type of search (Riesel,Proth,SG,Twin,GFN,...), k-range, n-range
- DRMultiRes: if given, it's shown as "Multi Reservation <xx>: The current nmax = <yyy> as of <date>"
- DRStatus: reflects the current status, if DRMultiRes not given this is a further data field, example: PrimeGrid status page
- DRStart: date of start of the drive
- DREnd: date of end of the drive, if not given header contains in green "Ongoing"
- DRkvalues: more detailed k-value list
- DRnrange: more detailed n-range
- DRCandidates: number of candidates if known
- DRSieve: name of a sieve file if given
- DRPrimes: number of primes found including confirmed
- DRLink: link to external page
More drive information
A detailed k- or n-history can be given in their own sections, like
k-history
Values added or removed during drive including external links with Template:HistLink.
n-history
Searched ranges including external links.
Sieve history
Levels of sieving fo n/k-values or the used sieve depth.
Reservation history
Reserved and done ranges by individuals with dates and external links.
Primes table
Table of searched k-values, their Nash weight, number of candidates, found/confirmed primes.
Notes
More notable information.
Remarks
- The parameters DRProject, DRName, DRStart are required, otherwise an error is shown.
- Not all fields have to be filled, empty fields will not displayed instead shown empty.
Examples
{{Infobox Drive |DRProject=No Prime Left Behind |DRName=NPLB Drive 11 |DRPurpose=Searching [[Riesel prime]]s, {{Vk}} = 2000 - 3000, {{Vn}} = 425001 - 600000 |DRMultiRes=7 |DRStatus=/ test |DRStart=2000-01-01 |DREnd= |DRkvalues=2000 - 3000 excluding {{Vk}} = 2041, 2055, 2085, 2115, 2175 (reserved/done by others) |DRnrange=425001 - 600000 |DRCandidates=3123551 |DRSieve=RPS_Drive_10_sieve.zip |DRPrimes=415 new , <span style="background-color:#00ffff;">69 confirmed</span> |DRLink=[http://www.mersenneforum.org/showthread.php?t=12076 MersenneForum] }}
gives
NPLB Drive 11 - Ongoing
Project | No Prime Left Behind |
Drive name | NPLB Drive 11 |
Purpose | Searching Riesel primes, k = 2000 - 3000, n = 425001 - 600000 |
Current status | Multi Reservation 7: The current nmax = 2,800,000 as of 2024-11-13 / test |
Date start | 2000-01-01 |
k-values | 2000 - 3000 excluding k = 2041, 2055, 2085, 2115, 2175 (reserved/done by others) |
n-range | 425001 - 600000 |
# candidates | 3123551 |
Sieve | File:RPS Drive 10 sieve.zip |
Primes found | 415 new , 69 confirmed |
Link | MersenneForum |
{{Infobox Drive |DRProject=Riesel Prime Search |DRName=RPS Drive 6 |DRPurpose=Searching [[Riesel prime]]s, {{Vk}} = 100 - 3000, {{Vn}} = 300000 - 500000 |DRMultiRes= |DRStatus= |DRStart=2000-01-01 |DREnd=2005-04-03 |DRkvalues= |DRnrange= |DRCandidates= |DRSieve= |DRPrimes= |DRLink= }}
gives
RPS Drive 6 - This drive is done.
Project | Riesel Prime Search |
Drive name | RPS Drive 6 |
Purpose | Searching Riesel primes, k = 100 - 3000, n = 300000 - 500000 |
Date start | 2000-01-01 |
Date end | 2005-04-03 |