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:GP"

From Prime-Wiki
Jump to: navigation, search
(use RMaxn if filled although RMultiRes is set)
(new type "GF Divisor")
Line 22: Line 22:
 
*<nowiki>{{GP|Riesel prime 65|RNlist}}</nowiki>
 
*<nowiki>{{GP|Riesel prime 65|RNlist}}</nowiki>
 
:{{GP|Riesel prime 65|RNlist}}
 
:{{GP|Riesel prime 65|RNlist}}
 +
 +
*<nowiki>{{GP|GF Divisor 3 209|GFList}}</nowiki>
 +
:{{GP|GF Divisor 3 209|GFList}}
 +
 
[[Category:Templates]]</noinclude><includeonly><!--
 
[[Category:Templates]]</noinclude><includeonly><!--
 
-->{{#vardefine:_type|none}}<!--
 
-->{{#vardefine:_type|none}}<!--
Line 33: Line 37:
 
-->{{#if:{{#pos:{{{1}}}|Woodall}}|{{#vardefine:_type|Woodall prime}}{{#vardefine:_short|Wo}}}}<!--
 
-->{{#if:{{#pos:{{{1}}}|Woodall}}|{{#vardefine:_type|Woodall prime}}{{#vardefine:_short|Wo}}}}<!--
 
-->{{#if:{{#pos:{{{1}}}|Gen}}|{{#vardefine:_type|Gen {{#var:_type}}}}}}<!--
 
-->{{#if:{{#pos:{{{1}}}|Gen}}|{{#vardefine:_type|Gen {{#var:_type}}}}}}<!--
 +
-->{{#if:{{#pos:{{{1}}}|GF}}|{{#vardefine:_type|GF Divisor}}{{#vardefine:_short|GF}}}}<!--
 
-->{{#vardefine:_mres|{{#ifexist:{{{1}}}|{{#dpl:title={{{1}}}|skipthispage=no|include={ {{#var:_type}}}:{{#var:_short}}MultiRes}}}}}}<!--
 
-->{{#vardefine:_mres|{{#ifexist:{{{1}}}|{{#dpl:title={{{1}}}|skipthispage=no|include={ {{#var:_type}}}:{{#var:_short}}MultiRes}}}}}}<!--
 
-->{{#vardefine:_mmax|{{#ifexist:{{{1}}}|{{#dpl:title={{{1}}}|skipthispage=no|include={ {{#var:_type}}}:{{#var:_short}}Maxn}}}}}}<!--
 
-->{{#vardefine:_mmax|{{#ifexist:{{{1}}}|{{#dpl:title={{{1}}}|skipthispage=no|include={ {{#var:_type}}}:{{#var:_short}}Maxn}}}}}}<!--

Revision as of 08:23, 30 November 2020

Description

Get a parameter value of a template by name if exists, "" (null) otherwise.

Call

{{GP|<prime name>|<Parameter>}}

Examples

Get the parameter "CKReserved" from "Carol-Kynea base 2" primes

  • {{GP|Carol-Kynea prime 2|CKBase}} results in
2
  • {{GP|Riesel prime 15|RMaxn}} results in
  • {{GP|Riesel prime 65|RMaxn}} (using MultiReservation) results in
  • {{GP|Riesel prime 65|RDate}} (using MultiReservation) results in
  • {{GP|Riesel prime 65|RNlist}}
  • {{GP|GF Divisor 3 209|GFList}}
2,1,207#1956#Raphael M. Robinson

3,1,207#1992#Harvey Dubner 3,2,206#1996#Anders Björn,Hans Riesel 4,3,207#1996#Anders Björn,Hans Riesel 5,1,208#1992#Harvey Dubner 5,2,208#1996#Anders Björn,Hans Riesel 5,3,208#1996#Anders Björn,Hans Riesel 5,4,208#1996#Anders Björn,Hans Riesel 6,1,203#1969#Hans Riesel 6,5,208#1996#Anders Björn,Hans Riesel 8,3,205#1996#Anders Björn,Hans Riesel 8,5,208#1996#Anders Björn,Hans Riesel 9,2,207#1996#Anders Björn,Hans Riesel 9,5,208#1996#Anders Björn,Hans Riesel 9,8,207#1996#Anders Björn,Hans Riesel 10,1,208#1992#Harvey Dubner 10,3,208#1996#Anders Björn,Hans Riesel 10,9,208#1996#Anders Björn,Hans Riesel 12,1,207#1969#Hans Riesel 12,5,208#1996#Anders Björn,Hans Riesel