Difference between revisions of "MediaWiki:CreateTutorialBtn"

m (A protégé « MediaWiki:CreateTutorialBtn » : Protection of Dokit pages ([Modifier=Autoriser uniquement les administrateurs] (infini) [Renommer=Autoriser uniquement les administrateurs] (infini)))
(init wikifab pages)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
<div>
 
<div>
 
<ul class="nav nav-tabs" role="tablist">
 
<ul class="nav nav-tabs" role="tablist">
<li role="presentation"><span data-target="#guide" aria-controls="messages" role="tab" data-toggle="tab"><i class="fa fa-list-ol" aria-hidden="true"></i> {{int:dokit-newpage-tutorial}}</span></li>
+
{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitTutoEnable::yes]] }}|<li role="presentation"><span data-target="#guide" aria-controls="messages" role="tab" data-toggle="tab"><i class="fa fa-list-ol" aria-hidden="true"></i> {{int:dokit-newpage-tutorial}}</span></li>|}}{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitPageEnable::yes]] }}|<li role="presentation"><span data-target="#dokitpage" aria-controls="settings" role="tab" data-toggle="tab"><i class="fa fa-file-text-o" aria-hidden="true"></i> {{int:dokit-newpage-dokitpage}}</span></li>|}}{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitItemEnable::yes]] }}|<li role="presentation"><span data-target="#item" aria-controls="settings" role="tab" data-toggle="tab"><i class="fa fa-tag" aria-hidden="true"></i> {{int:dokit-newpage-item}}</span></li>|}}{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitManualEnable::yes]] }}|<li role="presentation"><span data-target="#manual" aria-controls="settings" role="tab" data-toggle="tab"><i class="fa fa-book" aria-hidden="true"></i> {{int:dokit-newpage-manual}}</span></li>|}}{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitPathsEnable::yes]] }}|<li role="presentation"><span data-target="#paths" aria-controls="settings" role="tab" data-toggle="tab"><i class="fa fa-graduation-cap" aria-hidden="true"></i> {{int:dokit-newpage-paths}}</span></li>|}}{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitSummaryEnable::yes]] }}|<li role="presentation"><span data-target="#summarybook" aria-controls="settings" role="tab" data-toggle="tab"><i class="fa fa-book" aria-hidden="true"></i> {{int:dokit-newpage-summarybook}}</span></li><li role="presentation"><span data-target="#summarysection" aria-controls="settings" role="tab" data-toggle="tab"><i class="fa fa-book" aria-hidden="true"></i> {{int:dokit-newpage-summarysection}}</span></li><li role="presentation"><span data-target="#summarypage" aria-controls="settings" role="tab" data-toggle="tab"><i class="fa fa-book" aria-hidden="true"></i> {{int:dokit-newpage-summarypage}}</span></li>|}}{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitReusableStepEnable::yes]] }}|<li role="presentation"><span data-target="#reusablestep" aria-controls="settings" role="tab" data-toggle="tab"><i class="fa fa-thumb-tack" aria-hidden="true"></i> {{int:dokit-newpage-reusablestep}}</span></li>|}}
<li role="presentation"><span data-target="#dokitpage" aria-controls="settings" role="tab" data-toggle="tab"><i class="fa fa-file-text-o" aria-hidden="true"></i> {{int:dokit-newpage-dokitpage}}</span></li>
 
{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitItemEnable::yes]] }}|<li role="presentation"><span data-target="#item" aria-controls="settings" role="tab" data-toggle="tab"><i class="fa fa-tag" aria-hidden="true"></i> {{int:dokit-newpage-item}}</span></li>|}}
 
<li role="presentation"><span data-target="#manual" aria-controls="settings" role="tab" data-toggle="tab"><i class="fa fa-book" aria-hidden="true"></i> {{int:dokit-newpage-manual}}</span></li>
 
 
</ul>
 
