This is a documentation subpage for ಟೆಂಪ್ಲೇಟು:Nop. It may contain usage information, categories and other content that is not part of the original ಟೆಂಪ್ಲೇಟು page. |
This forces a standard paragraph space for pages transcluded from the Page: namespace when viewed in the main namespace.
Usage
ಸಂಪಾದಿಸಿUsed at the end of a paragraph in the PAGE: namespace where the paragraph terminates the page.
Note: At the end of the terminating paragraph, add a new line, as the template needs to start a new line to have full functionality (such as use of the "previous page nop" gadget).
... paragraph terminating a page. {{nop}}
There are no optional parameters.
The template can be useful in other situations, for example when a table stretches over multiple pages, it can be used at the top of the table continuations in the body of a page so the table appears correctly on the page and in any transclusion:
{{nop}} |- <!-- start of a table continuation at the top of the body of a page --> ...
Technical
ಸಂಪಾದಿಸಿMediawiki software collapses terminating blank lines, i.e. when they occur at the end of a page. When pages are transcluded from one namespace to another, this can mean the loss of a new paragraph mark rather than its necessary preservation. This template when used appropriately will allow clear designation of the end of a paragraph, and hence the clear start of the next.
The template itself has no effect on the underlying text, however, the strategic placement of this template prevents blank lines from being collapsed, effectively preserving end of paragraph marker
Similar templates
ಸಂಪಾದಿಸಿPreviously the template {{blank line}} had been used at the beginning of page, but the {{nop}} method was determined to be as useful, and less complex. Accordingly that template has been deprecated.
Gadget
ಸಂಪಾದಿಸಿThe NopInserter gadget can be enabled via your preferences. It adds a sidebar link to check for and insert a paragraph-breaking {{nop}} at the end of the previous page.
See also
ಸಂಪಾದಿಸಿ- {{nopt}} for use with tables.
- {{Clear}}
- {{div end}}
- Help:Poetry#Poem_extension for using {{nop}} with <poem></poem> tags.
Further reading
ಸಂಪಾದಿಸಿ"It is a NOP".