Template:ਨੋਟੀਸ
This is the {{notice}} message box.
When used in articles, this message box should only be used for important comments about the article that cannot be shown using a more specific template. Less important comments should as usual be put as text on the article's talk page instead.
This message box can also be used on other pages, such as on the top of talk or project pages. There it can be used in a more relaxed way.
This box automatically changes style depending on what kind of page it is shown on. That is, it uses the standardised message box styles for the different types of pages.
ਲੇਖ
editThis is how this box looks on article (main space) pages. Here is a code example:
{{ਨੋਟੀਸ|Include text here.}}
Which renders like this:
An optional header text can be added. Like this:
{{ਨੋਟੀਸ|header=Header text|Include text here.}}
Which renders like this:
The message box can also take an image parameter, but that is discouraged when the box is used in articles. See example further down for how to use that parameter.
ਗੱਲਬਾਤ ਸਫ਼ੇ
editThis is how this box looks on any talk page. That is, pages that start with "Talk:", "User talk:", "Image talk:" and so on. Here's the basic box again:
{{ਨੋਟੀਸ|Include text here.}}
Which renders like this:
The header parameter works on talk pages too. But there is one parameter that only works on talk pages, the small parameter. Like this:
{{ਨੋਟੀਸ|small=yes|header=Header text|Include text here.}}
As you can see, "small=yes" causes a smaller right floating box with a smaller image and smaller text size.
Let's try the image parameter too. Like this:
{{ਨੋਟੀਸ|small=yes|image=Stop hand nuvola.svg |header=Header text|Include text here.}}
ਫਾਈਲ ਅਤੇ ਸ਼੍ਰੇਣੀ ਸਫ਼ੇ
editThis is how this box looks on image pages:
This is how this box looks on category pages:
ਹੋਰ ਸਫ਼ੇ
editThis is how this box looks on most other pages, such as pages that start with "User:", "Wikipedia:", "Help:" and so on.
{{ਨੋਟੀਸ|Include text here.}}
Which renders like this:
The box can also take an image parameter. Like this:
{{ਨੋਟੀਸ|image=Stop hand nuvola.svg|Include text here.}}
Which renders like this:
The header and image parameters can of course be used at the same time.
ਬਾਹਰੀ ਲਿੰਕ
editIn most cases, external links can be used in the template without any complications. However, links containing an equal sign ( = ) are not read properly, because everything on the left of the equal sign is interpreted as a parameter name. This is the suggested work-around:
{{ਨੋਟੀਸ|1=Following this parameter, an equal sign in an external link will be read properly.}}
ਇਹ ਵੀ ਦੇਖੋ
editThere are other message templates, which serve similar purposes:
- {{warning}} – For important warnings.
- {{ambox}} – Resource message boxes of any type. There is comprehensive information in its documentation about the different options for article message boxes.
The above documentation ਪੰਜਾਬੀ is transcluded from Template:ਨੋਟੀਸ/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |