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

From Prime-Wiki
Jump to: navigation, search
(Proth added)
(MultiRes support)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
Template: GetRes
 
Template: GetRes
  
[[Category:Templates]]</noinclude><includeonly>{{#switch:{{#explode:{{{1}}}| |0}}
+
[[Category:Templates]]</noinclude><includeonly>{{#vardefine:g|}}{{#switch:{{#explode:{{{1}}}| |0}}
|Williams={{#vardefine:q|Williams prime}}{{#vardefine:r|WiReserved}}
+
|Williams={{#vardefine:q|Williams prime}}{{#vardefine:r|WiReserved}}<!--{{#vardefine:g|WiMultiRes}}-->
|Carol-Kynea={{#vardefine:q|Carol-Kynea prime}}{{#vardefine:r|CKReserved}}
+
|Carol-Kynea={{#vardefine:q|Carol-Kynea prime}}{{#vardefine:r|CKReserved}}<!--{{#vardefine:g|CKMultiRes}}-->
|Riesel={{#vardefine:q|Riesel prime}}{{#vardefine:r|RReserved}}
+
|Riesel={{#vardefine:q|Riesel prime}}{{#vardefine:r|RReserved}}{{#vardefine:g|RMultiRes}}
|Proth={{#vardefine:q|Proth prime}}{{#vardefine:r|PReserved}}
+
|Proth={{#vardefine:q|Proth prime}}{{#vardefine:r|PReserved}}{{#vardefine:g|PMultiRes}}
 
|Gen.={{#switch:{{#explode:{{{1}}}| |1}}
 
|Gen.={{#switch:{{#explode:{{{1}}}| |1}}
  |Woodall={{#vardefine:q|Gen. Woodall prime}}{{#vardefine:r|WoReserved}}
+
  |Woodall={{#vardefine:q|Woodall prime}}{{#vardefine:r|WoReserved}}<!--{{#vardefine:g|WoMultiRes}}-->
  |Cullen={{#vardefine:q|Gen. Cullen prime}}{{#vardefine:r|CuReserved}}
+
  |Cullen={{#vardefine:q|Cullen prime}}{{#vardefine:r|CuReserved}}<!--{{#vardefine:g|CuMultiRes}}-->
}}}}{{#ifexist:{{{1}}}|{{#dpl:title={{{1}}}|skipthispage=no|include={ {{#var:q}}}:{{#var:r}}}}|}}</includeonly>
+
|Riesel={{#vardefine:q|Gen Riesel prime}}{{#vardefine:r|GRReserved}}{{#vardefine:g|GRMultiRes}}
 +
|Proth={{#vardefine:q|Gen Proth prime}}{{#vardefine:r|GPReserved}}{{#vardefine:g|GPMultiRes}}
 +
}}}}{{#vardefine:gp|{{GP|{{{1}}}|{{#var:g}}}}}}{{#ifexist:{{{1}}}|{{#if:{{#var:gp}}|{{Multi Reservation:{{#var:gp}}-Contributor}}|{{#dpl:title={{{1}}}|skipthispage=no|include={ {{#var:q}}}:{{#var:r}}}}|}}}}</includeonly>

Latest revision as of 14:57, 11 June 2020

Template: GetRes