Template:Infobox user: Difference between revisions

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