Sandbox: Difference between revisions

From Eco - English Wiki
[checked revision][checked revision]
No edit summary
No edit summary
 
(89 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
<div class="row">
 
<div class="col-sm">
== Test for new Main menu ==
<div class="card">
 
[[File:Banner4k.jpg|class=card-img-top|link=]]
{{#invoke:EcopediaMenu|MainMenu}}
 
 
 
== Test for new Icon for recipes with number on ==
 
'''Version from WugWugg:'''
 
{{Icon|name=Charred Meat|link=1|size=64|style=5|border=green|count=100}} {{Icon|name=Daisy|link=1|size=64|style=5|border=yellow|count=10}}
 
== Test Plant template with gallery  ==
 
<div class="row gy-4 gx-5">
<div class="col-md-6">
<gallery widths=100% heights=auto mode="slideshow" showthumbnails>
Rice_Plant.jpg
Rice_Plant.jpg
Rice_Plant.jpg
Rice_Plant.jpg
</gallery>
</div>
<div class="col-md-6">
<div class="card border-primary">
   <div class="card-body">
   <div class="card-body">
    <h5 class="card-title">Card title</h5>
<h2 class="card-title fs-40">[[File:RiceSpecies_Icon.png|64px|link=]] Rice</h2>
    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<p class="col-lg-10 card-text"></p>
     <a href="#" class="btn btn-primary">Go somewhere</a>
</div></div>
   </div>
 
</div>
<div class="row g-2 mb-3">
 
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-6"><div class="card">
  <div class="card-header bg-dark text-white">CardHeaderTitle</div>
  <ul class="list-group list-group-flush">
    <li class="list-group-item">Listitem</li>
    <li class="list-group-item">Listitem</li>
    <li class="list-group-item">Listitem</li>
  </ul>
</div></div>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-6"><div class="card">
  <div class="card-header bg-dark text-white">CardHeaderTitle</div>
  <ul class="list-group list-group-flush">
    <li class="list-group-item">Listitem</li>
    <li class="list-group-item">Listitem</li>
    <li class="list-group-item">Listitem</li>
  </ul>
</div></div>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-6"><div class="card">
  <div class="card-header bg-dark text-white">CardHeaderTitle</div>
  <ul class="list-group list-group-flush">
    <li class="list-group-item">Listitem</li>
     <li class="list-group-item">Listitem</li>
    <li class="list-group-item">Listitem</li>
  </ul>
</div></div>
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-6"><div class="card">
   <div class="card-header bg-dark text-white">CardHeaderTitle</div>
  <ul class="list-group list-group-flush">
    <li class="list-group-item">Listitem</li>
    <li class="list-group-item">Listitem</li>
    <li class="list-group-item">Listitem</li>
  </ul>
</div></div>
 
</div>
</div>


<div class="col-sm">
<div class="card bg-dark">
  <div class="card-header">Featured</div>
  <div class="card-body">
    <h5 class="card-title">Card title</h5>
    <h6 class="card-subtitle mb-2 text-muted">Card subtitle</h6>
    <p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
    <a href="#" class="card-link">Card link</a>
    <a href="#" class="card-link">Another link</a>
  </div>
</div>
</div>
</div>
</div>
</div>


 
== Test info card with dark/light mode ==
<div class="row align-items-md-stretch">
<div class="row align-items-md-stretch">
       <div class="col-md-6">
       <div class="col-md-6">
         <div class="h-100 p-5 text-white bg-dark rounded-3">
         <div class="h-80 p-4 border-primary text-white bg-dark rounded-3">
           <h2 class="text-white">Change the background</h2>
           <h5 class="text-white">{{Icon |name = Achievement|id = Achievement|link = Achievements |style = 1 |size = 48}}  Change the background</h5>
           <p>Swap the background-color utility and add a `.text-*` color utility to mix up the jumbotron look. Then, mix and match with additional component themes and more.</p>
           <p>Swap the background-color utility and add a `.text-*` color utility to mix up the jumbotron look. Then, mix and match with additional component themes and more.</p>
         </div>
         </div>
       </div>
       </div>
       <div class="col-md-6">
       <div class="col-md-6">
         <div class="h-100 p-5 bg-light border rounded-3">
         <div class="h-80 p-4 border-primary bg-light border rounded-3">
           <h2>Add borders</h2>
           <h5>{{Icon |name = Achievement|id = Achievement|link = Achievements |style = 1 |size = 48}}  Add borders</h5>
           <p>Or, keep it light and add a border for some added definition to the boundaries of your content. Be sure to look under the hood at the source HTML here as we've adjusted the alignment and sizing of both column's content for equal-height.</p>
           <p>Or, keep it light and add a border for some added definition to the boundaries of your content. Be sure to look under the hood at the source HTML here as we've adjusted the alignment and sizing of both column's content for equal-height.</p>
         </div>
         </div>
       </div>
       </div>
     </div>
     </div>
{{#ifexist: File:Achievement_Icon.png | ДА | НЕТ }} <br>
{{#ifexist: Image:Achievement_Icon.png | ДА | НЕТ  }} <br>
{{#ifexist: Media:Achievement_Icon.png | ДА | НЕТ  }}<br>
-----  {{#invoke:Utils|getLanguageName}}  ----- <br>
{{#invoke:Utils|checkImage(File:Achievement_Icon.png)}}<br>
{{#invoke:Utils|checkImage(Image:Achievement_Icon.png)}}<br>
{{#invoke:Utils|checkImage(Media:Achievement_Icon.png)}}

Latest revision as of 13:02, 19 May 2026


Test for new Main menu

[edit | edit source]


Test for new Icon for recipes with number on

[edit | edit source]

Version from WugWugg:

100
10
[edit | edit source]

Rice

CardHeaderTitle
  • Listitem
  • Listitem
  • Listitem
CardHeaderTitle
  • Listitem
  • Listitem
  • Listitem
CardHeaderTitle
  • Listitem
  • Listitem
  • Listitem
CardHeaderTitle
  • Listitem
  • Listitem
  • Listitem

Test info card with dark/light mode

[edit | edit source]
Change the background

Swap the background-color utility and add a `.text-*` color utility to mix up the jumbotron look. Then, mix and match with additional component themes and more.

Add borders

Or, keep it light and add a border for some added definition to the boundaries of your content. Be sure to look under the hood at the source HTML here as we've adjusted the alignment and sizing of both column's content for equal-height.