Difference between revisions of "Template:Materials"

[unchecked revision][unchecked revision]
(init wikifab pages)
m (A protégé « Modèle:Materials » : Protection of Dokit pages ([Modifier=Autoriser uniquement les administrateurs] (infini) [Renommer=Autoriser uniquement les administrateurs] (infini)))
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{{Tuto_Attachments|}}}{{{ExternalAttachmentsLinks|}}}|
+
{{#if: {{{ItemList|}}}|
{{#if:{{{Prerequisites|}}}|
+
{{#if: {{{Prerequisites|}}}|
<div class="Input-tabs">
+
{{#if: {{{ExternalAttachmentsLinks|}}} {{{Tuto_Attachments|}}}
{{#tag:tabber|
+
|
{{int:wf-formtutorial-tools-materials-tabs-title}} =
+
<div class="wf-nav">
{{#if:{{{Step_Picture_00|}}}|
+
<ul class="wf-nav-tabs" role="tablist">
  {{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}}}]] }} }} |  
+
<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>
{{MaterialsNoImage|[[Material::{{{Material|}}}]]|[[Tools::{{{Tools|}}}]] }}
+
<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>
}}
+
<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>
{{!}}-{{!}}
+
</ul>
{{int:wf-prerequisites-tabs-title}}={{{Prerequisites|}}}
+
<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>
{{int:wf-formtutorial-file-tabs-title}}={{{ExternalAttachmentsLinks|}}}
+
<h2 class="print-only">{{int:wf-prerequisites-tabs-title}}</h2><div role="tabpanel" class="tab-pane" id="Prerequisites">{{{Prerequisites|}}}</div>
{{{Tuto_Attachments|}}}
+
<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>
 +
<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>
 +
</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" 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="#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>
 
|
 
|
<div class="Input-tabs">
+
<div class="wf-nav">
{{#tag:tabber|
+
<ul class="wf-nav-tabs" role="tablist">
{{int:wf-formtutorial-tools-materials-tabs-title}} =
+
<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|}}}|
+
</ul>
  {{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="tab-content">
{{MaterialsNoImage|[[Material::{{{Material|}}}]]|[[Tools::{{{Tools|}}}]] }}
+
<h2 class="print-only">{{int:dokit-item-tabs-title}}</h2><div role="tabpanel" class="tab-pane active" id="ItemList">{{{ItemList|}}}</div>
}}
+
</div>
{{!}}-{{!}}
+
</div>
{{int:wf-formtutorial-file-tabs-title}}={{{ExternalAttachmentsLinks|}}}
 
{{{Tuto_Attachments|}}}
 
 
}}
 
}}
</div>
 
 
}}
 
}}
 
|
 
|
{{#if:{{{Prerequisites|}}}|
+
{{#if: {{{Prerequisites|}}}|
<div class="Input-tabs">
+
{{#if: {{{ExternalAttachmentsLinks|}}} {{{Tuto_Attachments|}}}
{{#tag:tabber|
+
|
{{int:wf-formtutorial-tools-materials-tabs-title}}=
+
<div class="wf-nav">
{{#if:{{{Step_Picture_00|}}}|
+
<ul class="wf-nav-tabs" role="tablist">
  {{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}}}]] }} }} |
+
<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>
{{MaterialsNoImage|[[Material::{{{Material|}}}]]|[[Tools::{{{Tools|}}}]] }}
+
<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">
{{int:wf-prerequisites-tabs-title}}={{{Prerequisites|}}}
+
<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>
 
|
 
|
<div class="Input-tabs">
+
<div class="wf-nav">
{{#tag:tabber|
+
<ul class="wf-nav-tabs" role="tablist">
{{int:wf-formtutorial-tools-materials-tabs-title}}=
+
<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>
{{#if:{{{Step_Picture_00|}}}|
+
</ul>
  {{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="tab-content">
{{MaterialsNoImage|[[Material::{{{Material|}}}]]|[[Tools::{{{Tools|}}}]] }}
+
<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>
 
</div>
 +
|}}
 
}}
 
}}
 
}}
 
}}

Latest revision as of 10:28, 20 November 2018