Template

EditorCard

From Dogcraft Wiki

imported>Domino
(Undo revision 18181 by Domino (talk))
mNo edit summary
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude><span class="hover" style="position:relative;"> {{Player|{{{ingamename}}}}}
<onlyinclude><span class="hover" style="position:relative;"> {{Player|{{{ingamename}}}}}
<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:197px; 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:197px; padding:10px; border:solid 1px lightgray; overflow: hidden; border-bottom-left-radius: 5px; box-shadow: -1px 1px 8px -4px; border-bottom-right-radius: 5px;>
<span style="width:73px; height:73px; background-color:lightblue; padding:3px; float:left; margin-right:7px; margin-bottom:3px">https://minotar.net/helm/{{{ingamename}}}/70.png</span>
<span style="width:73px; height:73px; background-color:lightblue; padding:3px; float:left; margin-right:7px; margin-bottom:3px">https://minotar.net/helm/{{{ingamename}}}/70.png</span>
<b>Userame: </b> {{{username}}}
<b>Username: </b> {{{username}}}
<br>{{#if: {{{activity}}}|<b>Activity: </b> {{{activity}}}|}}
<br />{{#if: {{{activity}}}|<b>Activity: </b> {{{activity}}}|}}
<br>{{#if: {{{base}}}|<b>Base: </b> {{#if: {{{baselink}}}|[[{{{baselink}}}]]|[[{{{base}}}]]}}|}}
<br />{{#if: {{{base}}}|<b>Base: </b> {{#if: {{{baselink}}}|[[{{{baselink}}}]]|[[{{{base}}}]]}}|}}
<br><b>About: </b> {{{about}}}
<br><b>About: </b> {{{about}}}
<span style="position:absolute; top:0; right:0; font-size:10px; margin-right:2px; z-index:2;">[[User:{{{username}}}/UserHover|Edit this template]]</span>  
<span style="position:absolute; top:0; right:0; font-size:10px; margin-right:2px; z-index:2;">[https://wiki.dogcraft.net/index.php?title=User:{{{username}}}/Hover&veaction=edit Edit this template]<abbr style="margin-left:1em" title="This template project is still work in progress.">WIP</abbr></span>  
<span style="position:absolute; bottom:0; right:0; font-size:10px; margin-right:2px; z-index:2;">[[User:{{{username}}}|User page]]</span>  
<span style="position:absolute; bottom:0; right:0; font-size:10px; margin-right:2px; z-index:2;">[[User:{{{username}}}|User page]]</span>  
</span></span></span></onlyinclude><noinclude>
</span></span></span></onlyinclude><noinclude>
Line 14: Line 14:
"params": {
"params": {
"username": {
"username": {
"required": false,
"required": true,
"description": "Wiki Username",
"description": "Your Wiki username",
"type": "string",
"type": "string",
"label": "Do not edit this field. Bellow, replace everything either with your own content, or black spaces (In optional fields)"
"label": "Wiki Username"
},
},
"ingamename": {
  "ingamename": {
"required": true,
"required": true,
"description": "Minecraft Username",
"description": "Minecraft Username (Keep it 1 word)",
"type": "string",
"type": "string",
"label": "Ingame Name"
"label": "In-game name (Keep it 1 word)"
},
},
"activity": {
"activity": {
"suggested": true,
"suggested": true,
"description": "User activity",
"description": "User activity",
Line 50: Line 50:
}
}
},
},
"description": "A 'card' that pops up when a username is hovered, containing some information about the user.",
"description": "Replace everything either with your own content, or blank spaces (In optional fields)",
"paramOrder": [
"paramOrder": [
"username",
"username",
"ingamename",
"ingamename",
  "activity",
  "activity",
Line 60: Line 60:
]
]
}
}
</templatedata>
</templatedata>[[Category:Editor card templates]]
</noinclude>
</noinclude>

Latest revision as of 12:54, 4 December 2023

20.png {{{ingamename}}} 70.png Username: {{{username}}}
Activity: {{{activity}}}
Base: [[{{{baselink}}}]]
About: {{{about}}} Edit this templateWIP [[User:{{{username}}}|User page]]

Replace everything either with your own content, or blank spaces (In optional fields)

Template parameters

ParameterDescriptionTypeStatus
Wiki Usernameusername

Your Wiki username

Stringrequired
In-game name (Keep it 1 word)ingamename

Minecraft Username (Keep it 1 word)

Stringrequired
Activity (Optional)activity

User activity

Stringsuggested
Your base's name (Optional)base

Your base's name

Stringsuggested
Link to your base's page (If the page name and the base name are not the same)baselink

A link to your base's wiki page, if the page name and the base name are not the same.

Stringsuggested
About meabout

You can write stuff about yourself here

Stringrequired
Background Valentine's Day Event 2024 by TheWhiteTigerNL