Difference between revisions of "Template:PlayerMemberSince/doc"

From QWiki
m (Updated doc)
m (Updated docs for setting colors)
Line 6: Line 6:
 
  <nowiki>{{PlayerMemberSince|||}} </nowiki>
 
  <nowiki>{{PlayerMemberSince|||}} </nowiki>
 
  <nowiki>{{PlayerMemberSince|Modemkorv|de|2009}} </nowiki>
 
  <nowiki>{{PlayerMemberSince|Modemkorv|de|2009}} </nowiki>
 +
<nowiki>{{PlayerMemberSince|Modemkorv|de|2009|style=inactive}} </nowiki>
 +
<nowiki>{{PlayerMemberSince|Modemkorv|de|2009|style=red}} </nowiki>
 +
<nowiki>{{PlayerMemberSince|Modemkorv|de|2009|style=green}} </nowiki>
 +
<nowiki>{{PlayerMemberSince|Modemkorv|de|2009|style=blue}} </nowiki>
 +
<nowiki>{{PlayerMemberSince|Modemkorv|de|2009|style=purple}} </nowiki>
 
Returns this:
 
Returns this:
 
{{PlayerMemberSince|Avenger|pl|2002}}
 
{{PlayerMemberSince|Avenger|pl|2002}}
Line 11: Line 16:
 
{{PlayerMemberSince|||}}
 
{{PlayerMemberSince|||}}
 
{{PlayerMemberSince|Modemkorv|de|2009}}
 
{{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}}
 
# 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>|style=</code> changes style of box, available colors:''
+
# <code>|style=inactive</code> set box style to inactive''
* red
+
# <code>|style=red</code> set box style to red''
* green
+
# <code>|style=green</code> set box style to green''
* blue
+
# <code>|style=blue</code> set box style to blue''
* purple
+
# <code>|style=purple</code> set box style to purple''
* inactive
 

Revision as of 21:38, 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}} 
{{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}} 

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)
  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