Difference between revisions of "Template:PlayerMemberSince/doc"
From QWiki
m (Added yellow color option) |
m (Added width option (default 310px)) |
||
Line 3: | Line 3: | ||
This code: | This code: | ||
<nowiki>{{PlayerMemberSince|Avenger|pl|2002}}</nowiki> | <nowiki>{{PlayerMemberSince|Avenger|pl|2002}}</nowiki> | ||
+ | <nowiki>{{PlayerMemberSince|Avenger|pl|2002|width=400}}</nowiki> | ||
<nowiki>{{PlayerMemberSince|ParadokS|dk|}} </nowiki> | <nowiki>{{PlayerMemberSince|ParadokS|dk|}} </nowiki> | ||
<nowiki>{{PlayerMemberSince|||}} </nowiki> | <nowiki>{{PlayerMemberSince|||}} </nowiki> | ||
Line 14: | Line 15: | ||
Returns this: | Returns this: | ||
{{PlayerMemberSince|Avenger|pl|2002}} | {{PlayerMemberSince|Avenger|pl|2002}} | ||
+ | {{PlayerMemberSince|Avenger|pl|2002|width=400}} | ||
{{PlayerMemberSince|ParadokS|dk|}} | {{PlayerMemberSince|ParadokS|dk|}} | ||
{{PlayerMemberSince|||}} | {{PlayerMemberSince|||}} | ||
Line 23: | Line 25: | ||
{{PlayerMemberSince|Modemkorv|de|2009|style=purple}} | {{PlayerMemberSince|Modemkorv|de|2009|style=purple}} | ||
{{PlayerMemberSince|Modemkorv|de|2009|style=yellow}} | {{PlayerMemberSince|Modemkorv|de|2009|style=yellow}} | ||
− | # Default (name as link) | + | # Default (name as link) |
− | # Leave year empty (shows no year) | + | # Default with custom width (default is 310px) |
− | # Leave all empty (shows TBD/noflag/noyear) | + | # Leave year empty (shows no year) |
− | # <code>|style=inactive</code> set box style to inactive | + | # Leave all empty (shows TBD/noflag/noyear) |
− | # <code>|style=red</code> set box style to red | + | # <code>|style=inactive</code> set box style to inactive |
− | # <code>|style=green</code> set box style to green | + | # <code>|style=red</code> set box style to red |
− | # <code>|style=blue</code> set box style to blue | + | # <code>|style=green</code> set box style to green |
− | # <code>|style=purple</code> set box style to purple | + | # <code>|style=blue</code> set box style to blue |
− | # <code>|style=yellow</code> set box style to yellow | + | # <code>|style=purple</code> set box style to purple |
+ | # <code>|style=yellow</code> set box style to yellow |
Latest revision as of 07:57, 16 October 2024
Used for clan members, to show their legacy in the clan.
Example
This code:
{{PlayerMemberSince|Avenger|pl|2002}} {{PlayerMemberSince|Avenger|pl|2002|width=400}} {{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:
Avenger | Joined 2002 (22 years) |
---|
Avenger | Joined 2002 (22 years) |
---|
ParadokS |
---|
TBD |
---|
Modemkorv | Joined 2009 (15 years) |
---|
Modemkorv | Joined 2009 (15 years) |
---|
Modemkorv | Joined 2009 (15 years) |
---|
Modemkorv | Joined 2009 (15 years) |
---|
Modemkorv | Joined 2009 (15 years) |
---|
Modemkorv | Joined 2009 (15 years) |
---|
Modemkorv | Joined 2009 (15 years) |
---|
- Default (name as link)
- Default with custom width (default is 310px)
- Leave year empty (shows no year)
- Leave all empty (shows TBD/noflag/noyear)
|style=inactive
set box style to inactive|style=red
set box style to red|style=green
set box style to green|style=blue
set box style to blue|style=purple
set box style to purple|style=yellow
set box style to yellow