Template:UserCard: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly><div class="usercard" style="position:relative; width:250px; height:140px;"> {| class="wikitable logo" style="width: 191px;" |- ! style="height: 15px; background:..." |
mNo edit summary |
||
| Line 2: | Line 2: | ||
{| class="wikitable logo" style="width: 191px;" | {| class="wikitable logo" style="width: 191px;" | ||
|- | |- | ||
! style="height: 15px; background: #ccccff; font-size: small;" colspan="2"| {{#if {{{flag|}}}|{{Flag|{{{flag}}}}}}} {{#if {{{usrname|}}}|'''[[{{{usrname}}}|{{{name}}}]]'''|{{{name}}} }} | ! style="height: 15px; background: #ccccff; font-size: small;" colspan="2"| {{#if:{{{flag|}}}|{{Flag|{{{flag}}}}}}} {{#if:{{{usrname|}}}|'''[[{{{usrname}}}|{{{name}}}]]'''|{{{name}}} }} | ||
|- style="height: 166px;" | |- style="height: 166px;" | ||
|{{#if:{{{image|}}}|[[File:{{{image}}}|{{{imagesize|166x166px}}}|center|{{{usrname}}}]]|[[File:Generic_Logo.png|center]]}} | |{{#if:{{{image|}}}|[[File:{{{image}}}|{{{imagesize|166x166px}}}|center|{{{usrname}}}]]|[[File:Generic_Logo.png|center]]}} | ||
|width=29px | {{#if {{{steam|}}}|[[File:InfoboxIcon_Steam.png|25px|link={{{steam}}} <br /> }} | |width=29px | {{#if:{{{steam|}}}|[[File:InfoboxIcon_Steam.png|25px|link={{{steam}}} <br /> }} | ||
{{#if {{{etf2l|}}}|[[File:ETF2L-icon.png|25px|link=http://etf2l.org/forum/user/{{{etf2l}}} <br /> }} | {{#if:{{{etf2l|}}}|[[File:ETF2L-icon.png|25px|link=http://etf2l.org/forum/user/{{{etf2l}}} <br /> }} | ||
{{#if {{{esea|}}}|[[File:EseaLogo.png|25px|link=https://play.esea.net/users/{{{esea}}} <br /> }} | {{#if:{{{esea|}}}|[[File:EseaLogo.png|25px|link=https://play.esea.net/users/{{{esea}}} <br /> }} | ||
{{#if {{{oz|}}}|[[File:Ozfortress_icon.png|25px|link=http://ozfortress.com/member.php?u={{{oz}}} <br /> }} | {{#if:{{{oz|}}}|[[File:Ozfortress_icon.png|25px|link=http://ozfortress.com/member.php?u={{{oz}}} <br /> }} | ||
{{#if {{{ugc|}}}|[[File:UGC-Icon.png|25px|link=http://www.ugcleague.com/players_page.cfm?player_id={{{ugc}}} <br /> }} | {{#if:{{{ugc|}}}|[[File:UGC-Icon.png|25px|link=http://www.ugcleague.com/players_page.cfm?player_id={{{ugc}}} <br /> }} | ||
{{#if {{{twitch|}}}|[[File:InfoboxIcon_Twitch.png|25px|link=http://www.twitch.tv/{{{steam}}} <br /> }} | {{#if:{{{twitch|}}}|[[File:InfoboxIcon_Twitch.png|25px|link=http://www.twitch.tv/{{{steam}}} <br /> }} | ||
{{#if {{{youtube|}}}|[[File:InfoboxIcon_Twitch.png|25px|link=https://www.youtube.com/user/{{{youtube}}} <br /> }} | {{#if:{{{youtube|}}}|[[File:InfoboxIcon_Twitch.png|25px|link=https://www.youtube.com/user/{{{youtube}}} <br /> }} | ||
{{#if {{{twitter|}}}|[[File:InfoboxIcon_Twitter.png|25px|link=https://twitter.com/{{{twitter}}} <br /> }} | {{#if:{{{twitter|}}}|[[File:InfoboxIcon_Twitter.png|25px|link=https://twitter.com/{{{twitter}}} <br /> }} | ||
|} | |} | ||
{| class="wikitable list" style="width: 164px; height: 167px;" | {| class="wikitable list" style="width: 164px; height: 167px;" | ||
Revision as of 22:02, 3 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:
| {{#if:http://steamcommunity.com/id/gabelogannewell%7C[[File:InfoboxIcon_Steam.png|25px|link=http://steamcommunity.com/id/gabelogannewell }} {{#if:ok|[[File:ETF2L-icon.png|25px|link=http://etf2l.org/forum/user/ok | |
{{{Info}}} }}
|
Copy Paste
{{UserCard
|name=
|usrname=
|pos=
|flag=
|image=
|steam=
|etf2l=
|esea=
|ugc=
|oz=
|youtube=
|twitter=
|twitch=
|info=
}}
