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-'''}}

Latest 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:

Long number:N1100000000007573954-ID Long number:N1100000000007573954-ID
-create value-
-create value-
-create value-
-create value-

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.