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
 
Line 1: Line 1:
 
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:
 
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>
+
<nowiki>{{User/RP|RP name|Username}}</nowiki>
  
 
which results in:
 
which results in:
  
{{User/RP|Text|Additional Info}}
+
{{User/RP|RP Name|Username}}
  
 
If a character has a page, it is automatically linked to, like this: {{User/RP|Aloysius Leech|Flying_Leech}}
 
If a character has a page, it is automatically linked to, like this: {{User/RP|Aloysius Leech|Flying_Leech}}
Line 11: Line 11:
 
Additionally, you can put a link name into the template, as follows:
 
Additionally, you can put a link name into the template, as follows:
  
<nowiki>{{User/RP|Text|Additional Info|User:Yottabyte}}</nowiki>
+
<nowiki>{{User/RP|RP Name|Username|User:Yottabyte}}</nowiki>
  
 
which would result in
 
which would result in
  
{{User/RP|Text|Additional Info|Yottabyte}}
+
{{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)}}}}}}}}