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"
m |
(class) |
||
(2 intermediate revisions 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= | ||
}} | }} | ||
− | [[Category:Prime collections]]</noinclude><includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|<!-- | + | [[Category:Prime collections]]</noinclude><includeonly>__NOTOC__{{#ifeq:{{NAMESPACENUMBER}}|0|<!-- |
-->{{#vardefine:b|{{#explode:{{PAGENAME}}||-1}}}}{{DISPLAYTITLE:Near Gen. Cullen/Woodall primes of the form (n±1)•{{#var:b}}<sup>n</sup>±1}}<!-- | -->{{#vardefine:b|{{#explode:{{PAGENAME}}||-1}}}}{{DISPLAYTITLE:Near Gen. Cullen/Woodall primes of the form (n±1)•{{#var:b}}<sup>n</sup>±1}}<!-- | ||
-->{{#if:{{{NGCWCMlist|}}}||[[Category:Near Gen. Cullen without|#.....{{padleft:{{#var:b}}|5}}]]}}<!-- | -->{{#if:{{{NGCWCMlist|}}}||[[Category:Near Gen. Cullen without|#.....{{padleft:{{#var:b}}|5}}]]}}<!-- | ||
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|}}}| ([[:File:{{PAGENAME}} sieve.zip|sieve]])|}} | | align="right" | <b>Base :</b> || {{{NGCWBase}}} {{#if:{{{NGCWSieve|}}}| ([[:File:{{PAGENAME}} sieve.zip|sieve]])|}} | ||
Line 91: | Line 91: | ||
|- | |- | ||
{{#if:{{{NGCWReserved|}}}| | {{#if:{{{NGCWReserved|}}}| | ||
− | {{!}} align="right" {{!}} <b>Reserved :</b> {{!}}{{!}} {{ | + | {{!}} 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%" | + | {{!}} <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
|
|
Remarks : |
Test |
Notes
- ↑ Test