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