Template:Mainpage Label: Difference between revisions
From Beekeepers
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> <div class="mpLabel-container" style="display:inline-block; text-align:center; vertical-align:top;"> | <includeonly> <div class="mpLabel-container" style="display:inline-block; text-align:center; vertical-align:top;"> | ||
{| class="plainlinks" style="background:#{{{color}}}; color:white; border-left:15px solid color-mix(in srgb, #{{{color}}}, black 40%); text-align:left; width: | {| class="plainlinks" style="background:#{{{color}}}; color:white; border-left:15px solid color-mix(in srgb, #{{{color}}}, black 40%); text-align:left; width:500px; border-radius:20px;" | ||
| style="padding:10px; width:120px; vertical-align:middle;" | [[File:{{{1}}}.png|100px|link={{{2}}}]] | | style="padding:10px; width:120px; vertical-align:middle;" | [[File:{{{1}}}.png|100px|link={{{2}}}]] | ||
| style="padding:10px; vertical-align:middle; font-size:500%; font-weight: 900; -webkit-text-stroke: 8px black| [[{{{text}}}|{{{2}}}]] | | style="padding:10px; vertical-align:middle; font-size:500%; font-weight: 900; -webkit-text-stroke: 8px black| [[{{{text}}}|{{{2}}}]] | ||
| Line 26: | Line 26: | ||
== Exmaple == | == Exmaple == | ||
<pre> | <pre> | ||
{{Mainpage Label|PurpleButterflyIcon| | {{Mainpage Label|PurpleButterflyIcon|NPCs|text=NPCs|color=A62BFF}} | ||
</pre> | </pre> | ||
{{Mainpage Label|PurpleButterflyIcon| | {{Mainpage Label|PurpleButterflyIcon|NPCs|text=NPCs|color=A62BFF}} | ||
Revision as of 19:11, 23 November 2026
Parameters
| Parameter | Function |
|---|---|
1= |
Icon of the Label. |
2= |
Link for the Label. |
text= |
Text of the Label. |
color= |
Hexcode of the label's background colour. |
Exmaple
{{Mainpage Label|PurpleButterflyIcon|NPCs|text=NPCs|color=A62BFF}}