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)
 
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|Text|Additional Info}}</nowiki>
 +
 
 +
which results in:
 +
 
 +
{{User/RP|Text|Additional Info}}
 +
 
 +
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|Text|Additional Info|User:Yottabyte}}</nowiki>
 +
 
 +
which would result in
 +
 
 +
{{User/RP|Text|Additional Info|Yottabyte}}

Revision as of 17:34, 1 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|Text|Additional Info}}

which results in:

{{#if: |Text|Text}}{{#if:|{{#ifexist: |{{#ifeq: |User|[[|(U)]]|[[|(P)]]}}}}|{{#ifexist: Text|(P)|{{#ifexist: Additional Info|(P)|{{#ifexist: User:Additional Info|(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|Text|Additional Info|User:Yottabyte}}

which would result in

{{#if: |Text|Text}}{{#if:Yottabyte|{{#ifexist: Yottabyte|{{#ifeq: |User|(U)|(P)}}}}|{{#ifexist: Text|(P)|{{#ifexist: Additional Info|(P)|{{#ifexist: User:Additional Info|(U)}}}}}}}}