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"
('Name' converted to link) |
(types as list possible) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 22: | Line 22: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Multi Reservation 99-Name|action=edit}} <b>Name</b>]:||'''-create value-''' | + | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Multi Reservation:99-Name|action=edit}} <b>Name</b>]:||'''-create value-''' |
|- | |- | ||
− | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Multi Reservation 99-Contributor|action=edit}} <b>Contributor</b>]:||'''-create value-''' | + | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Multi Reservation:99-Contributor|action=edit}} <b>Contributor</b>]:||'''-create value-''' |
|- | |- | ||
− | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Multi Reservation 99-Description|action=edit}} <b>Description</b>]:||'''-create value-''' | + | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Multi Reservation:99-Description|action=edit}} <b>Description</b>]:||'''-create value-''' |
|- | |- | ||
− | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Multi Reservation 99-Type|action=edit}} <b>Type</b>]:||'''-create value-''' | + | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Multi Reservation:99-Type|action=edit}} <b>Type</b>]:||'''-create value-''' |
|- | |- | ||
− | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Multi Reservation 99-Date|action=edit}} <b>Date</b>]:||'''-create value-''' | + | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Multi Reservation:99-Date|action=edit}} <b>Date</b>]:||'''-create value-''' |
|- | |- | ||
− | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Multi Reservation 99-KMin|action=edit}} <b>KMin</b>]:||'''-create value-''' | + | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Multi Reservation:99-KMin|action=edit}} <b>KMin</b>]:||'''-create value-''' |
|- | |- | ||
− | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Multi Reservation 99-KMax|action=edit}} <b>KMax</b>]:||'''-create value-''' | + | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Multi Reservation:99-KMax|action=edit}} <b>KMax</b>]:||'''-create value-''' |
|- | |- | ||
− | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Multi Reservation 99-NMax|action=edit}} <b>NMax</b>]:||'''-create value-''' | + | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:Multi Reservation:99-NMax|action=edit}} <b>NMax</b>]:||'''-create value-''' |
|} | |} | ||
− | To fill in the requested values, | + | 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|Multi_Reservation:{{PAGENAME}}}}{{#ifeq:{{NAMESPACENUMBER}}|10|{{#vardefine:x|Multi_Reservation:1}}}} |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 48: | Line 48: | ||
| style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:{{#var:x}}-Description|action=edit}} <b>Description</b>]:||{{#ifexist:{{#var:x}}-Description|{{#ifeq:{{{{#var:x}}-Description}}||'''-input value-'''|{{{{#var:x}}-Description}}}}|'''-create value-'''}} | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:{{#var:x}}-Description|action=edit}} <b>Description</b>]:||{{#ifexist:{{#var:x}}-Description|{{#ifeq:{{{{#var:x}}-Description}}||'''-input value-'''|{{{{#var:x}}-Description}}}}|'''-create value-'''}} | ||
|- | |- | ||
− | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:{{#var:x}}-Type|action=edit}} <b>Type</b>]:||{{#ifexist:{{#var:x}}-Type|{{#ifeq:{{{{#var:x}}-Type}}||'''-input value-'''| | + | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:{{#var:x}}-Type|action=edit}} <b>Type</b>]:||{{#ifexist:{{#var:x}}-Type|{{#ifeq:{{{{#var:x}}-Type}}||'''-input value-'''|{{Types|{{{{#var:x}}-Type}}}}}}|'''-create value-'''}} |
|- | |- | ||
| style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:{{#var:x}}-Date|action=edit}} <b>Date</b>]:||{{#ifexist:{{#var:x}}-Date|{{#ifeq:{{#var:x}}-Date||'''-input value-'''|{{{{#var:x}}-Date}}}}|'''-create value-'''}} | | style="text-align:right;" class="plainlinks" | [{{SERVER}}{{localurl:{{#var:x}}-Date|action=edit}} <b>Date</b>]:||{{#ifexist:{{#var:x}}-Date|{{#ifeq:{{#var:x}}-Date||'''-input value-'''|{{{{#var:x}}-Date}}}}|'''-create value-'''}} | ||
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}}| | + | |}{{#ifeq:{{NAMESPACENUMBER}}|3000|[[Category:Multi Reservation]]}}</includeonly> |
Latest revision as of 19:06, 20 June 2021
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:
Name: | PrimeGrid Proth Prime Search |
Contributor: | PrimeGrid |
Description: | Searching for Proth primes for n ≥ 2500000 |
Type: | Proth prime |
Date: | 2024-07-25 |
KMin: | 51 |
KMax: | 285 |
NMax: | 5200000 |
An empty data set will look like this (here ID = 99):
Name: | -create value- |
Contributor: | -create value- |
Description: | -create value- |
Type: | -create value- |
Date: | -create value- |
KMin: | -create value- |
KMax: | -create value- |
NMax: | -create value- |
To fill in the requested values, click on the link of the parameter and save the page with the data.