Template:Start box
维基百科,自由的百科全书
原作者是 KuatofKDY,植移及略加修改的是 Fauzty。可參考英文維基百科原說明文件。
目录 |
系列模板
以下模板共同運作:
-
- Template:start box - 開始新維基表格
- Template:s-before - 列出前任者
- Template:s-after - 列出繼任者
- Template:s-title - 列出頭銜
- Template:end box 或 Template:end - 關閉維基表格
- Template:s-none - 沒有前任者或沒有繼任者
- Template:s-vacant - 頭銜出現空缺期(前任者或繼任者)
使用指南
使用時依照下列指示:
- 輸入開始欄位以使程式認得表格。
- {{start box}}
- {{start box}}
- 輸入前任者姓名。
- {{s-before|[[在此輸入前任者]]|[[附註]]}}
- {{s-before|[[在此輸入前任者]]|[[附註]]}}
- 輸入你正在工作的這個人的頭銜,
- {{s-title|[[在此輸入頭銜]]
- 並且,輸入此人在何年期間持有此頭銜。
- |[[在此輸入開始日期]]—[[在此輸入結束日期]]}}
- |[[在此輸入開始日期]]—[[在此輸入結束日期]]}}
- 輸入繼任者姓名。
- {{s-after|[[在此輸入繼任者]]|[[附註]]}}
- {{s-after|[[在此輸入繼任者]]|[[附註]]}}
- 如果此人還有其他頭銜,放置下列分隔符並在需要處重複。
- |-
- |-
- 都完成之後,輸入:
- {{end box}}
- {{end box}}
入門
要製做最簡單、陽春的表格,可複製以下語法:
{{start box}} {{s-before|[[前任者]]|附註}} {{s-title|[[頭銜]]|[[開始日期]]—[[結束日期]]}} {{s-after|[[繼任者]]|附註}} {{end box}}
看起來會像這樣:
前任: Martin the kitty heart |
King of Europe 1492-1528 |
繼任: Robert "nerdy" |
列間分隔符
記得在每列之間放上:
|-
此文字已被包括在{{s-after}}當中,但如果你使用{{s-vacant}}或{{s-none}},記得在前面或後面手動加入列分隔符。
跨越多列
幾乎所有系列模板都可以使用列(rows)參數,接在"s-"開頭的欄位後即可。如果有人在任內得到新職位,或有兩個職位以上,任內失去其中一個職位,或是其他更複雜的情形,就可以使用列標誌來幫助編輯者設計出適當的表格。
在大部分模板,只要輸入:
-
- {{s-...|rows=在此插入列數|...}}
名字或頭銜重疊的現象跨越了幾列,數字就填入多少。頭銜持有者的列表通常以獲得頭銜的順序排列,以最早獲得的最先。所有繼承的頭銜都應被列出,雖然綁在一起的頭銜可以被列在同一欄位。
系列部件
S-none
頭銜首次出現、新創或著頭銜失效了、廢止了、無人繼續使用等,要為這些無前任者或無繼任者的情形創建表格,或是想描述某個頭銜卻不想出現「前任:」「繼任:」字樣,可使用下列格式(在複雜的表格當中需要使用 |- 分隔符):
要創造以無此頭銜結束的表格:
{{start box}} {{s-before|前任者}} {{s-title|此人頭銜|年代}} {{s-none|頭銜的狀態(如:已廢止)|簡述不再有此頭銜的理由(如:商朝結束)}} {{end box}}
看起來會像這樣:
前任: 帝乙 |
商朝國君 前1075年—前1046年 |
滅亡 原因:被周征服 |
要創造以無此頭銜開始的表格:
{{start box}} {{s-none|頭銜的狀態(如:開國)|簡述此頭銜出現的理由(如:周朝成立)}} {{s-title|此人頭銜|年代}} {{s-after|繼任者}} {{end box}}
看起來會像這樣:
開國 原因:伐紂成功 |
周天子 前1046年—前1043年 |
繼任: 周成王 |
現任者也可以用此欄位,如:
前任: 連戰 |
中國國民黨主席 2005年— |
現任 |
S-vacant
頭銜空缺是指沒有人持有該頭銜,比如說王位出現空窗期。這個表格欄位可以用來表現此頭銜不是新創的或已廢止,但是沒有連續的前任者或後任者。如果前一個或後一個擁有此頭銜的人已知,可把此資訊加入格式中。
要創造以空缺頭銜開始的表格:
{{start box}} {{s-vacant|簡述中斷的原因|last=前一個擁有此頭銜的人}} {{s-title|此人頭銜|年代}} {{s-after|繼任者}} {{end box}}
看起來會像這樣:
空缺期 原因:abandonment 前一位相同頭銜:Alois |
King of Madagascar 1620-1641 |
繼任: Windig |
要創造以空缺頭銜結束的表格:
{{start box}} {{s-before|前任者}} {{s-title|此人頭銜|年代}} {{s-vacant|簡述中斷的原因|next=下一個擁有此頭銜的人}} {{end box}}
看起來會像這樣:
前任: Naga |
Dictator of Japan 1912-1934 |
空缺期 原因:died 下一位相同頭銜:Kyo |
未引進中文維基的系列部件
英文維基還有許多種部件,但此系列模板的引進者認為有些功能重複,可以用上述部件取代(例如,用 s-none 取代 s-new);或著認為太少用到而沒有引進。
前任
S-new
To create a table that begins with a newly created title, use this (entering the reason behind the title's creation is optional):
Template:s-new (with others)
-
- {{s-start}}
- {{s-new|reason=ENTER REASON FOR TITLE}}
- {{s-ttl|title=TITLE OF PERSON|years=INSERT YEARS HERE}}
- {{s-aft|after=INSERT PREDECESSOR HERE}}
- {{end}}
Which looks like:
Template:S-newKing of Africa 1820-1830 |
繼任 Amal |
S-inc
To create a table for someone who is the incumbant (current title holder), use the following:
Template:s-inc (with others)
-
- {{s-start}}
- {{s-bef|before=INSERT PREDECESSOR HERE}}
- {{s-ttl|title=TITLE OF PERSON|years=INSERT START YEAR–present}}
- {{s-inc}}
- {{end}}
Which looks like:
前任 George |
King of North America 2001-present |
现任 |
Titles and Offices
S-ttl
To create a table for someone ruled with the aide of another (regent, coruler, &c.), it is integrated into the standard s-ttl template. Entering a regent is always optional as is entering the title-holder's dates or when the regent(s) ruled. Currently this template supports up to three regents. Instructions:
Template:s-reg (with others)
-
- {{s-start}}
- {{s-bef|before=INSERT PREDECESSOR HERE}}
- {{s-ttl|title=TITLE OF PERSON|years=INSERT YEARS HERE
- |regent1=TITLE OF REGENT|years1=INSERT YEARS HERE}}
- |regent2=TITLE OF REGENT|years2=INSERT YEARS HERE}}
- |regent3=TITLE OF REGENT|years3=INSERT YEARS HERE}}
- {{s-aft|after=INSERT SUCCESSOR HERE)}}
- {{end}}
Which looks like:
前任 Philip |
Queen of Antarctica 1889-1914 和Philip (1889-1893) Anthony (1893-1895) Elizabeth (1895-1897) |
繼任 Margaret |
S-tul
Titular rulers are people who legitimately deserve a title yet are somehow incapable of securing it, as in the case of Louis XVII of France, heir to the throne during the early years of the French Revolution. Titular rulers generally mean that their title will again be inherited by someone with power and remains only temporarily suspended. There is generally only one titular claimant to a title.
To use this code, do the following:
-
- {{s-start}}
- {{s-bef|before=PREDECESSOR}}
- {{s-tul|title=TITLE|years=YEARS CLAIMED|reason=REASON WHY TITULAR}}
- {{s-aft|after=SUCCESSOR}}
- {{end}}
- {{s-start}}
When complete, this form appears as thus:
前任 Andrew Template:S-tul |
繼任 Christian |
S-ptd
Pretenders are people who may or may not have a rightful claim to a title, but regardless do not possess any legitimate authority. Bonnie Prince Charles, or Charles III to the Jacobites, is probably the most famous case of a pretender. While he was the legitimate heir to his father, the Glorious Revolution overruled that power in favour of his half-sister. Therefore, he lost his legitimacy to govern but still claimed his hereditary titles. Pretenders are not always successive, as titular leaders generally are, and there can be multiple pretenders at the same time (as in France's Legitimists and Orleanists).
To use this code, do the following:
-
- {{s-start}}
- {{s-bef|before=PREDECESSOR}}
- {{s-ptd|title=TITLE|years=YEARS CLAIMED|reason=REASON WHY PRETENDER}}
- {{s-aft|after=SUCCESSOR}}
- {{end}}
- {{s-start}}
When complete, this form appears as thus:
前任 Marlin Template:S-ptd |
繼任 Yasu |
Optional s- related templates
S-hou
This template is for the top of a succession list, directly beneath the s-start, and establishes which royal house a person is in, and gives their birth and death dates. If you do not know the day and month, leave a | and fill out the rest. For unknown birth or death dates, type Unknown; for living people, type Living'. To use, do the following:
-
- {{s-start}}
- {{s-hou|ENTER NAME OF HOUSE HERE|DAY AND MONTH OF BIRTH|YEAR OF BIRTH|DAY AND MONTH OF DEATH|YEAR OF DEATH}}
- {{s-bef|before=[[INSERT PREDECESSOR HERE]]}}
- {{s-ttl|title=[[ENTER TITLE HERE]]
- |years=[[ENTER START DATE HERE]]-[[ENTER END DATE HERE]]}}
- {{s-aft|after=[[INSERT SUCCESSOR HERE]]}}
- {{end}}
- {{s-start}}
Which will look something like this:
House of Lucanzzo Cadet Branch of the House of Petre Born: 18 March 1920; Died: 31 December 1987 |
||
前任 Albert |
King of Greenland 1972-1987 |
繼任 Francois |
Complete example
Using the rows feature of the templates, very advanced tables can be created to help in situations with people who hold many posts, especially British Prime Ministers. The following is a hypothetical chart with at least one use of all the forms above:
Template:S-vac Template:S-newHouse of San Miguel Cadet Branch of the House of López Born: 19 January 1958; Died: Living Template:S-new |
Queen of India 1972–1983 和Michael (1972–1975) |
繼任 Arnold |
||
前任 Elizabeth |
Lady Supreme of Oceana 1975–1983 Template:S-vac |
|||
Empress of Arabia 1975–1993 Template:S-non |
||||
Grand Duchess of Europa 1975–1999 |
繼任 Felicia |
|||
Chief Sultana of Africa 1993–1999 |
||||
Great Khanna of Asia 1993–present |
现任 | |||
前任 Diane Template:S-ptd |