You need to be logged into the wiki to be able to edit! To login or join the wiki, click here.

Difference between revisions of "Template:User/RP/doc"

From Kiwiki
Jump to: navigation, search
(Testing)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{User/RP|Username|Leech}}
+
The User/RP template is an implementation of the span tags, which allows for greater detail when a person moves their mouse over the word. The default syntax is as follows:
 +
 
 +
<nowiki>{{User/RP|RP name|Username}}</nowiki>
 +
 
 +
which results in:
 +
 
 +
{{User/RP|RP Name|Username}}
 +
 
 +
If a character has a page, it is automatically linked to, like this: {{User/RP|Aloysius Leech|Flying_Leech}}
 +
 
 +
Additionally, you can put a link name into the template, as follows:
 +
 
 +
<nowiki>{{User/RP|RP Name|Username|User:Yottabyte}}</nowiki>
 +
 
 +
which would result in
 +
 
 +
{{User/RP|RP Name|Username|Yottabyte}}

Latest revision as of 13:44, 16 October 2012

The User/RP template is an implementation of the span tags, which allows for greater detail when a person moves their mouse over the word. The default syntax is as follows:

{{User/RP|RP name|Username}}

which results in:

{{#if: |RP Name|RP Name}}{{#if:|{{#ifexist: |{{#ifeq: |User|[[|(U)]]|[[|(P)]]}}}}|{{#ifexist: RP Name|(P)|{{#ifexist: Username|(P)|{{#ifexist: User:Username|(U)}}}}}}}}


If a character has a page, it is automatically linked to, like this: {{#if: |Aloysius Leech|Aloysius Leech}}{{#if:|{{#ifexist: |{{#ifeq: |User|[[|(U)]]|[[|(P)]]}}}}|{{#ifexist: Aloysius Leech|(P)|{{#ifexist: Flying_Leech|(P)|{{#ifexist: User:Flying_Leech|(U)}}}}}}}}


Additionally, you can put a link name into the template, as follows:

{{User/RP|RP Name|Username|User:Yottabyte}}

which would result in

{{#if: |RP Name|RP Name}}{{#if:Yottabyte|{{#ifexist: Yottabyte|{{#ifeq: |User|(U)|(P)}}}}|{{#ifexist: RP Name|(P)|{{#ifexist: Username|(P)|{{#ifexist: User:Username|(U)}}}}}}}}