Templat:SLBY: Perbedaan antara revisi
Tampilan
Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan |
Tidak ada ringkasan suntingan |
||
(2 revisi perantara oleh 2 pengguna tidak ditampilkan) | |||
Baris 1: | Baris 1: | ||
{{SLBY/box |
{{SLBY/box |
||
| year = {{#if:{{{year|}}}|{{#ifexpr:{{{year|{{{1|{{CURRENTYEAR}}}}}}}} < 0 |
| year = {{#if:{{{year|{{{1|}}}}}}|{{#ifexpr:{{{year|{{{1|{{CURRENTYEAR}}}}}}}} < 0 |
||
|{{#expr:{{{year|{{{1|{{CURRENTYEAR}}}}}}}} * -1}} SM |
|{{#expr:{{{year|{{{1|{{CURRENTYEAR}}}}}}}} * -1}} SM |
||
|{{{year|{{{1|}}}}}} |
|{{{year|{{{1|}}}}}} |
||
Baris 25: | Baris 25: | ||
|{{padleft:{{{year|{{{1|{{CURRENTYEAR}}}}}}}}|4}} |
|{{padleft:{{{year|{{{1|{{CURRENTYEAR}}}}}}}}|4}} |
||
}} |
}} |
||
| century |
| century = {{#ifexpr:{{{year|{{{1|{{CURRENTYEAR}}}}}}}} < 1901 | {{Ordinal|{{#ifexpr:{{{year|{{{1|{{CURRENTYEAR}}}}}}}} < 0|{{#expr:ceil (({{{year|{{{1|{{CURRENTYEAR}}}}}}}} * -1) / 100)}}|{{#expr:ceil ({{{year|{{{1|{{CURRENTYEAR}}}}}}}} / 100)}}}}}}-century {{#ifexpr:{{{year|{{{1|{{CURRENTYEAR}}}}}}}} < 0|SM}} }} |
||
| _nocat |
| _nocat = <noinclude>true</noinclude> |
||
}}<noinclude> |
}}<noinclude> |
||
{{documentation|content= |
{{documentation|content= |
||
Baris 52: | Baris 52: | ||
* {{tl|SLBC}} |
* {{tl|SLBC}} |
||
[[ |
[[Kategori:Lists of state leaders by year| ]] |
||
[[de:Vorlage:LSJ]] |
|||
[[mk:Шаблон:ЛПГ]] |
|||
[[en:Template:SLBY]] |
|||
}} |
}} |
||
</noinclude> |
</noinclude> |
Revisi terkini sejak 12 Juli 2016 12.56
Lihat pula |
---|
Berikut ini adalah daftar kepala negara, kepala pemerintahan, dan pemimpin negara lain menurut tahun.
![](http://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Test_Template_Info-Icon_-_Version_%282%29.svg/50px-Test_Template_Info-Icon_-_Version_%282%29.svg.png)
This template is designed to be used with State leaders by year articles between 499 BC and the present.
Usage
for years 1, 2, ..., present{{SLBY|YYYY}}
for years 1 BC, 2 BC, ..., 499 BC{{SLBY|-YYY}}
Example
Use
in List of state leaders in 20 BC.
{{SLBY|-20}}
See what links to this template for live examples.
Categories
This template will automatically add the transcluding page to the following categories
[[Category:YYYY]]
[[Category:Lists of state leaders by year]]
[[Category:YYYY in international relations]]
(only if it exists)[[Category:Xth-century rulers]]
(for years before 1901)
To disable this feature (for demonstration pages) use |_nocat=true
.