Difference between revisions of "Template:PlayerMemberSince/doc"
From QWiki
m (Updated doc) |
m (Added width option (default 310px)) |
||
(2 intermediate revisions by the same user not shown) | |||
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> | ||
<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> | ||
+ | <nowiki>{{PlayerMemberSince|Modemkorv|de|2009|style=yellow}} </nowiki> | ||
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|||}} | ||
{{PlayerMemberSince|Modemkorv|de|2009}} | {{PlayerMemberSince|Modemkorv|de|2009}} | ||
− | # Default (name as link) | + | {{PlayerMemberSince|Modemkorv|de|2009|style=inactive}} |
− | # Leave year empty (shows no year) | + | {{PlayerMemberSince|Modemkorv|de|2009|style=red}} |
− | # Leave all empty (shows TBD/noflag/noyear) | + | {{PlayerMemberSince|Modemkorv|de|2009|style=green}} |
− | # <code>|style=</code> | + | {{PlayerMemberSince|Modemkorv|de|2009|style=blue}} |
− | + | {{PlayerMemberSince|Modemkorv|de|2009|style=purple}} | |
− | + | {{PlayerMemberSince|Modemkorv|de|2009|style=yellow}} | |
− | + | # Default (name as link) | |
− | + | # Default with custom width (default is 310px) | |
− | + | # Leave year empty (shows no year) | |
+ | # Leave all empty (shows TBD/noflag/noyear) | ||
+ | # <code>|style=inactive</code> set box style to inactive | ||
+ | # <code>|style=red</code> set box style to red | ||
+ | # <code>|style=green</code> set box style to green | ||
+ | # <code>|style=blue</code> set box style to blue | ||
+ | # <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