Difference between revisions of "Template:Glitchen Infobox"
Jump to navigation
Jump to search
(created template for wiki user pages) |
(updated name variable to show pagename) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style="font-size:100%; width:350px; border-style:none; " | {| class="infobox" style="font-size:100%; width:350px; border-style:none; " | ||
|- | |- | ||
− | ! colspan="2" style="background-color:#005C73; color:#ffffff; font-size: | + | ! colspan="2" style="background-color:#005C73; color:#ffffff; font-size:150%; padding:0.5em; border-style:plain; font-family:'VAG Rounded','Arial Rounded MT Bold',sans-serif;" | {{#if: {{{name|}}} | {{{name}}} | {{PAGENAME}}'s Glitchen}} |
|- {{#if:{{{image<includeonly>|</includeonly>}}} | | |- {{#if:{{{image<includeonly>|</includeonly>}}} | | ||
{{!}} colspan="2" style="text-align:center;" {{!}} {{{image}}}<br /> | {{!}} colspan="2" style="text-align:center;" {{!}} {{{image}}}<br /> |
Latest revision as of 19:41, 27 May 2019
Glitchen Infobox's Glitchen | |
---|---|
{{{image}}} | |
Stats | |
Level | {{{level}}} |
Achievement Total | - / 621 |
Favorite Achievement | {{{favoriteAchievement}}} |
Favorite Quest | {{{favoriteQuest}}} |
Favorite Item | {{{favoriteItem}}} |
Favorite Street | {{{favoriteStreet}}} |
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:Glitchen_Infobox/doc to edit this documentation. (How does this work?) |
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 | |
---|---|
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's Glitchen | |
---|---|
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 |