Difference between revisions of "Template:Materials"

[unchecked revision][unchecked revision]
m (A protégé « Modèle:Materials » : Protection of Dokit pages ([Modifier=Autoriser uniquement les administrateurs] (infini) [Renommer=Autoriser uniquement les administrateurs] (infini)))
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#if:{{{Tuto_Attachments|}}}{{{ExternalAttachmentsLinks|}}}|
+
{{#if: {{{ItemList|}}}|
<tabber>
+
{{#if: {{{Prerequisites|}}}|
Outils & Matériaux=
+
{{#if: {{{ExternalAttachmentsLinks|}}} {{{Tuto_Attachments|}}}
{{#if:{{{Step_Picture_00|}}}|  
+
|
  {{MaterialsImage|[[Material::{{{Material|}}}]]|[[Tools::{{{Tools|}}}]]|{{ #carousel: [[File:{{{Step_Picture_00}}}]] | [[File:{{{Step_Picture_01}}}]] | [[File:{{{Step_Picture_02}}}]] | [[File:{{{Step_Picture_03}}}]] | [[File:{{{Step_Picture_04}}}]] | [[File:{{{Step_Picture_05}}}]] }} }} |
+
<div class="wf-nav">
{{MaterialsNoImage|[[Material::{{{Material|}}}]]|[[Tools::{{{Tools|}}}]] }}
+
<ul class="wf-nav-tabs" role="tablist">
}}
+
<li role="presentation" class="active"><span data-target="#ItemList" aria-controls="ItemList" role="tab" class="wf-nav-tabs-switch" data-toggle="tab"><i class="fa fa-tag" aria-hidden="true"></i> <span class="wf-nav-tabs-text">{{int:dokit-item-tabs-title}}</span></span></li>
|-|
+
<li role="presentation"><span data-target="#Prerequisites" aria-controls="Prerequisites" role="tab" class="wf-nav-tabs-switch" data-toggle="tab"><i class="fa fa-link" aria-hidden="true"></i> <span class="wf-nav-tabs-text">{{int:wf-prerequisites-tabs-title}}</span></span></li>
Fichiers={{{ExternalAttachmentsLinks|}}}
+
<li role="presentation" class="noprint"><span data-target="#ExternalAttachmentsLinks" aria-controls="ExternalAttachmentsLinks" role="tab" class="wf-nav-tabs-switch" data-toggle="tab"><i class="fa fa-file" aria-hidden="true"></i> <span class="wf-nav-tabs-text">{{int:wf-formtutorial-file-tabs-title}}</span></span></li>
{{{Tuto_Attachments|}}}
+
</ul>
</tabber>
+
<div class="tab-content">
 +
<h2 class="print-only">{{int:dokit-item-tabs-title}}</h2><div role="tabpanel" class="tab-pane active" id="ItemList">{{{ItemList|}}}</div>
 +
<h2 class="print-only">{{int:wf-prerequisites-tabs-title}}</h2><div role="tabpanel" class="tab-pane" id="Prerequisites">{{{Prerequisites|}}}</div>
 +
<div role="tabpanel" class="tab-pane noprint" id="ExternalAttachmentsLinks">{{{ExternalAttachmentsLinks|}}} {{{Tuto_Attachments|}}}</div>
 +
</div>
 
</div>
 
</div>
 
|
 
|
<div class="Input-tabs">
+
<div class="wf-nav">
<tabber>
+
<ul class="wf-nav-tabs" role="tablist">
Outils & Matériaux=
+
<li role="presentation" class="active"><span data-target="#ItemList" aria-controls="ItemList" role="tab" class="wf-nav-tabs-switch" data-toggle="tab"><i class="fa fa-tag" aria-hidden="true"></i> <span class="wf-nav-tabs-text">{{int:dokit-item-tabs-title}}</span></span></li>
{{#if:{{{Step_Picture_00|}}}|
+
<li role="presentation"><span data-target="#Prerequisites" aria-controls="Prerequisites" role="tab" class="wf-nav-tabs-switch" data-toggle="tab"><i class="fa fa-link" aria-hidden="true"></i> <span class="wf-nav-tabs-text">{{int:wf-prerequisites-tabs-title}}</span></span></li>
  {{MaterialsImage|[[Material::{{{Material|}}}]]|[[Tools::{{{Tools|}}}]]|{{ #carousel: [[File:{{{Step_Picture_00}}}]] | [[File:{{{Step_Picture_01}}}]] | [[File:{{{Step_Picture_02}}}]] | [[File:{{{Step_Picture_03}}}]] | [[File:{{{Step_Picture_04}}}]] | [[File:{{{Step_Picture_05}}}]] }} }} |
+
</ul>
{{MaterialsNoImage|[[Material::{{{Material|}}}]]|[[Tools::{{{Tools|}}}]] }}
+
<div class="tab-content">
}}
+
<h2 class="print-only">{{int:dokit-item-tabs-title}}</h2><div role="tabpanel" class="tab-pane active" id="ItemList">{{{ItemList|}}}</div>
</tabber>
+
<h2 class="print-only">{{int:wf-prerequisites-tabs-title}}</h2><div role="tabpanel" class="tab-pane" id="Prerequisites">{{{Prerequisites|}}}</div>
 +
</div>
 
</div>
 
</div>
 
}}
 
}}
[[Catégorie:Tutoriels]]
+
|
 +
{{#if: {{{ExternalAttachmentsLinks|}}} {{{Tuto_Attachments|}}}
 +
|
 +
<div class="wf-nav">
 +
<ul class="wf-nav-tabs" role="tablist">
 +
<li role="presentation" class="active"><span data-target="#ItemList" aria-controls="ItemList" role="tab" class="wf-nav-tabs-switch" data-toggle="tab"><i class="fa fa-tag" aria-hidden="true"></i> <span class="wf-nav-tabs-text">{{int:dokit-item-tabs-title}}</span></span></li>
 +
<li role="presentation"><span data-target="#ExternalAttachmentsLinks" aria-controls="ExternalAttachmentsLinks" role="tab" class="wf-nav-tabs-switch" data-toggle="tab"><i class="fa fa-file" aria-hidden="true"></i> <span class="wf-nav-tabs-text">{{int:wf-formtutorial-file-tabs-title}}</span></span></li>
 +
</ul>
 +
<div class="tab-content">
 +
<h2 class="print-only">{{int:dokit-item-tabs-title}}</h2><div role="tabpanel" class="tab-pane active" id="ItemList">{{{ItemList|}}}</div>
 +
<h2 class="print-only">{{int:wf-prerequisites-tabs-title}}</h2><div role="tabpanel" class="tab-pane noprint" id="ExternalAttachmentsLinks">{{{ExternalAttachmentsLinks|}}} {{{Tuto_Attachments|}}}</div>
 +
</div>
 +
</div>
 +
|
 +
<div class="wf-nav">
 +
<ul class="wf-nav-tabs" role="tablist">
 +
<li role="presentation" class="active"><span data-target="#ItemList" aria-controls="ItemList" role="tab" class="wf-nav-tabs-switch" data-toggle="tab"><i class="fa fa-tag" aria-hidden="true"></i> <span class="wf-nav-tabs-text">{{int:dokit-item-tabs-title}}</span></span></li>
 +
</ul>
 +
<div class="tab-content">
 +
<h2 class="print-only">{{int:dokit-item-tabs-title}}</h2><div role="tabpanel" class="tab-pane active" id="ItemList">{{{ItemList|}}}</div>
 +
</div>
 +
</div>
 +
}}
 +
}}
 +
|
 +
{{#if: {{{Prerequisites|}}}|
 +
{{#if: {{{ExternalAttachmentsLinks|}}} {{{Tuto_Attachments|}}}
 +
|
 +
<div class="wf-nav">
 +
<ul class="wf-nav-tabs" role="tablist">
 +
<li role="presentation" class="active"><span data-target="#Prerequisites" aria-controls="Prerequisites" role="tab" class="wf-nav-tabs-switch" data-toggle="tab"><i class="fa fa-link" aria-hidden="true"></i> <span class="wf-nav-tabs-text">{{int:wf-prerequisites-tabs-title}}</span></span></li>
 +
<li role="presentation"><span data-target="#ExternalAttachmentsLinks" aria-controls="ExternalAttachmentsLinks" role="tab" class="wf-nav-tabs-switch" data-toggle="tab"><i class="fa fa-file" aria-hidden="true"></i> <span class="wf-nav-tabs-text">{{int:wf-formtutorial-file-tabs-title}}</span></span></li>
 +
</ul>
 +
<div class="tab-content">
 +
<h2 class="print-only">{{int:wf-prerequisites-tabs-title}}</h2><div role="tabpanel" class="tab-pane active" id="Prerequisites">{{{Prerequisites|}}}</div>
 +
<div role="tabpanel" class="tab-pane noprint" id="ExternalAttachmentsLinks">{{{ExternalAttachmentsLinks|}}} {{{Tuto_Attachments|}}}</div>
 +
</div>
 +
</div>
 +
|
 +
<div class="wf-nav">
 +
<ul class="wf-nav-tabs" role="tablist">
 +
<li role="presentation" class="active"><span data-target="#Prerequisites" aria-controls="Prerequisites" role="tab" class="wf-nav-tabs-switch" data-toggle="tab"><i class="fa fa-link" aria-hidden="true"></i> <span class="wf-nav-tabs-text">{{int:wf-prerequisites-tabs-title}}</span></span></li>
 +
</ul>
 +
<div class="tab-content">
 +
<h2 class="print-only">{{int:wf-prerequisites-tabs-title}}</h2><div role="tabpanel" class="tab-pane active" id="Prerequisites">{{{Prerequisites|}}}</div>
 +
</div>
 +
</div>
 +
}}
 +
|
 +
{{#if: {{{ExternalAttachmentsLinks|}}} {{{Tuto_Attachments|}}}|
 +
<div class="wf-nav">
 +
<ul class="wf-nav-tabs" role="tablist">
 +
<li role="presentation" class="active"><span data-target="#ExternalAttachmentsLinks" aria-controls="ExternalAttachmentsLinks" role="tab" class="wf-nav-tabs-switch" data-toggle="tab"><i class="fa fa-file" aria-hidden="true"></i> <span class="wf-nav-tabs-text">{{int:wf-formtutorial-file-tabs-title}}</span></span></li>
 +
</ul>
 +
<div class="tab-content">
 +
<div role="tabpanel" class="tab-pane active noprint" id="ExternalAttachmentsLinks">{{{ExternalAttachmentsLinks|}}} {{{Tuto_Attachments|}}}</div>
 +
</div>
 +
</div>
 +
|}}
 +
}}
 +
}}

Latest revision as of 10:28, 20 November 2018