Difference between revisions of "Template:PlayerMemberSince/doc"

From QWiki
m (Added inactive doc)
m (Updated doc)
Line 5: Line 5:
 
  <nowiki>{{PlayerMemberSince|ParadokS|dk|}} </nowiki>
 
  <nowiki>{{PlayerMemberSince|ParadokS|dk|}} </nowiki>
 
  <nowiki>{{PlayerMemberSince|||}} </nowiki>
 
  <nowiki>{{PlayerMemberSince|||}} </nowiki>
  <nowiki>{{PlayerMemberSince|Modemkorv|de|2009|inactive=yes}} </nowiki>
+
  <nowiki>{{PlayerMemberSince|Modemkorv|de|2009}} </nowiki>
 
Returns this:
 
Returns this:
 
{{PlayerMemberSince|Avenger|pl|2002}}
 
{{PlayerMemberSince|Avenger|pl|2002}}
 
{{PlayerMemberSince|ParadokS|dk|}}
 
{{PlayerMemberSince|ParadokS|dk|}}
 
{{PlayerMemberSince|||}}
 
{{PlayerMemberSince|||}}
{{PlayerMemberSince|Modemkorv|de|2009|inactive=yes}}
+
{{PlayerMemberSince|Modemkorv|de|2009}}
 
# Default (name as link)''
 
# Default (name as link)''
 
# Leave year empty (shows no year)''
 
# Leave year empty (shows no year)''
 
# Leave all empty (shows TBD/noflag/noyear)''
 
# Leave all empty (shows TBD/noflag/noyear)''
# <code>|inactive=yes</code> (changes style of box)''
+
# <code>|style=</code> changes style of box, available colors:''
 +
* red
 +
* green
 +
* blue
 +
* purple
 +
* inactive

Revision as of 21:29, 15 October 2024

Used for clan members, to show their legacy in the clan.

Example

This code:

{{PlayerMemberSince|Avenger|pl|2002}}
{{PlayerMemberSince|ParadokS|dk|}} 
{{PlayerMemberSince|||}} 
{{PlayerMemberSince|Modemkorv|de|2009}} 

Returns this:

Poland  Avenger Joined 2002 (22 years)
Denmark  ParadokS
TBD
Germany  Modemkorv Joined 2009 (15 years)
  1. Default (name as link)
  2. Leave year empty (shows no year)
  3. Leave all empty (shows TBD/noflag/noyear)
  4. |style= changes style of box, available colors:
  • red
  • green
  • blue
  • purple
  • inactive