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:My reservations"

From Prime-Wiki
Jump to: navigation, search
(order)
(table with dates)
Line 13: Line 13:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
==My reservations==
 
==My reservations==
{{#dpl:
+
<dpl>
|debug=1
+
debug=1
|namespace=
+
namespace=
|category=Reserved{{!}}ReservedM
+
category=Reserved|ReservedM
|linksto = {{FULLPAGENAME}}/Reserved
+
linksto = {{FULLPAGENAME}}/Reserved
|format={{{!}} class="wikitable",\n{{!}}-\n{{!}}[[%PAGE%]],,\n{{!}}}
+
format={| class="wikitable sortable"\n!Sequence!!Date\n,\n|-\n|[[%PAGE%]]\n|{{GP|%PAGE%|Date}},,\n|}
|ordermethod=sortkey
+
ordermethod=sortkey
|order=ascending
+
order=ascending
|oneresultheader=<b>There is one sequence</b>:\n
+
oneresultheader=<b>There is one sequence</b>:\n
|resultsheader=<b>There are %PAGES% sequences</b>:\n
+
resultsheader=<b>There are %PAGES% sequences</b>:\n
|noresultsheader=<b>There are no entries.</b>\n
+
noresultsheader=<b>There are no entries.</b>\n
}}</includeonly>
+
</dpl>
 +
</includeonly>

Revision as of 11:57, 12 July 2021

Template: My reservations

Purpose

Showing all reservations on a user page using the page title.

Calling

{{My reservations}}

creates a new section "My reservations" and lists all reserved sequences corresponding to the user.