টেমপ্লেট:সম্পাদনা-বিজ্ঞপ্তি

উইকিসংকলন থেকে
টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

Usage[সম্পাদনা]

This template is a wrapper template for editnotices, notices that appear above the text area on edit pages. Editnotices can be per-namespace, per-book, or per-page.

To create a new editnotice, please follow the instructions at Wikisource:Editnotice. See also standard editnotice templates at Category:Editnotice templates or for a user page insert {{Editnotice userpage}}.

{{editnotice
| expiry =
| id =
| header =
| headerstyle =
| text =
| textstyle =
| image =
}}

Note: All parameters are optional except text.

Parameters[সম্পাদনা]

  • |expiry=expiry date
  • |id=optional HTML id
  • |header=header text
  • |headerstyle=CSS for header style
  • |text=body text
  • |textstyle=CSS for text style
  • |image=image
  • |imageright=image on righthand side

Examples[সম্পাদনা]

{{editnotice
| id = loremipsumedn
| header = Attention editors
| headerstyle = font-size: 150%;
| text = Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
| textstyle = font-size: 120%;
| image =
}}
{{editnotice
| id = faqedn
| header = Frequently asked questions
| headerstyle = font-size: 120%;
| text = Before editing, please consult the list of Frequently Asked Questions specific to this book. The FAQ includes questions on many issues that have been discussed.
| textstyle = background-color: #fee;
| image =
}}
{{editnotice
| id = engvaredn
| header =
| headerstyle =
| text = This book is written in '''British English''', which differs from American English in some ways. See [[w:American and British English differences|]]. According to the local manual of style, this should not be changed without broad consensus.
| textstyle =
| image = [[File:Flag of the United Kingdom.svg|50px|link=|alt=]]
}}

Expiry date[সম্পাদনা]

The expiry parameter can be used to specify when an editnotice will cease to be visible on a page. This can be useful when an editnotice is created for reasons of a temporal nature. Any valid time format may be used, for example:

  • January 2012
  • 4 April 2009
  • 11:09 April 5 2013

To specify that an editnotice never expire, |expiry=indefinite may be used.

Editnotices created so far[সম্পাদনা]

Special:PrefixIndex/টেমপ্লেট:সম্পাদনা বিজ্ঞপ্তি/-এ তালিকা দেখুন।

See also[সম্পাদনা]