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

Template:User/RP/doc

From Kiwiki
Revision as of 13:44, 16 October 2012 by Leech (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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)}}}}}}}}