Template:User infobox: Difference between revisions

From Hongkongggag Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
<infobox>
{{infobox
  <title source="title1">
| abovestyle = background:#fcc;
    <default>{{PAGENAME}}</default>
| headerstyle = background:#fcc;
  </title>
| above = {{colorbox|{{{status|green}}}|&nbsp;&nbsp;|border=1px solid black}} {{{name|{{PAGENAME}}}}}
  <image source="image1">
| image = {{{img|}}}
  <default>[[File:Placeholderver2.png]]</default>
| subheader = {{{title|}}}
    <caption source="caption1"/>
| header1 = Basics
  </image>
| label2 = Location
  <data source="rank">
| data2 = {{{loc|}}}
  <default>Citizen</default>
| label3 = Time zone
    <label>Rank</label>
| data3 = {{{timezone|}}}
  </data>
| label4 = Language(s)
  <data source="joindate">
| data4 = {{{lang|}}}
  <default>Not Given</default>
| label5 = Gender
  <label>Joined</label>
| data5 = {{{gender|}}}
  </data>
| label6 = Birth date
  <data source="date of birth">
| data6 = {{{bday|}}}
  <default>Unknown</default>
| header7 = MRT information
    <label>Date of Birth</label>
| label8 = Current rank
  </data>
| data8 = {{{rank|}}}
  <data source="sex/gender">
| label9 = Notable projects
  <default>Unknown/Not Given</default>
| data9 = {{{projects|}}}
    <label>Gender</label>
| label10 = Joined
  </data>
| data10 = {{{guest|}}}
  <data source="citizenship">
| label11 = Accepted
  <default>Unknown</default>
| data11 = {{{member|}}}
    <label>Country of Residence</label>
| label12 = Citizen
  </data>
| data12 = {{{citizen|}}}
  <data source="alias(es)">
| label13 = Trustee
  <default>None</default>
| data13 = {{{trustee|}}}
    <label>Alias(es)</label>
| label14 = Councillor
  </data>
| data14 = {{{councillor|}}}
  <data source="language(s)">
| label15 = Mayor
  <default>{{Languages|ENG}}</default>
| data15 = {{{mayor|}}}
    <label>Language(s)</label>
| label16 = Senator
  </data>
| data16 = {{{senator|}}}
</infobox>
| label17 = Governor
<noinclude>
| data17 = {{{governor|}}}
Example usage:
| label18 = Premier
<pre>
| data18 = {{{premier|}}}
{{Individual Info
| label19 = Conductor
 
| data19 = {{{conductor|}}}
  | title1=Example
| label20 = Trial Moderator
 
| data20 = {{{trialmod|}}}
  | image1=Example
| label21 = Moderator
 
| data21 = {{{mod|}}}
  | caption1=Example
| label22 = Administrator
 
| data22 = {{{admin|}}}
  | rank=Example
| label23= Supporter
 
| data23 = {{{supporter|}}}
  | date_of_birth=Example
| header30 = Social networks
| label31 = YouTube
| data31 = {{{youtube|}}}
| label32 = Twitter/X
| data32 = {{{twitter|}}}
| label33 = Mastodon
| data33 = {{{mastodon|}}}
| label34 = Twitch
| data34 = {{{twitch|}}}
| label35 = Facebook
| data35 = {{{facebook|}}}
| label36 = Instagram
| data36 = {{{instagram|}}}
| label37 = Skype
| data37 = {{{skype|}}}
| label38 = Steam
| data38 = {{{steam|}}}
| label39 = Discord
| data39 = {{{discord|}}}
| label40 = Personal website
| data40 = {{{web|}}}
| header50 = {{#ifeq:{{{names|}}}|true|Names|}}
| label51 = Nickname(s)
| data51 = {{{nicknames|}}}
| label52 = Previous name(s)
| data52 = {{{old-names|}}}
| below = {{{tags|}}}
}}


  | sex/gender=Example
  | country_of_residence=Example
 
  | country_of_residence=Example
  | alias(es)=Example
 
  | language(s)=Example
}}
</pre>
<templatedata>
<templatedata>
{"params":{"title1":{"suggested":true},"image1":{"suggested":true},"caption1":{"suggested":true},"rank":{"suggested":true},"date of birth":{"suggested":true},"gender":{"suggested":true},"citizenship":{"suggested":true},"joindate":{"suggested":true},"alias(es)":{"suggested":true},"language(s)":{"suggested":true}},"sets":[],"maps":{}}
{
"params": {
"status": {
"description": "your status on status walls.",
"example": "Green, Yellow, Red, or Black"
},
"title": {
"description": "For staff - Director (mod) or Head (admin) titles"
},
"name": {
"description": "Current user name, if it differs from the page title"
},
"img": {
"description": "A screenshot of your Minecraft character or personal logo, use full file syntax",
"type": "wiki-file-name"
},
"loc": {
"description": "Your home location - state/province is optional, please provide country"
},
"timezone": {
"description": "Your timezone (please include offset from UTC, use a line break for daylight savings difference)",
"example": "UTC | UTC +01:00"
},
"lang": {
"description": "Home language(s)",
"example": "English"
},
"gender": {
"description": "self-explanatory"
},
"rank": {
"description": "Your current rank on the MRT Server",
"example": "Mod, Member"
},
"bday": {
"description": "Your birth date.",
"type": "date"
},
"projects": {
"description": "Your notable projects."
}
},
"description": "This template will create an Infobox, or Information Box, for a user. It should be placed at the top of a page, ideally with code like this:",
"paramOrder": [
"status",
"title",
"name",
"img",
"loc",
"timezone",
"lang",
"gender",
"bday",
"rank",
"projects"
],
"format": "block"
}
</templatedata>
</templatedata>
</noinclude>

Revision as of 21:50, 14 August 2023

     User infobox
Basics
MRT information
Social networks

This template will create an Infobox, or Information Box, for a user. It should be placed at the top of a page, ideally with code like this:

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
statusstatus

your status on status walls.

Example
Green, Yellow, Red, or Black
Unknownoptional
titletitle

For staff - Director (mod) or Head (admin) titles

Unknownoptional
namename

Current user name, if it differs from the page title

Unknownoptional
imgimg

A screenshot of your Minecraft character or personal logo, use full file syntax

Fileoptional
locloc

Your home location - state/province is optional, please provide country

Unknownoptional
timezonetimezone

Your timezone (please include offset from UTC, use a line break for daylight savings difference)

Example
UTC | UTC +01:00
Unknownoptional
langlang

Home language(s)

Example
English
Unknownoptional
gendergender

self-explanatory

Unknownoptional
bdaybday

Your birth date.

Dateoptional
rankrank

Your current rank on the MRT Server

Example
Mod, Member
Unknownoptional
projectsprojects

Your notable projects.

Unknownoptional