문서 편집 권한이 없습니다. 다음 이유를 확인해주세요:
요청한 명령은 다음 권한을 가진 사용자에게 제한됩니다: 사용자.
== 외부 이미지 사용 설정 == # LocalSettings.php 하단에 외부이미지 사용 허용 설정 추가 $wgAllowExternalimages = true; # MediaWiki:Common.css에 아래 값 추가하기 <source lang=css> .externalimage-holder { position: relative; } .externalimage-holder img { width: 100%; height: auto; } </source> == 외부 이미지 사이즈 가능한 틀 만들기 == Template:외부이미지 로 틀을 생성(틀:외부이미지 로 생성해도 됨.) 하여 아래 값 추가하기 <source lang=css> <div class="externalimage-holder" style="width:{{{1}}}">{{{2}}}</div> </source> == 사용법 == <source lang=css> {{외부이미지|250px|https://이미지주소}} {{외부이미지|80%|https://이미지주소}} </source> 3. MediaWiki:Mobile.css에도 == 모바일에서 사이즈 가능하게 보이도록 설정 == # MediaWiki:Mobile.css 에 추가 <source lang=css> .externalimage-holder { position: relative; } .externalimage-holder img { width: 100%; height: auto; } </source> [[category:미디어위키]]
문서 저장 미리 보기 차이 보기 취소