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:Long number"

From Prime-Wiki
Jump to: navigation, search
(new)
 
(longline)
(One intermediate revision by the same user not shown)
Line 33: Line 33:
 
|}
 
|}
 
To fill in the requested values, click on the link of the parameter and save the page with the data.
 
To fill in the requested values, click on the link of the parameter and save the page with the data.
[[Category:Templates]]</noinclude><includeonly>{{#vardefine:x|Multi_Reservation:{{PAGENAME}}}}{{#ifeq:{{NAMESPACENUMBER}}|10|{{#vardefine:x|Long number:N1100000000007573954}}}}
+
[[Category:Templates]]</noinclude><includeonly>{{#vardefine:x|Long number:{{PAGENAME}}}}{{#ifeq:{{NAMESPACENUMBER}}|10|{{#vardefine:x|Long number:N1100000000007573954}}}}
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 40: Line 40:
 
| style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:{{#var:x}}-NS|action=edit}} <b>Number short</b>]:||{{#ifexist:{{#var:x}}-NS|{{#ifeq:{{#var:x}}-NS||'''-input value-'''|{{{{#var:x}}-NS}}}}|'''-create value-'''}}
 
| style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:{{#var:x}}-NS|action=edit}} <b>Number short</b>]:||{{#ifexist:{{#var:x}}-NS|{{#ifeq:{{#var:x}}-NS||'''-input value-'''|{{{{#var:x}}-NS}}}}|'''-create value-'''}}
 
|-
 
|-
| style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:{{#var:x}}-NL|action=edit}} <b>Number long</b>]:||{{#ifexist:{{#var:x}}-NL|{{#ifeq:{{{{#var:x}}-NL}}||'''-input value-'''|{{{{#var:x}}-NL}}}}|'''-create value-'''}}
+
| style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:{{#var:x}}-NL|action=edit}} <b>Number long</b>]:||class="longline"|{{#ifexist:{{#var:x}}-NL|{{#ifeq:{{{{#var:x}}-NL}}||'''-input value-'''|{{{{#var:x}}-NL}}}}|'''-create value-'''}}
 
|-
 
|-
 
| style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:{{#var:x}}-DI|action=edit}} <b>Digits</b>]:||{{#ifexist:{{#var:x}}-DI|{{#ifeq:{{{{#var:x}}-DI}}||'''-input value-'''|{{{{#var:x}}-DI}}}}|'''-create value-'''}}
 
| style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:{{#var:x}}-DI|action=edit}} <b>Digits</b>]:||{{#ifexist:{{#var:x}}-DI|{{#ifeq:{{{{#var:x}}-DI}}||'''-input value-'''|{{{{#var:x}}-DI}}}}|'''-create value-'''}}

Revision as of 22:09, 15 August 2021

Template Long number

Purpose

This template will create a data table for a "Long number" used to handle numbers with a large amount of digits.

The data are saved on separate pages and the category "Long number" is set by default.

Calling

{{Long number}}

Example

{{Long number}}

will create this entry if the ID (here 1100000000007573954) given in the page title with a leading "N" exists and is filled with data:

1100000000087323454
159228362311386950350933555659...03
15922836231138695035093355565980212884107486675001451682970617160257863311947248971452664548043591906237644522563833477152239872181860196421948439690685317315553051258143326480945577516888976026564843006895573500498133825643594092555886322403200003
248
k-value of a Proth prime, see GF Divisor

An empty data set will look like this :

-create value-
-create value-
-create value-
-create value-
-create value-

To fill in the requested values, click on the link of the parameter and save the page with the data.