Templat:Section title/doc: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Hidayatsrf (bicara | kontrib) Tidak ada ringkasan suntingan |
Hidayatsrf (bicara | kontrib) Tidak ada ringkasan suntingan |
||
(8 revisi perantara oleh pengguna yang sama tidak ditampilkan) | |||
Baris 1:
{{Documentation subpage}}
<!-- Masukan kategori pada bagian bawah yang sudah ditandai di halaman ini. Untuk interwiki gunakan Wikidata (lihat [[Wikipedia:Wikidata]]) -->
Templat ini menghasilkan judul bagian yang mirip dengan halaman utama. Biasanya judul bagian ini diperhitungkan dalam daftar isi dan
== Sintaks ==
* <code><nowiki>{{</nowiki>Section title<nowiki>|title=|length=long/court|color=|image=|off table=|id=}}</nowiki></code>
== Warna ==
{| class="wikitable" style="margin:auto"
|+ Warna baku yang disediakan
! scope=col | Nama
! scope=col | Hasil
! scope=col | Nama
! scope=col | Hasil
|-
| [[:Commons:Category:Black web graphic elements|Black]]
| [[Image:Black-bg.svg]]
| [[:Commons:Category:Blue web graphic elements|Blue]]
| [[Image:Blue-bg.svg]]
|-
| [[:Commons:Category:Bright red web graphic elements|Bright_Red]]
| [[Image:Bright_Red-bg.svg]]
| [[:Commons:Category:Dark blue web graphic elements|Dark_Blue]]
| [[Image:Dark_Blue-bg.svg]]
|-
| [[:Commons:Category:Dark green web graphic elements|Dark_Green]]
| [[Image:Dark_Green-bg.svg]]
| [[:Commons:Category:French beige web graphic elements|French_Beige]]
| [[Image:French_Beige-bg.svg]]
|-
| [[:Commons:Category:Green web graphic elements|Green]]
| [[Image:Green-bg.svg]]
| [[:Commons:Category:Grey web graphic elements|Grey]]
| [[Image:Grey-bg.svg]]
|-
| [[:Commons:Category:Orange web graphic elements|Orange]]
| [[Image:Orange-bg.svg]]
| [[:Commons:Category:Pink web graphic elements|Pink]]
| [[Image:Pink-bg.svg]]
|-
| [[:Commons:Category:Purple web graphic elements|Purple]]
| [[Image:Purple-bg.svg]]
| [[:Commons:Category:Red web graphic elements|Red]]
| [[Image:Red-bg.svg]]
|-
| [[:Commons:Category:Yellow web graphic elements|Yellow]]
| [[Image:Yellow-bg.svg]]
| [[:Commons:Category:LGBT web graphic elements|LGBT]]
| [[Image:LGBT-bg.svg]]
|-
| [[:Commons:Category:Gryffindor web graphic elements|Gryffindor]]
| [[Image:Gryffindor-bg.svg]]
| [[:Commons:Category:Hufflepuff web graphic elements|Hufflepuff]]
| [[Image:Hufflepuff-bg.svg]]
|-
| [[:Commons:Category:Ravenclaw web graphic elements|Ravenclaw]]
| [[Image:Ravenclaw-bg.svg]]
| [[:Commons:Category:Slytherin web graphic elements|Slytherin]]
| [[Image:Slytherin-bg.svg]]
|-
|}
== Contoh ==
* <code><nowiki>{{</nowiki>Section title<nowiki> |title=Lorem ipsum }}</nowiki></code> :
{{Section title |title=Lorem ipsum 1}}
* <code><nowiki>{{</nowiki>Section title<nowiki> |title=Lorem ipsum 2 | length=court}}</nowiki></code> : Court
Baris 13 ⟶ 68:
* <code><nowiki>{{</nowiki>Section title<nowiki> |title=Lorem ipsum 4 | full=oui}}</nowiki></code> : Full
{{Section title |title=Lorem ipsum 4 | full=oui}}
* <code><nowiki>{{</nowiki>Section title<nowiki> |title=Lorem ipsum 5 |
{{Section title |title=Lorem ipsum 5 |
* <code><nowiki>{{</nowiki>Section title<nowiki> |title=Lorem ipsum 6 | image=HSEarth.svg}}</nowiki></code> :
{{Section title |title=Lorem ipsum 6 | image=HSEarth.svg}}
* <code><nowiki>{{</nowiki>Section title<nowiki> |title=Lorem ipsum 7 | off table=
{{Section title |title=Lorem ipsum 7 | off table=
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
|