Difference between revisions of "Template:UserInfo"
From SHA2017
(Created page with "<noinclude> This is the "UserInfo" template. It should be called in the following format: <pre> {{UserInfo |Team= }} </pre> Edit the page to see the template text. </noinclude...") |
(add some parameters and change the style) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | This is the "UserInfo" template. | + | This is the "UserInfo" template for use on user pages. |
+ | All parameters are optional. | ||
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
{{UserInfo | {{UserInfo | ||
+ | |Image= | ||
+ | |Name= | ||
|Team= | |Team= | ||
}} | }} | ||
</pre> | </pre> | ||
− | + | ||
− | </noinclude><includeonly> | + | Need a additional parameter? Either make support for it yourself or make a request on the [[Template talk:{{PAGENAME}}|talk page]]. |
− | ! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big> | + | </noinclude> |
+ | |||
+ | <includeonly> | ||
+ | <div class="infobox" style="background-color:#FFFFFF; border:solid 1px #999999; width:225px; margin:auto; float:right;"> | ||
+ | {| style="padding:2px; margin:auto; font-size:85%;" cellspacing="0"" | ||
+ | ! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{{Name|{{PAGENAME}}}}}</big> | ||
|- | |- | ||
− | + | | {{#if: {{{Image|}}} | [[Image:{{{Image}}}|center|200px|{{{Name|{{PAGENAME}}}}}]] |}} | |
− | | [[Is member of team::{{{Team|}}}]] | + | |- |
+ | | {{#if: {{{Team|}}} | '''Team:''' [[Is member of team::Team:{{{Team}}}|{{{Team}}}]] |}} | ||
|} | |} | ||
+ | </div> | ||
</includeonly> | </includeonly> |
Revision as of 11:14, 25 October 2015
This is the "UserInfo" template for use on user pages. All parameters are optional. It should be called in the following format:
{{UserInfo |Image= |Name= |Team= }}
Need a additional parameter? Either make support for it yourself or make a request on the talk page.