Difference between revisions of "Template:PlayerMemberSince/doc"

From QWiki
m (Updated docs for setting colors)
m (Added yellow color option)
Line 11: Line 11:
 
  <nowiki>{{PlayerMemberSince|Modemkorv|de|2009|style=blue}} </nowiki>
 
  <nowiki>{{PlayerMemberSince|Modemkorv|de|2009|style=blue}} </nowiki>
 
  <nowiki>{{PlayerMemberSince|Modemkorv|de|2009|style=purple}} </nowiki>
 
  <nowiki>{{PlayerMemberSince|Modemkorv|de|2009|style=purple}} </nowiki>
 +
<nowiki>{{PlayerMemberSince|Modemkorv|de|2009|style=yellow}} </nowiki>
 
Returns this:
 
Returns this:
 
{{PlayerMemberSince|Avenger|pl|2002}}
 
{{PlayerMemberSince|Avenger|pl|2002}}
Line 21: Line 22:
 
{{PlayerMemberSince|Modemkorv|de|2009|style=blue}}
 
{{PlayerMemberSince|Modemkorv|de|2009|style=blue}}
 
{{PlayerMemberSince|Modemkorv|de|2009|style=purple}}
 
{{PlayerMemberSince|Modemkorv|de|2009|style=purple}}
 +
{{PlayerMemberSince|Modemkorv|de|2009|style=yellow}}
 
# Default (name as link)''
 
# Default (name as link)''
 
# Leave year empty (shows no year)''
 
# Leave year empty (shows no year)''
Line 29: Line 31:
 
# <code>|style=blue</code> set box style to blue''
 
# <code>|style=blue</code> set box style to blue''
 
# <code>|style=purple</code> set box style to purple''
 
# <code>|style=purple</code> set box style to purple''
 +
# <code>|style=yellow</code> set box style to yellow''

Revision as of 07:24, 16 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}} 
{{PlayerMemberSince|Modemkorv|de|2009|style=inactive}} 
{{PlayerMemberSince|Modemkorv|de|2009|style=red}} 
{{PlayerMemberSince|Modemkorv|de|2009|style=green}} 
{{PlayerMemberSince|Modemkorv|de|2009|style=blue}} 
{{PlayerMemberSince|Modemkorv|de|2009|style=purple}} 
{{PlayerMemberSince|Modemkorv|de|2009|style=yellow}} 

Returns this:

Poland  Avenger Joined 2002 (22 years)
Denmark  ParadokS
TBD
Germany  Modemkorv Joined 2009 (15 years)
Germany  Modemkorv Joined 2009 (15 years)
Germany  Modemkorv Joined 2009 (15 years)
Germany  Modemkorv Joined 2009 (15 years)
Germany  Modemkorv Joined 2009 (15 years)
Germany  Modemkorv Joined 2009 (15 years)
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=inactive set box style to inactive
  5. |style=red set box style to red
  6. |style=green set box style to green
  7. |style=blue set box style to blue
  8. |style=purple set box style to purple
  9. |style=yellow set box style to yellow