Template

Panel

From Dogcraft Wiki

No edit summary
No edit summary
Line 4: Line 4:
<div id="header">
<div id="header">
{{#if:{{{icon|}}}|<span id="icon">[[File:{{{icon}}}|20px]]</span>|}}
{{#if:{{{icon|}}}|<span id="icon">[[File:{{{icon}}}|20px]]</span>|}}
{{{title|}}}
<span id="title">{{{title|}}}</span>
</div>
</div>
<div id="content" class="mw-collapsible-content">
<div id="content" class="mw-collapsible-content">
<div id="content-body">{{{content|}}}</div>
{{{content|}}}  
</div>
</div>
</div>
</div>
Line 13: Line 13:
</includeonly>
</includeonly>
<noinclude>
<noinclude>
A template for displaying panels
== Examples ==
=== Without an icon ===
{{Panel
{{Panel
|title       = Example panel
|title=What is Dogcraft.net?
|content = Example content
|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.
|icon       = Dogcraft_Logo.png
}}
 
=== With an icon ===
{{Panel
|title=What is Dogcraft.net?
|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.
}}
}}
</noinclude>
</noinclude>

Revision as of 16:03, 7 February 2023


A template for displaying panels

Examples

Without an icon

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.


With an icon

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.


This page was last modified on 7 February 2023, at 16:03. (11 months ago)