Difference between revisions of "Template:User banner"
(grr... i give up) |
|||
Line 1: | Line 1: | ||
+ | <includeonly>{|class="wikitable" style="width:100%; border:1px solid {{#if:{{{color|}}}|{{{color}}}|black}}; text-align:center" | ||
+ | |style="width:10%" |[[Image:Speech voice.png|x52px|link=User_talk:{{PAGENAMEE}}|Talk]] | ||
+ | |style="width:10%" |[[Image:Want.png|x52px|link={{fullurl:User_talk:{{PAGENAMEE}}|action=edit§ion=new}}]] | ||
+ | |style="width:10%" |[[Image:Tf2wiki_edit_icon.png|x52px|link=Special:Contributions/{{PAGENAMEE}}|Contributions]]{{#if:{{{steamid|}}}| | ||
+ | style="width:10%" [[Image:Steam_tray.png|x52px|link=http://steamcommunity.com/id/{{{steamid}}}|Steam]]|}}{{#if:{{{youtube|}}}| | ||
+ | style="width:10%" [[Image:YouTube Icon.png|x52px|link=http://youtube.com/{{{youtube}}}|Steam]]|}}{{#if:{{{steamid|}}}|{{#if:{{{backpack|}}}| | ||
+ | style="width:10%" [[Image:Backpack case.png|x52px|link=http://optf2.com/user/{{{steamid}}}|Backpack]]|}}|}}{{#if:{{{steamid|}}}|{{#if:{{{stats|}}}| | ||
+ | style="width:10%" [[Image:Achieved.png|x52px|link=http://tf2stats.net/player_stats/{{{steamid}}}|Stats]]|}}|}} | ||
+ | |- | ||
+ | |style="width:10%" |[[User_talk:{{PAGENAMEE}}|Talk]] | ||
+ | |style="width:10%" |[{{fullurl:User_talk:{{PAGENAMEE}}|action=edit§ion=new}} Start discussion] | ||
+ | |style="width:10%" |[[Special:Contributions/{{PAGENAMEE}}|Contributions]]{{#if:{{{steamid|}}}| | ||
+ | style="width:10%" [http://steamcommunity.com/id/{{{steamid}}} Steam]|}}{{#if:{{{youtube|}}}| | ||
+ | style="width:10%" [http://youtube.com/{{{youtube}}} Youtube]|}}{{#if:{{{steamid|}}}|{{#if:{{{stats|}}}| | ||
+ | style="width:10%" [http://optf2.com/user/{{{steamid}}} Stats]|}}|}}{{#if:{{{steamid|}}}|{{#if:{{{stats|}}}| | ||
+ | style="width:10%" [http://tf2stats.net/player_stats/{{{steamid}}} Stats]|}}|}} | ||
+ | |}</includeonly> | ||
+ | <noinclude> | ||
+ | {{doc begin}} | ||
+ | This template makes a nice banner for the top of your user page | ||
+ | === Usage === | ||
+ | <nowiki>{{User Banner | ||
+ | |color = deeppink | ||
+ | |steamid=natemckn | ||
+ | |youtube=natemckn | ||
+ | |stats=yes | ||
+ | |backpack=yes}}</nowiki> | ||
+ | creates: | ||
+ | {{User:Natemckn/sandbox4 | ||
+ | |color = deeppink | ||
+ | |steamid=natemckn | ||
+ | |youtube=natemckn | ||
+ | |stats=yes | ||
+ | |backpack=yes}} | ||
+ | |||
+ | The parameters are as follows: | ||
+ | |||
+ | :<code>color -</code> applies an HTML color to the border. | ||
+ | :<code>steamid -</code> will add a link to your steamcommunity page, currently only accepts /id/ links/ | ||
+ | :<code>youtube -</code> adds a link to your youtube page | ||
+ | :<code>stats -</code> adds a link to tf2stats.net page. Leave blank to remove. Requires steamid to work. | ||
+ | :<code>backpack - </code>: adds a link to optf2.com backpack. Leave blank to remove. Requires steamid to work. | ||
+ | </noinclude> |
Revision as of 16:13, 13 January 2011
Documentation for User banner
This template makes a nice banner for the top of your user page
Usage
{{User Banner |color = deeppink |steamid=natemckn |youtube=natemckn |stats=yes |backpack=yes}}
creates:
The parameters are as follows:
color -
applies an HTML color to the border.steamid -
will add a link to your steamcommunity page, currently only accepts /id/ links/youtube -
adds a link to your youtube pagestats -
adds a link to tf2stats.net page. Leave blank to remove. Requires steamid to work.backpack -
: adds a link to optf2.com backpack. Leave blank to remove. Requires steamid to work.