Difference between revisions of "Template:Custom TabMenu"
From The Embassy of Good Science
(MWBot) |
(MWBot) |
||
Line 1: | Line 1: | ||
− | {{#ifeq:{{{1|}}}|Instruction|{{#ifexpr:{{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Category:Instruction Step Trainee]]|?Instruction Step Title=|mainlabel=-|limit=100|format=count}} >= 1| | {{#vardefine:showTabTrainee| | + | {{#ifeq:{{{1|}}}|Instruction|{{#ifexpr:{{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Category:Instruction Step Trainee]]|?Instruction Step Title=|mainlabel=-|limit=100|format=count}} >= 1| | {{#vardefine:showTabTrainee|disabled}} }} }}<!-- |
− | -->{{#ifeq:{{{1|}}}|Instruction|{{#ifexpr:{{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Category:Instruction Step Trainer]]|?Instruction Step Title=|mainlabel=-|limit=100|format=count}} >= 1| | {{#vardefine:showTabTrainer| | + | -->{{#ifeq:{{{1|}}}|Instruction|{{#ifexpr:{{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Category:Instruction Step Trainer]]|?Instruction Step Title=|mainlabel=-|limit=100|format=count}} >= 1| | {{#vardefine:showTabTrainer|disabled}} }} }}<!-- |
− | -->{{#ifeq:{{{1|}}}|Guide|{{#ifexpr:{{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Category:Guide Step Trainee]]|?Guide Step Type Trainee=|mainlabel=-|limit=100|format=count}} >= 1| | {{#vardefine:showTabTrainee| | + | -->{{#ifeq:{{{1|}}}|Guide|{{#ifexpr:{{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Category:Guide Step Trainee]]|?Guide Step Type Trainee=|mainlabel=-|limit=100|format=count}} >= 1| | {{#vardefine:showTabTrainee|disabled}} }} }}<!-- |
− | -->{{#ifeq:{{{1|}}}|Guide|{{#ifexpr:{{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Category:Guide Step Trainer]]|?Guide Step Type Trainer=|mainlabel=-|limit=100|format=count}} >= 1| | {{#vardefine:showTabTrainer| | + | -->{{#ifeq:{{{1|}}}|Guide|{{#ifexpr:{{#ask: [[-Has subobject::{{FULLPAGENAME}}]] [[Category:Guide Step Trainer]]|?Guide Step Type Trainer=|mainlabel=-|limit=100|format=count}} >= 1| | {{#vardefine:showTabTrainer|disabled}} }} }}<!-- |
--><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 17:34, 28 October 2020
:TraineeTrainer