Template

Difference between revisions of "Main"

From Shadow Era Wiki

(Created page with "<div style="display: flex; flex-wrap: wrap;"> <!-- Tableau 1 : Welcome to ATOM RPG Wiki --> <div style="flex: 0 0 100%; min-width: 300px;"> <table class="wiki...")
 
m
Line 16: Line 16:
 
<div style="display: flex; flex-wrap: wrap; margin-top: 20px;">
 
<div style="display: flex; flex-wrap: wrap; margin-top: 20px;">
  
     <!-- Tableau 2 : Image of the day! -->
+
     <!-- Tableau 2 : Join our community! -->
 
     <div style="flex: 0 0 45%; min-width: 200px; margin-right: 5%;">
 
     <div style="flex: 0 0 45%; min-width: 200px; margin-right: 5%;">
 
         <table class="wikitable" style="background-color: #4f545c; color: white; width: 100%;">
 
         <table class="wikitable" style="background-color: #4f545c; color: white; width: 100%;">
Line 28: Line 28:
 
     </div>
 
     </div>
  
<!-- Tableau 4 : Carte Aléatoire -->
 
 
<div style="flex: 0 0 45%; min-width: 200px; margin-left: auto;">
 
<div style="flex: 0 0 45%; min-width: 200px; margin-left: auto;">
 
<table class="wikitable" style="background-color: #4f545c; color: white; width: 100%;">
 
<table class="wikitable" style="background-color: #4f545c; color: white; width: 100%;">
Line 46: Line 45:
 
</table>
 
</table>
 
</div>
 
</div>
 
  
 
<div style="display: flex; flex-wrap: wrap; margin-top: 20px;">
 
<div style="display: flex; flex-wrap: wrap; margin-top: 20px;">

Revision as of 21:17, 6 October 2024

{{{title1}}}
{{{content1}}}
{{{title2}}}
{{{content2}}}
Carte Aléatoire
   Carte Aléatoire
   <script>
       var cardCount = 100; // Remplacez par le nombre total de cartes disponibles.
       var randomIndex = Math.floor(Math.random() * cardCount) + 1; // Générez un nombre aléatoire.
       document.getElementById('randomCard').src = 'https://www.shadowera.com/cards/card' + randomIndex + '.jpg'; // Modifiez ce chemin selon la structure des URLs des cartes.
   </script>
{{{title3}}}
{{{content3}}}