Template

Editor

From Dogcraft Wiki

No edit summary
No edit summary
Line 10: Line 10:
</includeonly><noinclude>
</includeonly><noinclude>
This is a template akin to [[Template:Player]], but it also generates an extra box with information under the username, when hovered.
This is a template akin to [[Template:Player]], but it also generates an extra box with information under the username, when hovered.
Unlike the Player template, this one requires someone's <b>wiki username</b>, not their ingame name when typed on a page. After, it creates a prompt when hovered for the user to create their own hoverbox, where they can enter more information, like their ingame name, or a link to their base's article. It also comes with an About section, where the user can write some things about themselves.  
Unlike the Player template, this one requires someone's <b>wiki username</b>, not their ingame name when called. After, it creates a prompt for the user to create their own hoverbox, where they can enter more information, like their ingame name, or a link to their base's article. It also comes with an About section, where the user can write about themselves. <br>
This template should only be used for people with wiki accounts! This is an intensive template, so it only should be used once per user per page. The defualt template for people should remain Player.
This template should only be used for people with wiki accounts. This is an intensive template, so it only should be used once per user per page. The defualt template for people should remain Player.


<br><nowiki>{{Editor|TestUser}}</nowiki> produces this: {{Editor|TestUser}}
<br><nowiki>{{Editor|TestUser}}</nowiki> produces this: {{Editor|TestUser}}

Revision as of 01:11, 7 April 2020

This is a template akin to Template:Player, but it also generates an extra box with information under the username, when hovered. Unlike the Player template, this one requires someone's wiki username, not their ingame name when called. After, it creates a prompt for the user to create their own hoverbox, where they can enter more information, like their ingame name, or a link to their base's article. It also comes with an About section, where the user can write about themselves.
This template should only be used for people with wiki accounts. This is an intensive template, so it only should be used once per user per page. The defualt template for people should remain Player.


{{Editor|TestUser}} produces this: TestUser TestUser doesent seem to have a hover-card. If you are TestUser, head to this page to create it!


After the link prompt to create a hoverbox is followed, and a hoverbox is filled out, the template will display the information.


{{Editor|Domino}} will produce this: 20.png Domino_1 70.png Username: Domino
Activity: Active

About: I am a player on the Dogcraft server, and an Admin on the Dogcraft Wiki. I like building stuff that has a story! Edit this templateWIP User page

This page was last modified on 7 April 2020, at 01:11. (5 months ago)
Background Valentine's Day Event 2024 by TheWhiteTigerNL