:Pre2/설명문서

이삭위키
< 틀:Pre2
Wikipedia>메이님의 2018년 2월 18일 (일) 11:07 판 (여러 줄에 걸쳐 사용된 code 태그를 각 줄에 추가. =린트 오류 고침.)
둘러보기로 이동 검색으로 이동

<pre>을 사용하는 틀로, 자동 줄 바꿈을 지원하여 텍스트가 상자 밖으로 나오지 않습니다.

위키 문법을 쓰지 않으려면 <nowiki>...</nowiki>를 이용해야 합니다.

사용법

텍스트 줄 바꿈

{{Pre2|Text to be displayed. And more and more and more... and a paragraph break.

And then more and more...}}

결과:
Text to be displayed. And more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and a paragraph break.

And then more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more.

스크롤 상자

{{Pre2|scroll|Text to be displayed. And more and more and more... and a paragraph break.

And then more and more...}}

결과:
Text to be displayed. And more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and a paragraph break.

And then more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more.

같이 보기