साँचा:S-new/doc

मुक्त ज्ञानकोश विकिपीडिया से
< साँचा:S-new
imported>Shubhamkanodia द्वारा परिवर्तित १५:४३, १ मार्च २०१४ का अवतरण (नया पृष्ठ: {{Documentation subpage}} This template creates a single succession box column to be used with succession boxes. ==Usage== The format is <co...)
(अन्तर) ← पुराना अवतरण | वर्तमान अवतरण (अन्तर) | नया अवतरण → (अन्तर)
नेविगेशन पर जाएँ खोज पर जाएँ

{{

 साँचा:namespace detect

| type = notice | image = | imageright = | class = | style = margin-bottom:1.0em; | textstyle = | text = साँचा:strong for साँचा:terminate sentence
It contains usage information, categories and other content that is not part of the original साँचा page. | small = | smallimage = | smallimageright = | smalltext = | subst = | date = | name = }}

This template creates a single succession box column to be used with succession boxes.

Usage

The format is {{s-new|parameter}}, where parameter is replaced by one of the parameter names shown in the following table. The use of a parameter is optional.

value Replaces "New title" with...
award New award
championship New championship
chart New chart
constituency New constituency
creation New creation
diocese New diocese
district New district
division New division
first First
institution New institution
loss Loss of title
minister New ministerial post
office New office
parliament New parliament
party New political party
regiment New regiment
seat New seat
show New show
sports New sporting event
tv New television show

Note: Only one parameter can be used in a single line of code.

In addition, the parameter, reason, may be used to designate the reason(s) for the title (or loss); enter a short explanation after entering this parameter, if necessary.

This template allows for multiple row-spans using the parameter |rows=| between the template name and the first parameter.

Example 1

From the James Hamilton, 4th Duke of Hamilton article:

{{s-start}}
{{s-reg|gb}}
{{s-new | creation}}
{{s-ttl | title  = [[Duke of Brandon]] | years = 1711–1712}}
{{s-aft | after  = [[James Hamilton, 5th Duke of Hamilton|James Douglas-Hamilton]]}}
{{s-end}}

साँचा:s-start साँचा:s-reg साँचा:s-new साँचा:s-ttl साँचा:s-aft साँचा:s-end

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. click here to see a monthly parameter usage report for this template.

TemplateData for S-new

साँचा:template other

Indicates creation of a new title, show etc. or loss of a title. Takes 1 table column.

साँचा प्राचल

प्राचलवर्णनप्रकारस्थिति
Type1

The type of creation one of: award, championship, chart, constituency, creation, diocese, district, division, first, institution, minister, office, parliament, party (for new political party), regiment, seat, show, sports (for new sporting event), tv (for new television show). Use 'loss' for Loss of title.

स्ट्रिंगवैकल्पिक
reasonreason

Reason for office creation

स्ट्रिंगवैकल्पिक
rowsrows

Number of table rows to span.

स्ट्रिंगवैकल्पिक

See also

Documentation for creating succession boxes can be found at Template:s-start/doc.