틀:Pre
조무위키
{{{1}}}
출처: 영문판 위키피디아(CC BY-SA 3.0) 및 한국어 위키백과(CC BY-SA 3.0)
이 글상자 틀만 있으면 더 이상 복잡하게
- redirect 틀:Tag 문법을 쓸 필요가 없다. 그리고 이 글 상자는 자동 줄 바꿈을 지원하여 텍스트가 상자 밖으로 나오지 않는다. 위키 문법도 정상적으로 적용된다. 단, 위키 문법을 쓰지 않으려면
- redirect 틀:Tag를 이용해야 한다.
사용법[편집]
텍스트 줄 바꿈[편집]
{{Pre|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.
스크롤 상자[편집]
{{Pre|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.
스타일[편집]
만약 문장의 색을 바꾸고 싶다면 이렇게 하면 된다.
{{Pre|style=color:green|Text to be a [[하이퍼링크|link]]. WARNING! To include A{{=}}B inside pf text, you must use Template:{{=}}. Like this: A{{((}}{{=}}{{)}}B.}}
- 결과:
Text to be a link. WARNING! To include A=B inside of text, you must use Template:=. Like this: A{{=}}B.
style 자리에 글씨 크기나 글꼴 등을 바꾸는 요소를 넣을 수도 있다. 또한 글 상자 스타일을 바꾸는 다양한 요소도 넣을 수 있고 넓이도 조정 가능하다. 적절히 응용해라.
{{Pre|style= color: blue; font-family: 'MS PGothic', '굴림체', 'Noto Sans CJK JP', 'Source Han Sans'; font-size: 20px; max-width: 950px; border-style: dotted; border-width: thick; background-color: #F0FFFF|送信 あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん}}
- 결과:
送信 あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん