Difference between revisions of "Template:UserInfobox"

From Crappy Games Wiki
Jump to navigation Jump to search
(Revamping)
(Removed sensitive and personal info, users have no reason to mention these on our wikis.)
(8 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<infobox accent-color-source="BGColor" theme-source="BorderColor" accent-color-text-source="FontColor">
 
<infobox accent-color-source="BGColor" theme-source="BorderColor" accent-color-text-source="FontColor">
 
<title source="Title"><default><center>{{PAGENAME}}</center></default></title>
 
<title source="Title"><default><center>{{PAGENAME}}</center></default></title>
<image source="image"/>
+
<image source="image" /><header><center>''{{#if:{{{image|}}}|{{{caption}}}|}}''</center></header>
<group>
 
<header>Physical Information</header>
 
<data source="Gender"><label>Gender</label></data>
 
<data source="Age"><label>Age</label></data>
 
</group>
 
 
<group>
 
<group>
 
<header>Personal Information</header>
 
<header>Personal Information</header>
<data source="Religion"><label>Religion</label></data>
 
<data source="Sexuality"><label>Sexuality</label></data>
 
<data source="Disabilities"><label>Disabilities</label></data>
 
 
<data source="Nicknames"><label>Nicknames</label></data>
 
<data source="Nicknames"><label>Nicknames</label></data>
 
<data source="Friends"><label>Friends</label></data>
 
<data source="Friends"><label>Friends</label></data>
Line 17: Line 9:
 
<data source="Occupation"><label>Occupation</label></data>
 
<data source="Occupation"><label>Occupation</label></data>
 
<data source="Affiliation"><label>Affiliation</label></data>
 
<data source="Affiliation"><label>Affiliation</label></data>
<data source="Residence"><label>Current Residence</label></data>
 
 
<data source="Birthday"><label>Birthday</label></data>
 
<data source="Birthday"><label>Birthday</label></data>
 
<data source="Likes"><label>Likes</label></data>
 
<data source="Likes"><label>Likes</label></data>
Line 39: Line 30:
 
|Title=
 
|Title=
 
|image=
 
|image=
  +
|caption=
|Religion =
 
|Sexuality =
 
|Disabilities =
 
|Gender=
 
|Age=
 
 
|Nicknames=
 
|Nicknames=
 
|Friends=
 
|Friends=
Line 49: Line 36:
 
|Occupation=
 
|Occupation=
 
|Affiliation=
 
|Affiliation=
|Residence=
 
 
|Birthday=
 
|Birthday=
 
|Likes=
 
|Likes=
 
|Dislikes=
 
|Dislikes=
  +
|Joined=
 
|FirstEdit=
 
|FirstEdit=
  +
|Wikis=
  +
|Admin=
  +
|Status=
 
}}
 
}}
 
</pre></div>
 
</pre></div>
Line 67: Line 57:
 
|Title=This is a test
 
|Title=This is a test
 
|image=Gandb_placeholder.jpg
 
|image=Gandb_placeholder.jpg
|Religion = This is a test
+
|caption=This is a test
|Sexuality = This is a test
 
|Disabilities = This is a test
 
|Gender=This is a test (you can also put your pronouns if you want to but you don't have to)
 
|Age=This is a test
 
 
|Nicknames=This is a test
 
|Nicknames=This is a test
 
|Friends=This is a test
 
|Friends=This is a test
Line 77: Line 63:
 
|Occupation=This is a test
 
|Occupation=This is a test
 
|Affiliation=This is a test
 
|Affiliation=This is a test
|Residence=This is a test
 
 
|Birthday=This is a test
 
|Birthday=This is a test
 
|Likes=This is a test
 
|Likes=This is a test
 
|Dislikes=This is a test
 
|Dislikes=This is a test
 
|Joined=This is a test
 
|FirstEdit=This is a test
 
|FirstEdit=This is a test
 
|Wikis=This is a test
 
|Admin=This is a test
 
|Status=This is a test
 
}}
 
}}
 
</pre></div>
 
</pre></div>
Line 94: Line 83:
 
|Title=This is a test
 
|Title=This is a test
 
|image=Gandb_placeholder.jpg
 
|image=Gandb_placeholder.jpg
|Religion = This is a test
+
|caption=This is a test
|Sexuality = This is a test
 
|Disabilities = This is a test
 
|Gender=This is a test (you can also put your pronouns if you want to but you don't have to)
 
|Age=This is a test
 
 
|Nicknames=This is a test
 
|Nicknames=This is a test
 
|Friends=This is a test
 
|Friends=This is a test
Line 104: Line 89:
 
|Occupation=This is a test
 
|Occupation=This is a test
 
|Affiliation=This is a test
 
|Affiliation=This is a test
|Residence=This is a test
 
 
|Birthday=This is a test
 
|Birthday=This is a test
 
|Likes=This is a test
 
|Likes=This is a test
 
|Dislikes=This is a test
 
|Dislikes=This is a test
 
|Joined=This is a test
 
|FirstEdit=This is a test
 
|FirstEdit=This is a test
 
|Wikis=This is a test
 
|Admin=This is a test
 
|Status=This is a test
 
}}
 
}}
 
[[Category:Templates]]
 
[[Category:Templates]]

Revision as of 11:11, 11 February 2021

{{UserInfobox
|BGColor=
|BorderColor=
|FontColor=
|Title=
|image=
|caption=
|Nicknames=
|Friends=
|Enemies=
|Occupation=
|Affiliation=
|Birthday=
|Likes=
|Dislikes=
|Joined=
|FirstEdit=
|Wikis=
|Admin=
|Status=
}}

Example

Notes: Use the operator <br> in source mode to add linebreaks within the table. Sections left blank will not be displayed. The title that appears at the top of the infobox will be the same as the name of the page it is on. Note that the picture field requires the extension (.jpg, .jpeg, .png) to be present, and requires that the File: or Image: part of the link not be present.

Using the following:

{{UserInfobox
|BGColor=#00FFFF
|BorderColor=#CCCCCC
|FontColor=#FFFFFF
|Title=This is a test
|image=Gandb_placeholder.jpg
|caption=This is a test
|Nicknames=This is a test
|Friends=This is a test
|Enemies=This is a test
|Occupation=This is a test
|Affiliation=This is a test
|Birthday=This is a test
|Likes=This is a test
|Dislikes=This is a test
|Joined=This is a test
|FirstEdit=This is a test
|Wikis=This is a test
|Admin=This is a test
|Status=This is a test
}}

Results in the following (normally aligned on the right of the screen):