Difference between revisions of "Template:UserCard"
Jump to navigation
Jump to search
m |
m |
||
Line 2: | Line 2: | ||
{| class="wikitable logo" style="width: 191px;" | {| class="wikitable logo" style="width: 191px;" | ||
|- | |- | ||
− | + | {{#switch:{{{pos}}} | |
− | + | |mod={{!}} style="height: 15px; background: #ccccff;" colspan="2"{{!}} {{#if:{{{flag|}}}|{{Flag|{{{flag}}}}}}} {{#if:{{{usrname|}}}|'''[[User:{{{usrname}}}|{{{name}}}]]'''|[[{{{name}}}]] }} | |
− | + | |admin={{!}} style="height: 15px; background: #ff8787;" colspan="2"{{!}} {{#if:{{{flag|}}}|{{Flag|{{{flag}}}}}}} {{#if:{{{usrname|}}}|'''[[User:{{{usrname}}}|{{{name}}}]]'''|[[{{{name}}}]] }} | |
− | + | |kaneco={{!}} style="height: 15px; background: #ffca73;" colspan="2"{{!}} {{#if:{{{flag|}}}|{{Flag|{{{flag}}}}}}} {{#if:{{{usrname|}}}|'''[[User:{{{usrname}}}|{{{name}}}]]'''|[[{{{name}}}]] }} | |
− | + | |#default={{!}} style="height: 15px;" colspan="2"{{!}} {{#if:{{{flag|}}}|{{Flag|{{{flag}}}}}}} {{#if:{{{usrname|}}}|'''[[User:{{{usrname}}}|{{{name}}}]]'''|[[{{{name}}}]] }} | |
− | |{{!}} style="height: 15px;" colspan="2"{{!}} {{#if:{{{flag|}}}|{{Flag|{{{flag}}}}}}} {{#if:{{{usrname|}}}|'''[[User:{{{usrname}}}|{{{name}}}]]'''|[[{{{name}}}]] }} | ||
}} | }} | ||
|- style="height: 166px;" | |- style="height: 166px;" |
Revision as of 14:16, 4 August 2015
(view - edit) Documentation
Usage
Intended usage for the Administration Page
- |name=
- Your short name or comp.tf username
- |usrname=
- If you have used a short name, fill in your comp.tf username on this
- |pos=
- To colour code your position. Values are collab, mod, admin or kaneco.
- |flag=
- To add a flag by your name, if you desire
- |image=
- For an image to display. If no image is provided, the comp.tf logo will display instead.
- |steam=
- A full link to your steam profile page
- |tftv=
- |etf2l=
- |esea=
- |oz=
- |ugc=
- Used for a link to your profile page to one of these pages. Only the numerals at the end of the link are required
- |youtube=
- |twitch=
- |twitter=
- Links to these social platforms
- |info=
- Adds any information you want to be added for when a user may hover over your card.
Example
{{UserCard |usrname=Efefknee |name=ffc |pos=admin |flag=global |image=Efefknee.png |steam=http://steamcommunity.com/id/gabelogannewell |etf2l=ok |youtube=TeamFortressTV |twitter=TeamFortressTV |twitch=TeamFortressTV |info= If you need help, feel free to add me or leave a message on my discussion page, as minor as you may think it is. }}
Gives:
ffc | |
If you need help, feel free to add me or leave a message on my discussion page, as minor as you may think it is.
|
Copy Paste
{{UserCard |name= |usrname= |pos= |flag= |image= |steam= |etf2l= |esea= |ugc= |oz= |youtube= |twitter= |twitch= |info= }}