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:Reserved"

From Prime-Wiki
Jump to: navigation, search
(user page link)
(corrections)
Line 1: Line 1:
<noinclude>__NOTOC__
+
<noinclude>
 +
==Purpose==
 
With this template a sequence can be marked as reserved by a user/person.
 
With this template a sequence can be marked as reserved by a user/person.
  
Line 9: Line 10:
 
The user/person has to be given. To create a link to the user page, the prefix "User:" is needed.
 
The user/person has to be given. To create a link to the user page, the prefix "User:" is needed.
  
The reserved sequence is therrfore included in the '''[[:Category:Reserved|Reserved]]''' by default.
+
The reserved sequence is therefore included in the category '''[[:Category:Reserved|Reserved]]''' by default.
  
Example:
+
==Example==
 
<pre>
 
<pre>
  {{Reserved|User:Karbon}}
+
  {{Reserved|Anonymous}}
{{Shortinfo|Anonymous}
 
 
</pre>
 
</pre>
  
==Page header==
 
 
The page header looks like this:
 
The page header looks like this:
{| style="width: 100%; font-size: 125%; border-style: solid; margin-top: 1em; clear: both; position:relative;"
+
{| style="width: 100%; font-size: 125%; border-style: solid; margin-top: 1em; clear: both; position:relative; border-radius:5px;"
 
| style="height:31px; vertical-align: left;background:lime;" |'''[[:Category:Reserved|Reserved!]]''' This sequence is currently reserved by: Anonymous
 
| style="height:31px; vertical-align: left;background:lime;" |'''[[:Category:Reserved|Reserved!]]''' This sequence is currently reserved by: Anonymous
 
|}
 
|}
 
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>
<includeonly>{| style="width: 100%; font-size: 125%; border-style: solid; margin-top: 1em; clear: both; position:relative;"
+
<includeonly>{| style="width: 100%; font-size: 125%; border-style: solid; margin-top: 1em; clear: both; position:relative; border-radius:5px;"
 
| style="height:31px; vertical-align: left;background:lime;" |'''[[:Category:Reserved|Reserved!]]''' This sequence is currently reserved by: {{#if:{{#pos:{{{1}}}|User}}|'''[[:{{{1}}}|{{#explode:{{{1}}}|:|1}}]]'''|'''{{{1}}}'''}}
 
| style="height:31px; vertical-align: left;background:lime;" |'''[[:Category:Reserved|Reserved!]]''' This sequence is currently reserved by: {{#if:{{#pos:{{{1}}}|User}}|'''[[:{{{1}}}|{{#explode:{{{1}}}|:|1}}]]'''|'''{{{1}}}'''}}
 
|}
 
|}
 
[[Category:Reserved]]</includeonly>
 
[[Category:Reserved]]</includeonly>

Revision as of 01:46, 7 April 2019

Purpose

With this template a sequence can be marked as reserved by a user/person.

Calling

 {{Reserved|<user>}}

The user/person has to be given. To create a link to the user page, the prefix "User:" is needed.

The reserved sequence is therefore included in the category Reserved by default.

Example

 {{Reserved|Anonymous}}

The page header looks like this:

Reserved! This sequence is currently reserved by: Anonymous