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:Multi Reservation"

From Prime-Wiki
Jump to: navigation, search
('Name' converted to link)
(MultiRes as namespace)
Line 39: Line 39:
 
|}
 
|}
 
To fill in the requested values, klick on the link of the parameter and save the page with the data.
 
To fill in the requested values, klick on the link of the parameter and save the page with the data.
[[Category:Templates]]</noinclude><includeonly>{{#vardefine:x|Project:Multi Reservation {{#explode:{{PAGENAME}}||-1}}}}{{#ifeq:{{NAMESPACENUMBER}}|10|{{#vardefine:x|Project:Multi Reservation 1}}}}
+
[[Category:Templates]]</noinclude><includeonly>{{#vardefine:x|Multi_Reservation:{{PAGENAME}}}}{{#ifeq:{{NAMESPACENUMBER}}|10|{{#vardefine:x|Multi_Reservation:1}}}}
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 57: Line 57:
 
|-
 
|-
 
| style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:{{#var:x}}-NMax|action=edit}} <b>NMax</b>]:||{{#ifexist:{{#var:x}}-NMax|{{#ifeq:{{#var:x}}-NMax||'''-input value-'''|{{{{#var:x}}-NMax}}}}|'''-create value-'''}}
 
| style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:{{#var:x}}-NMax|action=edit}} <b>NMax</b>]:||{{#ifexist:{{#var:x}}-NMax|{{#ifeq:{{#var:x}}-NMax||'''-input value-'''|{{{{#var:x}}-NMax}}}}|'''-create value-'''}}
|}{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Multi Reservation]]}}</includeonly>
+
|}{{#ifeq:{{NAMESPACENUMBER}}|3000|[[Category:Multi Reservation]]}}</includeonly>

Revision as of 11:31, 26 February 2020

Template Multi Reservation

Purpose

This template will create a data table for a "Multi Reservation" used for a wide range of reservations from a person or project.

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

Calling

{{Multi Reservation}}

Example

{{Multi Reservation}}

will create this entry if the ID (here 1) given in the page title exists and is filled with data:

PrimeGrid Proth Prime Search
PrimeGrid
Searching for Proth primes for n ≥ 2500000
Proth prime
2024-07-25
51
285
5200000

An empty data set will look like this (here ID = 99):

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

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