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:Near Gen. Cullen-Woodall prime"

From Prime-Wiki
Jump to: navigation, search
(notoc)
(class)
 
(One intermediate revision by the same user not shown)
Line 47: Line 47:
 
2
 
2
 
3;345789
 
3;345789
|NGCWRemarks=
+
|NGCWRemarks=Test
 
|NGCWSieve=
 
|NGCWSieve=
 
}}
 
}}
Line 69: Line 69:
 
2
 
2
 
3;345789
 
3;345789
|NGCWRemarks=
+
|NGCWRemarks=Test
 
|NGCWSieve=
 
|NGCWSieve=
 
}}
 
}}
Line 82: Line 82:
 
==Current data==
 
==Current data==
 
{| class="primedata"
 
{| class="primedata"
| class="primetemplate" |
+
| class="primetemplate color-PrimeTemplate" |
 
  {|  
 
  {|  
 
   | align="right" | <b>Base :</b> || {{{NGCWBase}}} {{#if:{{{NGCWSieve|}}}|&nbsp;([[:File:{{PAGENAME}} sieve.zip|sieve]])|}}
 
   | align="right" | <b>Base :</b> || {{{NGCWBase}}} {{#if:{{{NGCWSieve|}}}|&nbsp;([[:File:{{PAGENAME}} sieve.zip|sieve]])|}}
Line 91: Line 91:
 
   |-
 
   |-
 
   {{#if:{{{NGCWReserved|}}}|
 
   {{#if:{{{NGCWReserved|}}}|
     {{!}} align="right" {{!}} <b>Reserved :</b> {{!}}{{!}} {{Contribs|{{{NGCWReserved}}}}}
+
     {{!}} align="right" {{!}} <b>Reserved :</b> {{!}}{{!}} [[{{{NGCWReserved}}}]]{{#ifeq:{{NAMESPACENUMBER}}|0|<span style="display:none">[[{{{NGCWReserved}}}/Reserved]]</span>}}
 
   }}
 
   }}
 
  |}
 
  |}
Line 106: Line 106:
 
|}{{#if:{{{NGCWRemarks|}}}|
 
|}{{#if:{{{NGCWRemarks|}}}|
 
{{{!}}  
 
{{{!}}  
{{!}} <div height="120%" style="background-color:SkyBlue;"><b>Remarks : </b></div> {{!}}{{!}} {{{NGCWRemarks}}}
+
{{!}} <div height="120%" class="color-PrimeTemplate"><b>Remarks : </b></div> {{!}}{{!}} {{{NGCWRemarks}}}
 
{{!}}}
 
{{!}}}
 
}}
 
}}

Latest revision as of 02:04, 17 May 2021

Description

Template Near Gen. Cullen-Woodall prime

Display of current data for Near Gen. Cullen-Woodall primes.

Notes:

The page title is displayed with the formula.
The category Near Gen. Cullen-Woodall prime is set.
If no Near Gen. Cullen primes are given, the page is categorized into Near Gen. Cullen without.
If no Near Gen. Woodall primes are given, the page is categorized into Near Gen. Woodall without.
If no primes are given at all, the page is categorized into Near Gen. Cullen-Woodall without.

Calling

{{Near Gen. Cullen-Woodall prime
|NGCWBase=
|NGCWMaxn=
|NGCWDate=
|NGCWReserved=
|NGCWWMlist=
|NGCWWPlist=
|NGCWCMlist=
|NGCWCPlist=
|NGCWRemarks=
|NGCWSieve=
}}

Example

{{Near Gen. Cullen-Woodall prime
|NGCWBase=2
|NGCWMaxn=10000
|NGCWDate=2019-05-01
|NGCWReserved=Karsten Bonath
|NGCWWMlist=
1
2
5
13
|NGCWWPlist=
30
100;C:Test
|NGCWCPlist=
1
2
3;345789
|NGCWRemarks=Test
|NGCWSieve=
}}

will create:

Current data

Base : 2
Max n : 10,000
Date : 2019-05-01
Reserved : Karsten Bonath
W- 04 : 1, 2, 5, 13
W+ 02 : 30, 100[1]
C- 00 :
C+ 03 : 1, 2, 3
Remarks :
Test

Notes

  1. Test