টেমপ্লেট:Pre/নথি
এটি টেমপ্লেট:Pre-এর জন্য একটি নথির উপপাতা। এখানে ব্যবহার সংক্রান্ত তথ্য, বিষয়শ্রেণী এবং অন্যান্য সামগ্রী রয়েছে যা মূল টেমপ্লেট পাতার অংশ নয়। |
hidden.
Second line, long text wrapping: all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy.
Third line with raw | pipe is handled, but the space before the pipe is lost. Up to raw 19 pipes are handled, else use <nowiki>|</nowiki> and | it's | OK.
Fourth line, multiple spaces collapsed into one as in HTML and wikitext. Fifth line, stuck with the previous one if no blank line between them.
Last line, is actually standalone with or without a blank line. }}
- Result
Second line, long text wrapping: all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy.
Third line with raw| pipe is handled, but the space before the pipe is lost. Up to raw 19 pipes are handled, else use{{!}} and | it's | OK.
Fourth line, multiple spaces collapsed into one as in HTML and wikitext. Fifth line, stuck with the previous one if no blank line between them.
Last line, is actually standalone with or without a blank line.Alternatives
[সম্পাদনা]- The <source> tag extension documented at MediaWiki Extension:ASHighlight.
- The {{#tag:}} functionality documented at MediaWiki Help:Magic words.
See also
[সম্পাদনা]- {{Pre2}}, a template with similar functionality but induces optional line wrap and optional scroll bars.
- <pre>, for information about the HTML <pre> tag.