Template:Infobox user: Difference between revisions

From ALttPR Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox wikitable" style="float:right;"
<noinclude>
|- {{#if:{{{preferred-handle|}}} | | style="display:none;" }}
An infobox for a user profile in the User namespace.
! colspan="2" | {{{preferred-handle}}}
= Usage =
|- {{#if:{{{avatar-filename|}}} | | style="display:none;" }}
<nowiki>{{Infobox user</nowiki>
| preferred-handle    = Your Preferred Name
| avatar-filename    = Uploaded Avatar picture
| real-name          = Your Real Name
| srl-handle          = Your SRL Username
| twitch-handle      = Your Twitch.tv Username
| youtube-handle      = Your YouTube Username
| youtube-channel-url = Your YouTube channel URL
}}
[[Image:Infobox user example.png|right]]
</noinclude><includeonly>{| class="infobox wikitable" style="float:right;"
|- {{#if: {{{preferred-handle|}}} | | style="display:none;" }}
! colspan="2" | "{{{preferred-handle}}}"
|- {{#if: {{{avatar-filename|}}} | | style="display:none;" }}
! colspan="2" | [[Image:{{{avatar-filename}}}]]
! colspan="2" | [[Image:{{{avatar-filename}}}]]
|- {{#if:{{{real-name|}}} | | style="display:none;" }}
|- {{#if: {{{real-name|}}} | | style="display:none;" }}
! colspan="2" | {{{real-name}}}
! colspan="2" | {{{real-name}}}
|-
|-
! Discord || {{{discord-handle}}}
! Discord || @{{#replace:{{ROOTPAGENAME}}|!|#}}
|- {{#if:{{{srl-handle|}}} | | style="display:none;"
|- {{#if: {{{srl-handle|}}} | | style="display:none;" }}
! SRL || {{{srl-handle}}}
! SRL || [http://www.speedrunslive.com/profiles/#!/{{{srl-handle}}} {{{srl-handle}}}]
|- {{#if:{{{twitch-handle|}}} | | style="display:none;"
|- {{#if: {{{twitch-handle|}}} | | style="display:none;" }}
! Twitch || {{{twitch-handle}}}
! Twitch || [http://twitch.tv/{{{twitch-handle}}} {{{twitch-handle}}}]
|- {{#if:{{{youtube-handle|}}} | | style="display:none;"
|- {{#if: {{{youtube-handle|}}} | | style="display:none;" }}
! YouTube || {{{youtube-handle}}}
! YouTube || [http://youtube.com/{{{youtube-channel-url}}}/ {{{youtube-handle}}}]
|-
|-
! colspan="2" | [[:Category:List of seeds recommended by {{ROOTPAGENAME}}|Rec'd]]/[[:Category:List of seeds created by {{ROOTPAGENAME}}|Created]]
! Seeds || [[:Category:Seeds created by {{ROOTPAGENAME}}|Created]]/[[:Category:Seeds recommended by {{ROOTPAGENAME}}|Rec'd]]
|}
|-
! Sprites || [[:Category:Sprites created by {{ROOTPAGENAME}}|Created]]/[[:Category:Sprites modified by {{ROOTPAGENAME}}|Modified]]
|}</includeonly>

Latest revision as of 06:02, 9 August 2020

An infobox for a user profile in the User namespace.

Usage

{{Infobox user
| preferred-handle    = Your Preferred Name
| avatar-filename     = Uploaded Avatar picture
| real-name           = Your Real Name
| srl-handle          = Your SRL Username
| twitch-handle       = Your Twitch.tv Username
| youtube-handle      = Your YouTube Username
| youtube-channel-url = Your YouTube channel URL
}}
Infobox user example.png