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

From Glitch Forever
Jump to navigation Jump to search
(Created page with "==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...")
 
 
(2 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
==Syntax==
 
==Syntax==
 
<pre>
 
<pre>
{{Glitchen Infofox
+
{{Glitchen Infobox
 
|name                = name of your Glitchen (if none listed it will pull from the wiki user's name)
 
|name                = name of your Glitchen (if none listed it will pull from the wiki user's name)
 
|image              = (link picture here)
 
|image              = (link picture here)
Line 20: Line 20:
 
==Samples==
 
==Samples==
 
<pre>
 
<pre>
{{Glitchen Infofox
+
{{Glitchen Infobox
 
|name                = Mndarrr
 
|name                = Mndarrr
 
|image              = [[File:Mndarrr.png|200px]]
 
|image              = [[File:Mndarrr.png|200px]]
Line 34: Line 34:
 
Results in...
 
Results in...
  
{{Glitchen Infofox
+
{{Glitchen Infobox
 
|name                = Mndarrr
 
|name                = Mndarrr
 
|image              = [[File:Mndarrr.png|200px]]
 
|image              = [[File:Mndarrr.png|200px]]
Line 46: Line 46:
  
 
{{clear}}
 
{{clear}}
 +
 +
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>
 +
{{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]]
 +
}}
 +
</pre>
 +
 +
It results in...
 +
{{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]]
 +
}}
  
 
<includeonly>[[Category:Templates]]</includeonly><noinclude></noinclude>
 
<includeonly>[[Category:Templates]]</includeonly><noinclude></noinclude>

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