</ul>
<div class="tab-content">
+
<div class="tab-content">{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitTutoEnable::yes]] }}|<div role="tabpanel" class="tab-pane" id="guide"><p class="NewPageTabsLabel"><span class="glyphicon glyphicon-info-sign">
<div role="tabpanel" class="tab-pane" id="guide">
+
</span> {{int:dokit-newpage-tutorial-description}}</p>
<p class="NewPageTabsLabel"><span class="glyphicon glyphicon-info-sign"></span> {{int:dokit-newpage-tutorial-description}}</p>
+
<div class="NewPageField">{{#forminput:form=Tutorial|placeholder={{int:dokit-newpage-tutorial-placeholder}}|button text={{int:wf-formtutorial-main-btn}}|language selector}}</div>
<div class="NewPageField">{{#forminput:form=Tutorial|placeholder={{int:dokit-newpage-tutorial-placeholder}}|button text={{int:wf-formtutorial-main-btn}}}}</div>
+
</div>|}}{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitPageEnable::yes]] }}|<div role="tabpanel" class="tab-pane" id="dokitpage"><p class="NewPageTabsLabel"><span class="glyphicon glyphicon-info-sign"></span> {{int:dokit-newpage-dokitpage-description}}</p>
</div>
+
<div class="NewPageField">{{#forminput:form=DokitPage|placeholder={{int:dokit-newpage-dokitpage-placeholder}}|button text={{int:wf-formtutorial-main-btn}}|language selector}}</div>
<div role="tabpanel" class="tab-pane" id="dokitpage">
+
</div>|}}{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitReusableStepEnable::yes]] }}|<div role="tabpanel" class="tab-pane" id="reusablestep"><p class="NewPageTabsLabel"><span class="glyphicon glyphicon-info-sign"></span> {{int:dokit-newpage-reusablestep-description}}</p><div class="NewPageField">{{#forminput:form=Step|namespace=Step|placeholder={{int:dokit-newpage-reusablestep-placeholder}}|button text={{int:wf-formtutorial-main-btn}}|language selector}}</div></div>|}}{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitItemEnable::yes]] }}|<div role="tabpanel" class="tab-pane" id="item"><p class="NewPageTabsLabel"><span class="glyphicon glyphicon-info-sign"></span> {{int:dokit-newpage-item-description}}</p>
<p class="NewPageTabsLabel"><span class="glyphicon glyphicon-info-sign"></span> {{int:dokit-newpage-dokitpage-description}}</p>
+
<div class="NewPageField">{{#forminput:form=Item|namespace=Item|placeholder={{int:dokit-newpage-item-placeholder}}|button text={{int:wf-formtutorial-main-btn}}|language selector}}</div>
<div class="NewPageField">{{#forminput:form=DokitPage|placeholder={{int:dokit-newpage-dokitpage-placeholder}}|button text={{int:wf-formtutorial-main-btn}}}}</div>
+
</div>|}}{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitManualEnable::yes]] }}|<div role="tabpanel" class="tab-pane" id="manual"><p class="NewPageTabsLabel"><span class="glyphicon glyphicon-info-sign"></span> {{int:dokit-newpage-manual-description}}</p>
</div>
+
<div class="NewPageField">{{#forminput:form=Group|namespace=Manual|placeholder={{int:dokit-manual-create-placeholder}}|button text={{int:wf-formtutorial-main-btn}}|language selector}}</div>
{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitItemEnable::yes]] }}|<div role="tabpanel" class="tab-pane" id="item">
+
</div>|}}{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitPathsEnable::yes]] }}|<div role="tabpanel" class="tab-pane" id="paths"><p class="NewPageTabsLabel"><span class="glyphicon glyphicon-info-sign"></span> {{int:dokit-newpage-paths-description}}</p>
<p class="NewPageTabsLabel"><span class="glyphicon glyphicon-info-sign"></span> {{int:dokit-newpage-item-description}}</p>
+
<div class="NewPageField">{{#forminput:form=Group|namespace=Manual|placeholder={{int:dokit-paths-create-placeholder}}|button text={{int:wf-formtutorial-main-btn}}|language selector|EnablePath[EnablePath]=yes}}</div>
<div class="NewPageField">{{#forminput:form=Item|namespace=Item|placeholder={{int:dokit-newpage-item-placeholder}}|button text={{int:wf-formtutorial-main-btn}}}}</div>
+
</div>|}}{{#if: {{#ask: [[Dokit:DocOptions]] [[DokitSummaryEnable::yes]] }}|<div role="tabpanel" class="tab-pane" id="summarybook"><p class="NewPageTabsLabel"><span class="glyphicon glyphicon-info-sign"></span> {{int:dokit-newpage-summarybook-description}}</p>
</div>|}}
+
<div class="NewPageField">{{#forminput:form=SummaryBook|placeholder={{int:dokit-summarybook-create-placeholder}}|button text={{int:wf-formtutorial-main-btn}}|language selector}}</div></div><div role="tabpanel" class="tab-pane" id="summarysection"><p class="NewPageTabsLabel"><span class="glyphicon glyphicon-info-sign"></span> {{int:dokit-newpage-summarysection-description}}</p>
<div role="tabpanel" class="tab-pane" id="manual">
+
<div class="NewPageField">{{#forminput:form=SummarySection|placeholder={{int:dokit-summarysection-create-placeholder}}|button text={{int:wf-formtutorial-main-btn}}|language selector}}</div></div><div role="tabpanel" class="tab-pane" id="summarypage"><p class="NewPageTabsLabel"><span class="glyphicon glyphicon-info-sign"></span> {{int:dokit-newpage-summarypage-description}}</p>
<p class="NewPageTabsLabel"><span class="glyphicon glyphicon-info-sign"></span> {{int:dokit-newpage-manual-description}}</p>
+
<div class="NewPageField">{{#forminput:form=SummaryPage|placeholder={{int:dokit-summarypage-create-placeholder}}|button text={{int:wf-formtutorial-main-btn}}|language selector}}</div></div>|}}</div>
<div class="NewPageField">{{#forminput:form=Group|namespace=Manual|placeholder={{int:dokit-manual-create-placeholder}}|button text={{int:wf-formtutorial-main-btn}}}}</div>
 
</div>
 
</div>
 
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
</div>

Latest revision as of 16:09, 4 March 2022

Create a page