« Modèle:Translations » : différence entre les versions

De Baripedia
Aucun résumé des modifications
Balise : Révoqué
Aucun résumé des modifications
 
(38 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
 
{{hidden
Certainly! Here's an example of how you can create a table within the <div> element in the template:
|Languages
 
|
html
{{#if: {{{de|}}} | [[{{{de}}}|Deutsch]] |}}
Copy code
{{#if: {{{en|}}} | [[{{{en}}}|English]] |}}
<includeonly>
{{#if: {{{es|}}} | [[{{{es}}}|Español]] |}}
<div class="bandeau-section bandeau-niveau-detail">
{{#if: {{{fr|}}} | [[{{{fr}}}|Français]] |}}
  <table>
{{#if: {{{it|}}} | [[{{{it}}}|Italiano]] |}}
    <tr>
{{#if: {{{ja|}}} | [[{{{ja}}}|日本語]] |}}
      <th>Language</th>
{{#if: {{{lt|}}} | [[{{{lt}}}|Lietuviškas]] |}}
      <th>Content Availability</th>
{{#if: {{{pt|}}} | [[{{{pt}}}|Português]] |}}
    </tr>
{{#if: {{{ch|}}} | [[{{{ch}}}|中文(简体)]] |}}
    <tr>
|headerstyle=background:#ffffff
      <td>English</td>
|style=text-align:centre;
      <td>{{#if: {{{en|}}} | [[{{{en}}}|Available]]}}</td>
}}
    </tr>
    <tr>
      <td>Français</td>
      <td>{{#if: {{{fr|}}} | [[{{{fr}}}|Disponible]]}}</td>
    </tr>
    <tr>
      <td>Español</td>
      <td>{{#if: {{{es|}}} | [[{{{es}}}|Disponible]]}}</td>
    </tr>
    <!-- Add more rows for other languages as needed -->
  </table>
</div>
</includeonly>
<noinclude>
{{Documentation}}
</noinclude>

Version actuelle datée du 3 août 2023 à 10:36

Languages