Templat:Section title/doc: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
 
(9 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 olehtetap karena itu mengintervensimenampilkan penomoran bagian (seperti yang terjadi di halaman ini), kecuali ditentukan laindengan olehmengisi parameter <code>off table = yes</code>.
== 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> : CodeSintaks dedasar baseuntuk penggunaan paling sederhana
{{Section title |title=Lorem ipsum 1}}
* <code><nowiki>{{</nowiki>Section title<nowiki> |title=Lorem ipsum 2 | longueurlength=court}}</nowiki></code> : Court
{{Section title |title=Lorem ipsum 2 | longueurlength=court}}
* <code><nowiki>{{</nowiki>Section title<nowiki> |title=Lorem ipsum 3 | longueurlength=long}}</nowiki></code> : Long
{{Section title |title=Lorem ipsum 3 | longueurlength=long}}
* <code><nowiki>{{</nowiki>Section title<nowiki> |title=Lorem ipsum 4 | pleinfull=oui}}</nowiki></code> : PleinFull
{{Section title |title=Lorem ipsum 4 | pleinfull=oui}}
* <code><nowiki>{{</nowiki>Section title<nowiki> |title=Lorem ipsum 5 | couleurcolor=Red}}</nowiki></code> : AutreGradasi couleuropsional
{{Section title |title=Lorem ipsum 5 | couleurcolor=Red}}
* <code><nowiki>{{</nowiki>Section title<nowiki> |title=Lorem ipsum 6 | image=HSEarth.svg}}</nowiki></code> : AutreIkon icôneopsional
{{Section title |title=Lorem ipsum 6 | image=HSEarth.svg}}
* <code><nowiki>{{</nowiki>Section title<nowiki> |title=Lorem ipsum 7 | off table=ouiyes}}</nowiki></code> : HorsTanpa tabledaftar isi
{{Section title |title=Lorem ipsum 7 | off table=ouiyes}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |