Template
Interface template

Panel

From Dogcraft Wiki

imported>William
No edit summary
m (Added categories: Interface templates)
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="background-color:#367FA9; color:#fff; padding:5px; display:auto; font-size:120%; border-radius:0.2em">{{{title}}} <span class="mw-customtoggle-0" style="font-size:100%; display:inline-block; float:right"><span class="mw-customtoggletext">[<u>Show</u>] </span></span></div>
<includeonly><templatestyles src="Template:Panel/styles.css" /><div {{#if:{{{width|}}}|style="max-width: {{{width|100%}}}"|}} class="collapsible-panel mw-customtoggle-panel-{{{id|{{anchorencode:{{{title|}}}}}}}}"><div id="mw-customcollapsible-panel-{{{id|{{anchorencode:{{{title|}}}}}}}}" class="mw-collapsible mw-collapsed"><div class="panel-header">{{#if:{{{icon|}}}|<span class="panel-icon">[[File:{{{icon}}}|25px]]</span>|}}<span class="panel-title">{{{title|}}}</span> </div><div class="panel-content mw-collapsible-content">{{{content|}}}</div></div></div></includeonly>
<div id="mw-customcollapsible-0" class="mw-collapsible mw-collapsed" style="background-color:#cce2ef; padding:5px">
<noinclude>
{{{content}}}
A template for displaying panels
</div>
 
== Examples ==
=== Without an icon ===
{{Panel
|title=Who is ReNDoG?
|content=This website is dedicated to [[ReNDoG]]. Most of you will probably know who he is, but in case you don't, we'll introduce him to you. ReNDoG is a youtuber who focuses on producing child friendly content for anyone to enjoy. His content is primarily Minecraft, but he's uploaded plenty of content on other amazing games as well. He's also a proud member of Hermitcraft and often collaborates on videos with his fellow Hermitcraft members.
}}
 
=== With an icon ===
{{Panel
|title=Dogcraft in a nutshell
|icon=Guides Cog.svg
|content=Dogcraft.net is a fan-site dedicated to YouTuber [[ReNDoG]], a place for all Cyberdogs to unite and connect, a home for the community. We offer a Minecraft server where you can connect with other Cyberdogs, a Discord server where you can chat with others, overseen by a staff team dedicated to make everyone feel like they belong and treats each other with respect and kindness. If you'd like to learn more about our community, we also have the Wiki, where you can learn about who we are and what we have done.
}}
 
=== Set width ===
{{Panel
|title=What is Dogcraft.net?
|icon=Guides Cog.svg
|width=300px
|content=Dogcraft.net is a fan-site dedicated to YouTuber [[ReNDoG]], a place for all Cyberdogs to unite and connect, a home for the community. We offer a Minecraft server where you can connect with other Cyberdogs, a Discord server where you can chat with others, overseen by a staff team dedicated to make everyone feel like they belong and treats each other with respect and kindness. If you'd like to learn more about our community, we also have the Wiki, where you can learn about who we are and what we have done.
}}
 
{{Interface template}}
</noinclude>

Latest revision as of 11:22, 4 December 2023


A template for displaying panels

Examples

Without an icon

Who is ReNDoG?
This website is dedicated to ReNDoG. Most of you will probably know who he is, but in case you don't, we'll introduce him to you. ReNDoG is a youtuber who focuses on producing child friendly content for anyone to enjoy. His content is primarily Minecraft, but he's uploaded plenty of content on other amazing games as well. He's also a proud member of Hermitcraft and often collaborates on videos with his fellow Hermitcraft members.


With an icon

Guides Cog.svgDogcraft in a nutshell
Dogcraft.net is a fan-site dedicated to YouTuber ReNDoG, a place for all Cyberdogs to unite and connect, a home for the community. We offer a Minecraft server where you can connect with other Cyberdogs, a Discord server where you can chat with others, overseen by a staff team dedicated to make everyone feel like they belong and treats each other with respect and kindness. If you'd like to learn more about our community, we also have the Wiki, where you can learn about who we are and what we have done.


Set width

Guides Cog.svgWhat is Dogcraft.net?
Dogcraft.net is a fan-site dedicated to YouTuber ReNDoG, a place for all Cyberdogs to unite and connect, a home for the community. We offer a Minecraft server where you can connect with other Cyberdogs, a Discord server where you can chat with others, overseen by a staff team dedicated to make everyone feel like they belong and treats each other with respect and kindness. If you'd like to learn more about our community, we also have the Wiki, where you can learn about who we are and what we have done.