1번째 줄: |
1번째 줄: |
− | | + | // 전체학생대표자회의와 중앙운영위원회의 회의 공고 문서를 작성하기 위한 Guided Tour입니다. |
| + | // Ref: https://www.mediawiki.org/wiki/Extension:GuidedTour/Write_an_on-wiki_tour |
| + | ( function ( window, document, $, mw, gt ) { |
| + | var pageName = 'User:디아블로/연습장', tour; |
| + | |
| + | tour = new gt.TourBuilder({ |
| + | // Name of this tour |
| + | name: 'uacouncilnotice' |
| + | }); |
| + | |
| + | tour.firstStep({ |
| + | name: 'intro', |
| + | title: 'Step 1', |
| + | description: 'Description of uacouncilnotice Guided Gour', |
| + | overlay : true |
| + | }) |
| + | .next('secondstep'); |
| + | |
| + | tour.step({ |
| + | name: 'secondstep', |
| + | title: 'Step 2', |
| + | description: 'Description of step 2', |
| + | attachTo: '#n-portal a', |
| + | position: 'right', |
| + | }) |
| + | .next('thirdstep') |
| + | .back('intro'); |
| + | |
| + | tour.step({ |
| + | name: 'thirdstep', |
| + | title: 'Step 3', |
| + | description: pageName, |
| + | overlay: true, |
| + | onShow: gt.getPageAsDescription, |
| + | buttons: [{ |
| + | action: 'wikiLink', |
| + | page: pageName, |
| + | name: 'Go to description page', |
| + | type: 'progressive' |
| + | }, { |
| + | action: 'end' |
| + | }] |
| + | }) |
| + | .back('intro'); |
| + | } ( window, document, jQuery, mediaWiki, mediaWiki.guidedTour ) ); |