Template

Difference between revisions of "Player2/doc"

From Shadow Era Wiki

(Created page with "This template is similar to the {{tl|Player}} template, however the race and flag icons are displayed on the right side of the player name. This is useful for player columns w...")
 
 
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
== Example ==
 
== Example ==
  
 +
==Example==
 
This code:
 
This code:
 
+
  <nowiki>{{player|Tyler|link=false}}</nowiki>
  <nowiki>{{player2|Tyler|race=P|flag=USA}}
+
<nowiki>{{player|Ret|hs=race|link=false}}</nowiki>
{{player2|Ret|hs=race|race=Z|flag=Netherlands}}
+
{{player2|Ihasnowikipage|hs=race|race=Z|flag=Sweden}}</nowiki>
+
  
 
Returns this:
 
Returns this:
 
+
:{{player|Tyler}}
:{{player2|Tyler|race=P|flag=USA}}
+
:{{player|Ret}}
:{{player2|Ret|hs=race|race=Z|flag=Netherlands}}
+
<noinclude>[[Category:Template Documentation]]</noinclude>
:{{player2|Ihasnowikipage|hs=race|race=Z|flag=Sweden}}
+
<noinclude>[[Category:Template Documentation Pages]]</noinclude>
+

Latest revision as of 09:53, 2 July 2014

This template is similar to the {{Player}} template, however the race and flag icons are displayed on the right side of the player name. This is useful for player columns which are aligned to the right.

Usage

Variables and usage like the {{Player}} template.

Example

Example

This code:

{{player|Tyler|link=false}}
{{player|Ret|hs=race|link=false}}

Returns this:

Tyler
Ret