Template:Infobox User: Difference between revisions

From RuneRealm Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "{| class="infobox plainlinks {{parentitle|{{{name}}}}} infobox-user" {{#if:{{{extracss|}}}|style="{{{extracss}}}"}} |- ! class="infobox-header" colspan="7" | {{{name|{{BASEPAGENAME}}}}} |- | class="infobox-padding" colspan="7" | |- {{#ifeq:{{lc:{{{image|no}}}}}|no|| {{!}} class="infobox-image" colspan="7" {{!}} {{#switch:{{lc:{{{image}}}}} |chat|head=http://services.runescape.com/m=avatar-rs/{{{name|{{BASEPAGENAME}}}}}/chat.gif |body|full=http://services.runescape.com/m=...")
 
(Replaced content with "''This template was placed here to prevent {{PAGENAME}}'s user page from creating red links on talk mw.pages and forums. If you are {{PAGENAME}}, please feel free to remove this template and let the public know a little more about you.''<noinclude> {{/doc}}</noinclude>")
Tags: Replaced Reverted
Line 1: Line 1:
''This template was placed here to prevent {{PAGENAME}}'s [[RuneScape:User page|user page]] from creating red links on talk mw.pages and forums. If you are {{PAGENAME}}, please feel free to remove this template and let the public know a little more about you.''<noinclude>
{| class="infobox plainlinks {{parentitle|{{{name}}}}} infobox-user" {{#if:{{{extracss|}}}|style="{{{extracss}}}"}}
{{/doc}}</noinclude>
|-
! class="infobox-header" colspan="7" | {{{name|{{BASEPAGENAME}}}}}
|-
| class="infobox-padding" colspan="7" |
|-
{{#ifeq:{{lc:{{{image|no}}}}}|no||
{{!}} class="infobox-image" colspan="7" {{!}} {{#switch:{{lc:{{{image}}}}}
|chat|head=http://services.runescape.com/m=avatar-rs/{{{name|{{BASEPAGENAME}}}}}/chat.gif
|body|full=http://services.runescape.com/m=avatar-rs/{{{name|{{BASEPAGENAME}}}}}/full.gif
|both=http://services.runescape.com/m=avatar-rs/{{{name|{{BASEPAGENAME}}}}}/chat.gif http://services.runescape.com/m=avatar-rs/{{{name|{{BASEPAGENAME}}}}}/full.gif
|#default={{{image|Please add an image!}}}}}
{{!}}-
}}
{{#ifeq:{{lc:{{{aka|no}}}}}|no||
! colspan="3" {{!}} Also called
{{!}} colspan="4" {{!}} {{{aka|{{Unknown}}}}}
{{!}}-
}}
{{#ifeq:{{lc:{{{member|hide}}}}}|hide||
! colspan="3" {{!}} Member
{{!}} colspan="4" {{!}} {{{member|{{Unknown}}}}}
{{!}}-
}}
{{#ifeq:{{lc:{{{combat|no}}}}}|no||
! colspan="3" {{!}} Combat level
{{!}} colspan="4" {{!}} {{{combat|{{Unknown}}}}}
{{!}}-
}}
{{#ifeq:{{lc:{{{total|no}}}}}|no||
! colspan="3" {{!}} Total level
{{!}} colspan="4" {{!}} {{{total|{{Unknown}}}}}
{{!}}-
}}
{{#ifeq:{{lc:{{{lang|no}}}}}|no||
! colspan="3" {{!}} Languages spoken
{{!}} colspan="4" {{!}} {{{lang|{{Unknown}}}}}
{{!}}-
}}
{{#ifeq:{{lc:{{{country|no}}}}}|no||
! colspan="3" {{!}} Country of origin
{{!}} colspan="4" {{!}} {{{country|{{Unknown}}}}}
{{!}}-
}}
{{#ifeq:{{lc:{{{altaccs|no}}}}}|no||
! colspan="3" {{!}} Alternate accounts
{{!}} colspan="4" {{!}} {{{altaccs|{{Unknown}}}}}
{{!}}-
}}
{{#ifeq:{{lc:{{{rsstart|no}}}}}|no||
! colspan="3" {{!}} Started RuneScape
{{!}} colspan="4" {{!}} {{{rsstart|{{Unknown}}}}}
{{!}}-
}}
{{#ifeq:{{lc:{{{wikistart|no}}}}}|no||
! colspan="3" {{!}} Joined the wiki
{{!}} colspan="4" {{!}} {{{wikistart|{{Unknown}}}}}
{{!}}-
}}
{{#ifeq:{{lc:{{{edit|no}}}}}|no||
! colspan="3" {{!}} [[Special:Editcount/{{BASEPAGENAME}}|Edit count]]
{{!}} colspan="4" {{!}} {{Special:Editcount/{{BASEPAGENAME}}}}
{{!}}-
}}
{{#ifeq:{{lc:{{{god|no}}}}}|no||
! colspan="3" {{!}} [[Gods|Divine alignment]]
{{!}} colspan="4" {{!}} {{{god|{{Unknown}}}}}
{{!}}-
}}
{{#ifeq:{{lc:{{{highskill|no}}}}}|no||
! colspan="3" {{!}} Highest Skill
{{!}} colspan="4" {{!}} {{{highskill|{{Unknown}}}}}
{{!}}-
}}
{{#ifeq:{{lc:{{{favskill|no}}}}}|no||
! colspan="3" {{!}} Favourite Skill
{{!}} colspan="4" {{!}} {{{favskill|{{Unknown}}}}}
{{!}}-
}}
{{#ifeq:{{lc:{{{favitem|no}}}}}|no||
! colspan="3" {{!}} Favourite Item
{{!}} colspan="4" {{!}} {{{favitem|{{Unknown}}}}}
{{!}}-
}}
{{#ifeq:{{lc:{{{favquest|no}}}}}|no||
! colspan="3" {{!}} Favourite Quest
{{!}} colspan="4" {{!}} {{{favquest|{{Unknown}}}}}
{{!}}-
}}
{{#ifeq:{{lc:{{{favact|no}}}}}|no||
! colspan="3" {{!}} Favourite Activity
{{!}} colspan="4" {{!}} {{{favact|{{Unknown}}}}}
{{!}}-
}}
{{#ifeq:{{lc:{{{wikifauna|no}}}}}|no||
! colspan="3" {{!}} [[Wikipedia:Wikipedia:WikiFauna|WikiFauna]] type
{{!}} colspan="4" {{!}} {{{wikifauna|{{Unknown}}}}}
{{!}}-
}}
{{#ifeq:{{lc:{{{networth|no}}}}}|no||
! colspan="3" {{!}} Net worth
{{!}} colspan="4" {{!}} {{{networth|{{Unknown}}}}}
{{!}}-
}}
{{#if:{{{other1title|}}}{{{other1text|}}}|
! colspan="3" {{!}} {{{other1title|}}}
{{!}} colspan="4" {{!}} {{{other1text|}}}
{{!}}-
{{#if:{{{other2title|}}}{{{other2text|}}}|
! colspan="3" {{!}} {{{other2title|}}}
{{!}} colspan="4" {{!}} {{{other2text|}}}
{{!}}-
{{#if:{{{other3title|}}}{{{other3text|}}}|
! colspan="3" {{!}} {{{other3title|}}}
{{!}} colspan="4" {{!}} {{{other3text|}}}
{{!}}-
}}
}}
}}
{{#ifeq:{{lc:{{{links|yes}}}}}|no|{{#ifeq:{{{custlinks|no}}}|no||
! colspan="3" {{!}} Links
{{!}} colspan="4" {{!}} {{{custlinks|{{Unknown}}}}}}}
|! colspan="3" {{!}} Links
{{!}} colspan="4" {{!}} {{*}} [http://services.runescape.com/m=hiscore_oldschool/hiscorepersonal.ws?user1={{urlencode:{{{name|{{BASEPAGENAME}}}}}}} Hiscores]{{#ifeq:{{{custlinks|no}}}|no||<br />{{{custlinks}}}}}
}}
|-
| class="infobox-padding" colspan="7" |
|-
|}<noinclude>{{/doc}}</noinclude>

Revision as of 00:54, 17 October 2024

This template was placed here to prevent Infobox User's user page from creating red links on talk mw.pages and forums. If you are Infobox User, please feel free to remove this template and let the public know a little more about you.

Template documentation
This documentation is transcluded from Template:Infobox User/doc. [edit] [history] [purge]

The User infobox is a user template designed to give information about users on their userpage. The idea came from seeing many users using {{Infobox Monster}} and {{Infobox NPC}} on their userpages, when they weren't really suitable for the task.

Parameters

extracss

Additional CSS to be applied to the infobox. Whatever is input is placed into style="csshere", so make sure it is formatted correctly. Defaults to nothing.

name

Your display name. Will default to your wiki username (as long as its placed on your userpage). If your display name is different to your wiki name, this must be defined for links to work correctly.

image

An image of yourself. Possible values:

  • chat or head will display the chat-head-shot from your adventurer's log
  • body or full will display the full-body-shot from your adventurer's log
  • both will display both the body shot and the head shot side by side
  • no will hide the field
  • anything else will be displayed as is

Remember - the RuneScape wiki is not your web host, so please host personal images of your character on imgur, and use the direct link to image to display it here.

aka

Any alternate names the user may be known as.

member

Are you a member or not? Set to hide to hide the field.

combat

Your combat level. Set to no to hide the field.

total

Your total level. Set to no to hide the field.

lang

What language(s) do you speak? Set to no to hide the field.

country

Your country of origin. Set to no to hide the field.

altaccs

List any alternate accounts here. Set to no to hide the field.

rsstart

When did you start playing RuneScape? Set to no to hide the field.

wikistart

When did you join the RuneScape wiki? Set to no to hide the field.

edit

Your edit count. If not given, it will automatically use your overall editcount from Special:Editcount. Set to no to hide the field.

god

What god in RuneScape do you follow? Set to no to hide the field.

highskill

What is your highest skill? Set to "no' to hide the field.

favskill

Your favourite skill. Set to no to hide the field.

favitem

Your favourite item or weapon. Set to no to hide the field.

favquest

Your favourite quest. Set to no to hide the field.

favact

Your favourite activity. Set to no to hide the field.

wikifauna

What WikiFauna type suits you best. Set to no to hide the field.

networth

The total value of all your items. You can use expressions. Set to no to hide the field.

other

Use these fields to set up extra rows in the infobox displaying whatever you like. Omit the fields to not display the rows.

other#title is the title for row #, and other#text is the text for row #. It currently supports up to three other rows.

The other rows are defined sequentiality - if other1title/text isn't present, other2title/text isn't displayed even if it is present.

links, custlinks

These three work in conjunction with each other.

The default output is a link to your hiscores.

If you wish to hide the field, set links=no and custlinks=no. If you wish to have your own custom links, without the HS/AL links, use links=no and custlinks=links here. If you wish to have both HS/AL links and custom links, leave links= blank and custlinks=links here.

These links appear below the other field.

Quick copy

{{Infobox User
|name = 
|extracss = 
|image = 
|aka = 
|member = 
|combat = 
|total = 
|lang = 
|country = 
|altaccs = 
|rsstart = 
|wikistart = 
|edit = 
|god = 
|highskill = 
|favskill = 
|favitem = 
|favquest = 
|favact = 
|wikifauna = 
|networth = 
|other1title = 
|other1text = 
|other2title = 
|other2text = 
|other3title = 
|other3text = 
|links = 
|custlinks = 
}}