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"
(new) |
(corr.) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
{{Long number}} | {{Long number}} | ||
</pre> | </pre> | ||
− | will create this entry if the ID (here | + | will create this entry if the ID (here 1100000000087323454) given in the page title with a leading "N" exists and is filled with data: |
{{Long number}} | {{Long number}} | ||
Line 22: | Line 22: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Long number: | + | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Long number:N1100000000087323454-ID|action=edit}} <b>FactorDB-ID</b>]:||'''-create value-''' |
|- | |- | ||
− | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Long number: | + | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Long number:N1100000000087323454-NS|action=edit}} <b>Number short</b>]:||'''-create value-''' |
|- | |- | ||
− | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Long number: | + | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Long number:N1100000000087323454-NL|action=edit}} <b>Number long</b>]:||'''-create value-''' |
|- | |- | ||
− | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Long number: | + | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Long number:N1100000000087323454-DI|action=edit}} <b>Digits</b>]:||'''-create value-''' |
|- | |- | ||
− | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Long number: | + | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Long number:N1100000000087323454-RE|action=edit}} <b>Remarks</b>]:||'''-create value-''' |
|} | |} | ||
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| | + | [[Category:Templates]]</noinclude><includeonly>{{#vardefine:x|Long number:{{PAGENAME}}}}{{#ifeq:{{NAMESPACENUMBER}}|10|{{#vardefine:x|Long number:N1100000000087323454}}}} |
{| 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-'''}} |
Latest revision as of 23:36, 11 June 2024
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 1100000000087323454) given in the page title with a leading "N" exists and is filled with data:
FactorDB-ID: | 1100000000087323454 |
Number short: | 159228362311386950350933555659...03 |
Number long: | 15922836231138695035093355565980212884107486675001451682970617160257863311947248971452664548043591906237644522563833477152239872181860196421948439690685317315553051258143326480945577516888976026564843006895573500498133825643594092555886322403200003 |
Digits: | 248 |
Remarks: | k-value of a Proth prime, see GF Divisor |
An empty data set will look like this :
FactorDB-ID: | -create value- |
Number short: | -create value- |
Number long: | -create value- |
Digits: | -create value- |
Remarks: | -create value- |
To fill in the requested values, click on the link of the parameter and save the page with the data.