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
(new)
 
(Undo revision 15288 by Karbon (talk))
(Tag: Undo)
 
(4 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
{{My reservations}}
 
{{My reservations}}
 
</pre>
 
</pre>
creates a new section "My reservations" and lists all pages given in the category [[:Category:Reserved|Reserved]] corresponding to the user.
+
creates a new section "My reservations" and lists all reserved sequences corresponding to the user.
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
==My reservations==
 
==My reservations==
Entries in the category '''[[:Category:Reserved|Reserved]]''':
 
 
{{#dpl:
 
{{#dpl:
 
|debug=1
 
|debug=1
|category=Reserved
+
|namespace=
|linksto={{PAGENAME}}
+
|category=Reserved{{!}}ReservedM
|resultsheader=There are %PAGES% sequences.
+
|linksto = {{FULLPAGENAME}}/Reserved
|noresultsheader=\nThere are no entries.
+
|format={{{!}} class="wikitable",\n{{!}}-\n{{!}}[[%PAGE%]],,\n{{!}}}
 +
|ordermethod=sortkey
 +
|order=ascending
 +
|oneresultheader=<b>There is one sequence</b>:\n
 +
|resultsheader=<b>There are %PAGES% sequences</b>:\n
 +
|noresultsheader=<b>There are no entries.</b>\n
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 13:09, 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.