Difference between revisions of "MediaWiki:CreateTutorialBtn"

(init wikifab pages)
 
(init wikifab pages)
 
(One intermediate revision by one other 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]] [[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>|}}
<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"></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>|}}{{#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 class="NewPageField">{{#forminput:form=DokitPage|placeholder={{int:dokit-newpage-dokitpage-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><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>|}}{{#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 class="NewPageField">{{#forminput:form=Group|namespace=Manual|placeholder={{int:dokit-manual-create-placeholder}}|button text={{int:wf-formtutorial-main-btn}}|language selector}}</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 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 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><div class="NewPageField">{{#forminput:form=SummaryPage|placeholder={{int:dokit-summarypage-create-placeholder}}|button text={{int:wf-formtutorial-main-btn}}|language selector}}</div></div>|}}
<div role="tabpanel" class="tab-pane" id="guide">
 
<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}}}}</div>
 
</div>
 
<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 class="NewPageField">{{#forminput:form=DokitPage|placeholder={{int:dokit-newpage-dokitpage-placeholder}}|button text={{int:wf-formtutorial-main-btn}}}}</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>
 
<div class="NewPageField">{{#forminput:form=Item|namespace=Item|placeholder={{int:dokit-newpage-item-placeholder}}|button text={{int:wf-formtutorial-main-btn}}}}</div>
 
</div>|}}
 
<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 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>

Latest revision as of 12:39, 13 January 2020

Create a page