Template

Editor

From Dogcraft Wiki

No edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{#ifexist: User:{{{1}}}/Hover  
{{#ifexist: User:{{{1}}}/Hover  
|{{User:{{{1}}}/Hover}}
|{{User:{{{1}}}/Hover}}
|<span class="hover" style="position:relative;"><span style="white-space:nowrap;">{{{1}}}</span>
|<span class="hover" style="position:relative;"><span style="white-space:nowrap;">{{{1}}}</span>
<span class="hoverbox" style="position: absolute; top: 0; left: 0; width:300px; height:217px; z-index:1;">
<span class="hoverbox noexcerpt" style="position: absolute; top: 0; left: 0; width:300px; height:219px; z-index:1;">
<span style="position:absolute; top:20px; color:black; background-color:#f5f5f5; width:300px; height:auto; padding:10px; border-style:dotted; border-width:1px; border-color:black; overflow: hidden;>
<span style="position:absolute; top:22px; color:black; background-color:#f5f5f5; width:300px; height:auto; padding:10px; border-style:dotted; border-width:1px; border-color:black; overflow: hidden;>
{{{1}}} doesent seem to have a hover-card. If you are {{{1}}}, head to [https://dogcraft.net/wiki/index.php?title=User:{{{1}}}/Hover&veaction=edit&preload=Template:EditorCardPreload this page] to create it!
{{{1}}} doesent seem to have a hover-card. If you are {{{1}}}, head to [https://dogcraft.net/wiki/index.php?title=User:{{{1}}}/Hover&veaction=edit&preload=Template:EditorCardPreload this page] to create it!
</span></span></span>
</span></span></span>
}}
}}
</includeonly><noinclude>
</includeonly><noinclude>[[Category:Editor card templates]]
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 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>
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>

Latest revision as of 12:53, 4 December 2023

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|WikiTestAccount}} produces this: WikiTestAccount WikiTestAccount doesent seem to have a hover-card. If you are WikiTestAccount, 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

Background Dragon Slayer - Retriever by Ironboundred