Difference between revisions of "Template:PlayerMemberSince"
From QWiki
m (testing width) |
m |
||
Line 1: | Line 1: | ||
− | <includeonly>{| | + | <includeonly>{| width:500px | {{#switch: {{{style|}}} |
|inactive | |inactive | ||
|1 = style="background: linear-gradient(90deg, #eeeeee 0%, #eeeeee 100%);border-radius:5px; box-shadow: 0 0 0 1px #eee; height: 40px; margin-right: 0.2em; margin-bottom:0.5em;" | |1 = style="background: linear-gradient(90deg, #eeeeee 0%, #eeeeee 100%);border-radius:5px; box-shadow: 0 0 0 1px #eee; height: 40px; margin-right: 0.2em; margin-bottom:0.5em;" |
Revision as of 07:34, 16 October 2024
Documentation (view - edit)
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