Difference between revisions of "Template:Glitchen Infobox/doc"

From Glitch Forever
Jump to navigation Jump to search
 
Line 47: Line 47:
 
{{clear}}
 
{{clear}}
  
If the name field is left blank like this:
+
If the name field is left blank it will create a name field in the title bar of the infobox with the pagename (typically the user's name) like this:
 
<pre>
 
<pre>
 
{{Glitchen Infobox
 
{{Glitchen Infobox

Latest revision as of 19:42, 27 May 2019

Description

This template is a user page infobox, to aid in the display of user data on profile pages. The below code will show in the User Page Template for new users or can be copied as needed to new user pages.

Most of the variables are in 'if' statements and will not display if no text is entered by users.

Syntax

{{Glitchen Infobox
|name                = name of your Glitchen (if none listed it will pull from the wiki user's name)
|image               = (link picture here)
|level               = list the number of your level
|numAchievements     = list how many you've completed
|favoriteAchievement = link to your favorite achievement
|favoriteQuest       = link to your favorite quest
|favoriteItem        = link to your favorite item page
|favoriteStreet      = link to your favorite street
}}

Samples

{{Glitchen Infobox
|name                = Mndarrr
|image               = [[File:Mndarrr.png|200px]]
|level               = 50
|numAchievements     = 12
|favoriteAchievement = [[The Rainbo Connection]]
|favoriteQuest       = [[Ilmenskie Jones and the Sealed Cavern]]
|favoriteItem        = [[Egg]]
|favoriteStreet      = [[Marrakesh Meadow]]
}}

Results in...

Mndarrr
Mndarrr.png
Stats
Level 50
Achievement Total 12 / 621
Favorite Achievement The Rainbo Connection
Favorite Quest Ilmenskie Jones and the Sealed Cavern
Favorite Item Egg
Favorite Street Marrakesh Meadow

If the name field is left blank it will create a name field in the title bar of the infobox with the pagename (typically the user's name) like this:

{{Glitchen Infobox
|name                = 
|image               = [[File:Mndarrr.png|200px]]
|level               = 50
|numAchievements     = 12
|favoriteAchievement = [[The Rainbo Connection]]
|favoriteQuest       = [[Ilmenskie Jones and the Sealed Cavern]]
|favoriteItem        = [[Egg]]
|favoriteStreet      = [[Marrakesh Meadow]]
}}

It results in...

Glitchen Infobox/doc's Glitchen
Mndarrr.png
Stats
Level 50
Achievement Total 12 / 621
Favorite Achievement The Rainbo Connection
Favorite Quest Ilmenskie Jones and the Sealed Cavern
Favorite Item Egg
Favorite Street Marrakesh Meadow