Template:User infobox: Difference between revisions

From Hongkongggag Wiki
Jump to navigation Jump to search
Created page with "{{infobox | abovestyle = background:#fcc; | headerstyle = background:#fcc; | above = {{colorbox|{{{status|green}}}|  |border=1px solid black}} {{{name|{{PAGENAME}}}}} | image = {{{img|}}} | subheader = {{{title|}}} | header1 = Basics | label2 = Location | data2 = {{{loc|}}} | label3 = Time zone | data3 = {{{timezone|}}} | label4 = Language(s) | data4 = {{{lang|}}} | label5 = Gender | data5 = {{{gender|}}} | label6 = Birth date | data6 = {{{bday|}}} | header7 =..."
No edit summary
Tag: Reverted
Line 1: Line 1:
{{infobox
<infobox>
| abovestyle = background:#fcc;
  <title source="title1">
| headerstyle = background:#fcc;
    <default>{{PAGENAME}}</default>
| above = {{colorbox|{{{status|green}}}|&nbsp;&nbsp;|border=1px solid black}} {{{name|{{PAGENAME}}}}}
  </title>
| image = {{{img|}}}
  <image source="image1">
| subheader = {{{title|}}}
  <default>[[File:Placeholderver2.png]]</default>
| header1 = Basics
    <caption source="caption1"/>
| label2 = Location
  </image>
| data2 = {{{loc|}}}
  <data source="rank">
| label3 = Time zone
  <default>Citizen</default>
| data3 = {{{timezone|}}}
    <label>Rank</label>
| label4 = Language(s)
  </data>
| data4 = {{{lang|}}}
  <data source="joindate">
| label5 = Gender
  <default>Not Given</default>
| data5 = {{{gender|}}}
  <label>Joined</label>
| label6 = Birth date
  </data>
| data6 = {{{bday|}}}
  <data source="date of birth">
| header7 = MRT information
  <default>Unknown</default>
| label8 = Current rank
    <label>Date of Birth</label>
| data8 = {{{rank|}}}
  </data>
| label9 = Notable projects
  <data source="sex/gender">
| data9 = {{{projects|}}}
  <default>Unknown/Not Given</default>
| label10 = Joined
    <label>Gender</label>
| data10 = {{{guest|}}}
  </data>
| label11 = Accepted
  <data source="citizenship">
| data11 = {{{member|}}}
  <default>Unknown</default>
| label12 = Citizen
    <label>Country of Residence</label>
| data12 = {{{citizen|}}}
  </data>
| label13 = Trustee
  <data source="alias(es)">
| data13 = {{{trustee|}}}
  <default>None</default>
| label14 = Councillor
    <label>Alias(es)</label>
| data14 = {{{councillor|}}}
  </data>
| label15 = Mayor
  <data source="language(s)">
| data15 = {{{mayor|}}}
  <default>{{Languages|ENG}}</default>
| label16 = Senator
    <label>Language(s)</label>
| data16 = {{{senator|}}}
  </data>
| label17 = Governor
</infobox>
| data17 = {{{governor|}}}
<noinclude>
| label18 = Premier
Example usage:
| data18 = {{{premier|}}}
<pre>
| label19 = Conductor
{{Individual Info
| data19 = {{{conductor|}}}
| label20 = Trial Moderator
| data20 = {{{trialmod|}}}
| label21 = Moderator
| data21 = {{{mod|}}}
| label22 = Administrator
| data22 = {{{admin|}}}
| label23= Supporter
| data23 = {{{supporter|}}}
| 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|}}}
}}<noinclude>


{{Documentation}}
  | title1=Example


<noinclude>
  | image1=Example
 
  | caption1=Example
 
  | rank=Example
 
  | date_of_birth=Example
 
  | 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>
</noinclude>

Revision as of 21:46, 14 August 2023

<infobox>

 <title source="title1">
   <default>User infobox</default>
 </title>
 <image source="image1">
 	<default>File:Placeholderver2.png</default>

</image> <default>Citizen</default> <label>Rank</label> <default>Not Given</default> <label>Joined</label> <default>Unknown</default> <label>Date of Birth</label> <default>Unknown/Not Given</default> <label>Gender</label> <default>Unknown</default> <label>Country of Residence</label> <default>None</default> <label>Alias(es)</label> <default>Template:Languages</default> <label>Language(s)</label> </infobox> Example usage:

{{Individual Info

  | title1=Example

  | image1=Example

  | caption1=Example

  | rank=Example

  | date_of_birth=Example

  | sex/gender=Example

  | country_of_residence=Example
  
  | country_of_residence=Example

  | alias(es)=Example
  
  | language(s)=Example

}}

No description.

Template parameters

ParameterDescriptionTypeStatus
title1title1

no description

Unknownsuggested
image1image1

no description

Unknownsuggested
caption1caption1

no description

Unknownsuggested
rankrank

no description

Unknownsuggested
date of birthdate of birth

no description

Unknownsuggested
gendergender

no description

Unknownsuggested
citizenshipcitizenship

no description

Unknownsuggested
joindatejoindate

no description

Unknownsuggested
alias(es)alias(es)

no description

Unknownsuggested
language(s)language(s)

no description

Unknownsuggested