Difference between revisions of "Template:ProfileLink"

From Fallen Sword Wiki
Jump to: navigation, search
(New page: <includeonly>[http://www.fallensword.com/index.php?cmd=profile&player_id{{#switch:{{{1}}} | Belgrave = 699681 | CHiNback = 731698 | DavidAHare = 1650921 | #default = 31 }} {{{1|Hoofmaster}...)
 
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>[http://www.fallensword.com/index.php?cmd=profile&player_id{{#switch:{{{1}}}
+
<includeonly>[http://www.fallensword.com/index.php?cmd=profile&player_id={{#switch:{{{1}}}
 +
| 1Ld3m0n3 = 3150430
 +
| Aion = 3328214
 
| Belgrave = 699681
 
| Belgrave = 699681
 
| CHiNback = 731698
 
| CHiNback = 731698
 +
| Dalamar84 = 1272554
 +
| DaSchwartz = 1608444
 
| DavidAHare = 1650921
 
| DavidAHare = 1650921
| #default = 31
+
| DrakerJet = 2547101
}} {{{1|Hoofmaster}}}]</includeonly><noinclude>
+
| Eadig = 2506393
 +
| gligol = 2654833
 +
| igmono = 2933883
 +
| Majere = 4443077
 +
| Shawanna = 3374166
 +
| Timewaster = 3419843
 +
| Vajnoor = 1181670 
 +
| #default = {{{1}}}
 +
}} {{{2|{{{1|Hoofmaster}}}}}}]</includeonly><noinclude>
 
== How to Use ==
 
== How to Use ==
 
This template creates a link to a player page based on the player's name. However, it is necessary to put the player's ID into the template for it to work properly.
 
This template creates a link to a player page based on the player's name. However, it is necessary to put the player's ID into the template for it to work properly.
Line 10: Line 22:
 
To do this, edit the code and add <tt><nowiki>| Belgrave = 699681</nowiki></tt> but with yours or your target's information. Please keep the names in alphabetical order.
 
To do this, edit the code and add <tt><nowiki>| Belgrave = 699681</nowiki></tt> but with yours or your target's information. Please keep the names in alphabetical order.
  
Example:
+
Example: <tt><nowiki>{{ProfileLink|Belgrave}}</nowiki></tt> gives: {{ProfileLink|Belgrave}}
<tt><nowiki>{{ProfileLink|Belgrave}}</nowiki></tt> gives: {{ProfileLink|Belgrave}}
+
 
 +
There is an optional 2nd parameter where you can put in something besides the player's name.
 +
 
 +
Example: <tt><nowiki>{{ProfileLink|Belgrave|Belgrave's Link}}</nowiki></tt> gives: {{ProfileLink|Belgrave|Belgrave's Link}}
  
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 21:37, 29 January 2024

How to Use

This template creates a link to a player page based on the player's name. However, it is necessary to put the player's ID into the template for it to work properly.

To do this, edit the code and add | Belgrave = 699681 but with yours or your target's information. Please keep the names in alphabetical order.

Example: {{ProfileLink|Belgrave}} gives: Belgrave

There is an optional 2nd parameter where you can put in something besides the player's name.

Example: {{ProfileLink|Belgrave|Belgrave's Link}} gives: Belgrave's Link