Difference between revisions of "Template:Custom TabMenu"
From The Embassy of Good Science
(MWBot) |
(MWBot) |
||
Line 3: | Line 3: | ||
-->{{#ifeq:{{{1|}}}|Guide|{{#ifexpr:{{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Category:Guide Step Trainee]]|?Guide Step Type Trainee=|mainlabel=-|limit=100|format=count}} >= 1| | {{#vardefine:showTabTrainee|disbale-tab}} }} }}<!-- | -->{{#ifeq:{{{1|}}}|Guide|{{#ifexpr:{{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Category:Guide Step Trainee]]|?Guide Step Type Trainee=|mainlabel=-|limit=100|format=count}} >= 1| | {{#vardefine:showTabTrainee|disbale-tab}} }} }}<!-- | ||
-->{{#ifeq:{{{1|}}}|Guide|{{#ifexpr:{{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Category:Guide Step Trainer]]|?Guide Step Type Trainer=|mainlabel=-|limit=100|format=count}} >= 1| | {{#vardefine:showTabTrainer|disbale-tab}} }} }}<!-- | -->{{#ifeq:{{{1|}}}|Guide|{{#ifexpr:{{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Category:Guide Step Trainer]]|?Guide Step Type Trainer=|mainlabel=-|limit=100|format=count}} >= 1| | {{#vardefine:showTabTrainer|disbale-tab}} }} }}<!-- | ||
− | <div id="gesinn-custom-tabs" class="g-tab"><div class="gesinn-custom-tabs-container"><span class="g-tab-info">{{{2|}}}:</span><span class="g-tablinks {{#varexists:showTabTrainee | {{#var:showTabTrainee}} |}}" data-tab="trainee">Trainee</span><span class="g-tablinks {{#varexists:showTabTrainer | {{#var:showTabTrainer}} |}}" data-tab="trainer">Trainer</span></div></div> | + | --><div id="gesinn-custom-tabs" class="g-tab"><div class="gesinn-custom-tabs-container"><span class="g-tab-info">{{{2|}}}:</span><span class="g-tablinks {{#varexists:showTabTrainee | {{#var:showTabTrainee}} |}}" data-tab="trainee">Trainee</span><span class="g-tablinks {{#varexists:showTabTrainer | {{#var:showTabTrainer}} |}}" data-tab="trainer">Trainer</span></div></div> |
Revision as of 16:09, 26 October 2020
:TraineeTrainer