Pengguna:M. Adiputra/Peralatan: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
M. Adiputra (bicara | kontrib)
kTidak ada ringkasan suntingan
Taylorbot (bicara | kontrib)
per BPA : sintaks <br> dan <code> | t=412 su=9 in=12 at=9 -- only 390 edits left of totally 400 possible edits | edr=010-1011(!!!) ovr=010-1111 aft=010-1011
 
(2 revisi perantara oleh satu pengguna lainnya tidak ditampilkan)
Baris 14:
<pre style="overflow:scroll;">{{Navbox
|name = {{subst:PAGENAME}}
|title =
|image =
|above =
 
|group1 =
|list1 =
 
|group2 =
|list2 =
...
|group20 =
|list20 =
 
|below =
}}</pre>
 
Baris 93:
: Often times, editors will want a default initial state for a navbox, which may be overridden in an article. Here is the trick to do this:
:*In your intermediate template, create a parameter also named "state" as a pass-through like this:
:*<ttcode><nowiki>| state = {{{state<includeonly>|your_desired_initial_state</includeonly>}}}</nowiki></ttcode>
:*The <nowiki><includeonly>|</nowiki> will make the template expanded when viewing the template page by itself.
 
Baris 205:
 
Since ''liststyle'' and ''oddstyle'' are transparent odd lists have the color of the ''bodystyle'', which defaults to #fdfdfd (white with a hint of gray). A list has <code>text-align:left;</code> if it has a group, if not it has <code>text-align:center;</code>. Since only ''bodystyle'' has a vertical-align all the others inherit its <code>vertical-align:middle;</code>.
 
 
===Advanced parameters===
Baris 232 ⟶ 231:
|list4 = {{{list4}}}
}}
 
 
Table generated by {{tl|Navbox}} '''with''' ''image'', ''above'' and ''below'' parameters (gray list background color added for illustration only):
Baris 251 ⟶ 249:
|below = {{{below}}}
}}
 
 
Table generated by {{tl|Navbox}} '''with''' ''image'', ''imageleft'', ''lists'', and '''without''' ''groups'', ''above'', ''below'' (gray list background color added for illustration only):
Baris 283 ⟶ 280:
 
|group3 = Major landmarks
|list3 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}} [[Putrajaya]]{{·}} [[Cyberjaya]]{{·}}
[[Kuala Lumpur International Airport]]
 
Baris 290 ⟶ 287:
 
|group5 = Prime applications
|list5 = [[EGovernment]]{{·}} [[MyKad]]
}}
</pre>
Baris 307 ⟶ 304:
|list4 = [[Express Rail Link]]{{·}} [[KL-KLIA Dedicated Expressway]]
|group5 = Prime applications
|list5 = [[EGovernment]]{{·}} [[MyKad]]
}}
 
 
=== With image, without groups ===
Baris 327 ⟶ 323:
|list1 = [[Petronas Twin Towers]]{{·}} [[Kuala Lumpur Tower]]{{·}} [[Kuala Lumpur Sentral]]{{·}} [[Technology Park Malaysia]]{{·}} [[Putrajaya]]{{·}} [[Cyberjaya]]{{·}} [[Kuala Lumpur International Airport]]
}}
 
 
=== With two images, without groups, multiple lists ===
Baris 354 ⟶ 349:
|list4 = [[Klang Valley]]
}}
 
 
=== With image, groups, above, below ===
Baris 402 ⟶ 396:
|below = Website: [http://www.msc.com.my/ www.msc.com.my]
}}
 
 
==Child navboxes==
Baris 435 ⟶ 428:
|list1 = List1
|group2 = Group2
|list2 =
{{Navbox|child
|evenodd = swap
Baris 450 ⟶ 443:
 
|group4 = Group4
|list4 =
{{Navbox|child
|evenodd = swap
Baris 496 ⟶ 489:
|list2 = {{Navbox|child
|name = Former French colonies in the Americas
|titlestyle =
|title = [[French colonial empires|Former French colonies]] in the [[Americas]]
|groupstyle =
|list1 = [[New France]]{{spaces|2}}<small>([[Acadia]]&nbsp;• [[Louisiana (New France)|Louisiana]]&nbsp;• [[Canada, New France|Canada]]&nbsp;• [[Newfoundland (island)|Terre&nbsp;Neuve]]) 1655 – 1763 </small>
 
|list2 = [[Inini]]{{·}} [[Berbice]]{{·}} [[Saint-Domingue]]&nbsp;<small>([[Haiti]])</small>{{·}} [[Tobago]]{{·}} [[History of the British Virgin Islands|Virgin&nbsp;Islands]]{{·}} {{nowrap|[[France Antarctique]]}}{{·}} {{nowrap|[[France Équinoxiale]]}}
 
|belowstyle =
|below = [[French West India Company]]
}}
Baris 510 ⟶ 503:
|name = Former French colonies in Asia and Oceania
|title = [[French colonial empires|Former French colonies]] in [[Asia]] and [[Oceania]]
|groupstyle =
 
|group1 = [[French India]]
Baris 524 ⟶ 517:
|list4 = [[New Hebrides|New Hebrides]] [[History of Vanuatu|(Vanuatu)]]
 
|belowstyle =
|below = [[French East India Company]]
}}
Baris 538 ⟶ 531:
*This template uses CSS classes for most of its looks, thus it is fully skinnable.
 
*Internally this meta template uses HTML markup instead of wiki markup for the table code. That is the usual way we make meta templates since wiki markup has several drawbacks. For instance it makes it harder to use [[m:Help:ParserFunctions|parser functions]] and special characters in parameters.
 
*For more technical details see the [[{{TALKPAGENAME}}|talk page]], the CSS classes in [[MediaWiki:common.css]] and the collapsible table used to hide the box in [[MediaWiki:common.js]].
Baris 571 ⟶ 564:
{{Navbox with columns
|name = {{subst:PAGENAME}}
|title =
|colwidth = <!--(to set a default width for each column,
preferably in a proportional unit such as 'em'*)-->
|col1 =
|col2 =
}}
</pre>
Baris 630 ⟶ 623:
 
:;''imageleftstyle''<sup>†</sup>
::CSS style/s to apply to the ''imageleft'' parameter
 
:;''colstyle''
Baris 750 ⟶ 743:
|below = '''Potential future members'''{{spaces|6}}{{TLS}}{{spaces|3}}{{RUS}}
}}
 
 
===Example with percentage widths===
Baris 775 ⟶ 767:
| col3 = [[Polystyrene]] (PS)<br /> [[Polyester]]<br /> [[Acrylonitrile butadiene styrene]] (ABS)<br /> [[Acrylic glass|Polymethyl methacrylate]] (PMMA)<br /> [[Polyoxymethylene]] (POM)
}}
 
 
===Example with col<sub>n</sub>header and col<sub>n</sub>footer===
Baris 803 ⟶ 794:
 
}}
 
 
===Example with col<sub>n</sub>header using col<sub>n</sub>headercolspan===
Baris 830 ⟶ 820:
|col7 = col7
}}
 
 
===Example to illustrate most fields===
Baris 1.027 ⟶ 1.016:
<pre>
{{Navbox subgroup
| groupstyle =
| liststyle =
 
| group1 =
| list1 =
| group2 =
| list2 =
...
| group20 =
| list20 =
}}
</pre>
Baris 1.080 ⟶ 1.069:
 
:; ''evenodd'' <span style="font-weight:normal;"><code>[swap, even, odd, off]</code></span>
:: If set to <code>swap</code>, then the automatic striping of even and odd rows is reversed. Normally, even rows get a light gray background for striping; when this parameter is used, the odd rows receive the gray striping instead of the even rows. Setting to <code>even</code> or <code>odd</code> sets all rows to have that striping color. Setting to <code>off</code> disables automatic row striping. NOTE: Due to system limitations, do '''not''' use a semi-colon to close this command.
 
==Setting the width of groups==
Baris 1.118 ⟶ 1.107:
| title = Protected Areas of Colorado
| group1 = National Park Service
| list1 =
{{Navbox subgroup
|group1 = National Parks
Baris 1.144 ⟶ 1.133:
| list1 = [[Maximinus Thrax]]{{·}} [[Gordian I]]{{·}} [[Gordian II]]{{·}} [[Pupienus]] and [[Balbinus]]{{·}} [[Gordian III]]{{·}} [[Philip the Arab]]{{·}} [[Decius]]{{·}} [[Trebonianus Gallus]]{{·}} [[Aemilianus]]{{·}} [[Valerian (emperor)|Valerian]]{{·}} [[Gallienus]]{{·}} [[Claudius II]]{{·}} [[Quintillus]]{{·}} [[Aurelian]]{{·}} [[Marcus Claudius Tacitus]]{{·}} [[Florianus]]{{·}} [[Probus]]{{·}} [[Carus]]{{·}} [[Numerian]]{{·}} [[Carinus]]
| group2 = Dominate
| list2 =
{{Navbox subgroup
|list1style = background:#ddf;
Baris 1.162 ⟶ 1.151:
| list1 = [[Maximinus Thrax]]{{·}} [[Gordian I]]{{·}} [[Gordian II]]{{·}} [[Pupienus]] and [[Balbinus]]{{·}} [[Gordian III]]{{·}} [[Philip the Arab]]{{·}} [[Decius]]{{·}} [[Trebonianus Gallus]]{{·}} [[Aemilianus]]{{·}} [[Valerian (emperor)|Valerian]]{{·}} [[Gallienus]]{{·}} [[Claudius II]]{{·}} [[Quintillus]]{{·}} [[Aurelian]]{{·}} [[Marcus Claudius Tacitus]]{{·}} [[Florianus]]{{·}} [[Probus]]{{·}} [[Carus]]{{·}} [[Numerian]]{{·}} [[Carinus]]
| group2 = Dominate
| list2 =
{{Navbox subgroup
|list1style = background:#ddf;
Baris 1.625 ⟶ 1.614:
|+ '''Utuh:'''
|-
| <big><ttcode>,</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|,}}{{familytree/end}}
| <big><ttcode>v</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|v}}{{familytree/end}}
| <big><ttcode>.</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|.}}{{familytree/end}}
|-
| <big><ttcode>)</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|)}}{{familytree/end}}
| <big><ttcode>+</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|+}}{{familytree/end}}
| <big><ttcode>(</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|(}}{{familytree/end}}
|-
| <big><ttcode>`</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|`}}{{familytree/end}}
| <big><ttcode>^</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|^}}{{familytree/end}}
| <big><ttcode>'</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|'}}{{familytree/end}}
|-
| <big><ttcode>-</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|-}}{{familytree/end}}
| <big><ttcode>!</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|!}}{{familytree/end}}
| <big><ttcode> </ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree| }}{{familytree/end}}
|}
{| style="float:left;margin-left:1em"
|+ '''Putus-putus:'''
|-
| <big><ttcode>F</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|F}}{{familytree/end}}
| <big><ttcode>V</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|V}}{{familytree/end}}
| <big><ttcode>7</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|7}}{{familytree/end}}
|-
| <big><ttcode>D</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|D}}{{familytree/end}}
| <big><ttcode>%</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|%}}{{familytree/end}}
| <big><ttcode>C</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|C}}{{familytree/end}}
|-
| <big><ttcode>L</ttcode></big> ||style="border: 1px solid gray"| {{familytree/start}}{{familytree|L}}{{familytree/end}}
| <big><ttcode>A</ttcode></big> ||style="border: 1px solid gray"| {{familytree/start}}{{familytree|A}}{{familytree/end}}
| <big><ttcode>J</ttcode></big> ||style="border: 1px solid gray"| {{familytree/start}}{{familytree|J}}{{familytree/end}}
|-
| <big><ttcode>~</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|~}}{{familytree/end}}
| <big><ttcode>:</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|:}}{{familytree/end}}
| <big><ttcode> </ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree| }}{{familytree/end}}
|}
{|style="float:left;margin-left:1em"
|+ '''Campur (1):'''
|-
| <big><ttcode>r</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|r}}{{familytree/end}}
| <big><ttcode>y</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|y}}{{familytree/end}}
| <big><ttcode>n</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|n}}{{familytree/end}}
|-
| <big><ttcode>]</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|]}}{{familytree/end}}
| <big><ttcode>#</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|#}}{{familytree/end}}
| <big><ttcode>[</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|[}}{{familytree/end}}
|-
| <big><ttcode>c</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|c}}{{familytree/end}}
| <big><ttcode>h</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|h}}{{familytree/end}}
| <big><ttcode>j</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|j}}{{familytree/end}}
|-
| <big><ttcode>~</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|~}}{{familytree/end}}
| <big><ttcode>!</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|!}}{{familytree/end}}
| <big><ttcode> </ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree| }}{{familytree/end}}
|}
{|style="float:left;margin-left:1em"
|+ '''Campur (2):'''
|-
| <big><ttcode>p</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|p}}{{familytree/end}}
| <big><ttcode>u</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|u}}{{familytree/end}}
| <big><ttcode>q</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|q}}{{familytree/end}}
|-
| <big><ttcode>}</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|}|}}{{familytree/end}}
| <big><ttcode>*</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|*}}{{familytree/end}}
| <big><ttcode>{</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|{|}}{{familytree/end}}
|-
| <big><ttcode>b</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|b}}{{familytree/end}}
| <big><ttcode>t</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|t|}}{{familytree/end}}
| <big><ttcode>d</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|d}}{{familytree/end}}
|-
| <big><ttcode>-</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|-}}{{familytree/end}}
| <big><ttcode>:</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|:}}{{familytree/end}}
| <big><ttcode> </ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree| }}{{familytree/end}}
|}
{|style="float:left;margin-left:1em"
Baris 1.702 ⟶ 1.691:
|-
| ||
| <big><ttcode>T</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|T}}{{familytree/end}}
|-
| <big><ttcode>G</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|G}}{{familytree/end}}
| <big><ttcode>X</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|X}}{{familytree/end}}
| <big><ttcode>K</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|K}}{{familytree/end}}
| <big><ttcode>k</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|k}}{{familytree/end}}
|-
| ||
| <big><ttcode>U</ttcode></big> ||style="border:1px solid gray"| {{familytree/start}}{{familytree|U}}{{familytree/end}}
|}
<br clear="left" />
Baris 1.731 ⟶ 1.720:
{{familytree|border=0|boxstyle=background:#dfd;| | FOO | | BAR | |FOO=Box 3|BAR=Box 4}}
{{familytree/end}}
 
 
kode:
Baris 1.824 ⟶ 1.812:
|Yellow ||FF FF 00||255 255 0
|- style="background:lightyellow; color:black;"
|LightYellow ||FF FF E0||255 255 224
|- style="background:lemonchiffon; color:black;"
|LemonChiffon ||FF FA CD||255 250 205
|- style="background:lightgoldenrodyellow; color:black;"
|LightGoldenrodYellow||FA FA D2||250 250 210
|- style="background:papayawhip; color:black;"
|PapayaWhip ||FF EF D5||255 239 213
|- style="background:moccasin; color:black;"
|Moccasin ||FF E4 B5||255 228 181
|- style="background:peachpuff; color:black;"
|PeachPuff ||FF DA B9||255 218 185
|- style="background:palegoldenrod; color:black;"
|PaleGoldenrod ||EE E8 AA||238 232 170
|- style="background:khaki; color:black;"
|Khaki ||F0 E6 8C||240 230 140
|- style="background:darkkhaki; color:white;"
|DarkKhaki ||BD B7 6B||189 183 107
|-
|colspan=3; style="background:whitesmoke; color:slategray; text-align:left;"|<big>'''Warna dasar Ungu'''</big>
|- style="background:lavender; color:black;"
|Lavender ||E6 E6 FA||230 230 250
|- style="background:thistle; color:white;"
|Thistle ||D8 BF D8||216 191 216
|- style="background:plum; color:white;"
|Plum ||DD A0 DD||221 160 221
|- style="background:violet; color:white;"
|Violet ||EE 82 EE||238 130 238
|- style="background:orchid; color:white;"
|Orchid ||DA 70 D6||218 112 214
|- style="background:fuchsia; color:white;"
|Fuchsia ||FF 00 FF||255 0 255
|- style="background:magenta; color:white;"
|Magenta||FF 00 FF||255 0 255
|- style="background:mediumorchid; color:white;"
|MediumOrchid ||BA 55 D3||186 85 211
|- style="background:mediumpurple; color:white;"
|MediumPurple ||93 70 DB||147 112 219
|- style="background:blueviolet; color:white;"
|BlueViolet ||8A 2B E2||138 43 226
|- style="background:darkviolet; color:white;"
|DarkViolet ||94 00 D3||148 0 211
|- style="background:darkorchid; color:white;"
|DarkOrchid ||99 32 CC||153 50 204
|- style="background:darkmagenta; color:white;"
|DarkMagenta ||8B 00 8B||139 0 139
|- style="background:purple; color:white;"
|Purple ||80 00 80||128 0 128
|- style="background:indigo; color:white;"
|Indigo ||4B 00 82|| 75 0 130
|- style="background:slateblue; color:white;"
|SlateBlue ||6A 5A CD||106 90 205
Baris 1.880 ⟶ 1.868:
|colspan=3; style="background:whitesmoke; color:slategray; text-align:left;"|<big>'''Warna dasar Hijau'''</big>
|- style="background:greenyellow; color:black;"
|GreenYellow ||AD FF 2F||173 255 47
|- style="background:chartreuse; color:black;"
|Chartreuse ||7F FF 00||127 255 0
|- style="background:lawngreen; color:black;"
|LawnGreen ||7C FC 00||124 252 0
|- style="background:lime; color:black;"
|Lime ||00 FF 00|| 0 255 0
|- style="background:limegreen; color:black;"
|LimeGreen ||32 CD 32|| 50 205 50
|- style="background:palegreen; color:black;"
|PaleGreen ||98 FB 98||152 251 152
|- style="background:lightgreen; color:black;"
|LightGreen ||90 EE 90||144 238 144
|- style="background:mediumspringgreen; color:black;"
|MediumSpringGreen||00 FA 9A|| 0 250 154
|- style="background:springgreen; color:black;"
|SpringGreen ||00 FF 7F|| 0 255 127
|- style="background:mediumseagreen; color:white;"
|MediumSeaGreen ||3C B3 71|| 60 179 113
|- style="background:seagreen; color:white;"
|SeaGreen ||2E 8B 57|| 46 139 87
|- style="background:forestgreen; color:white;"
|ForestGreen ||22 8B 22|| 34 139 34
|- style="background:green; color:white;"
|Green ||00 80 00|| 0 128 0
|- style="background:darkgreen; color:white;"
|DarkGreen ||00 64 00|| 0 100 0
|- style="background:yellowgreen; color:white;"
|YellowGreen ||9A CD 32||154 205 50
|- style="background:olivedrab; color:white;"
|OliveDrab ||6B 8E 23||107 142 35
|- style="background:olive; color:white;"
|Olive ||80 80 00||128 128 0
|- style="background:darkolivegreen; color:white;"
|DarkOliveGreen ||55 6B 2F|| 85 107 47
|- style="background:mediumaquamarine; color:black;"
|MediumAquamarine||66 CD AA||102 205 170
|- style="background:darkseagreen; color:white;"
|DarkSeaGreen ||8F BC 8F||143 188 143
|- style="background:lightseagreen; color:white;"
|LightSeaGreen ||20 B2 AA|| 32 178 170
|- style="background:darkcyan; color:white;"
|DarkCyan ||00 8B 8B|| 0 139 139
|- style="background:teal; color:white;"
|Teal ||00 80 80|| 0 128 128
|-
|}
Baris 1.939 ⟶ 1.927:
|Cyan ||00 FF FF|| 0 255 255
|- style="background:lightcyan; color:black;"
|LightCyan ||E0 FF FF||224 255 255
|- style="background:paleturquoise; color:black;"
|PaleTurquoise ||AF EE EE||175 238 238
|- style="background:aquamarine; color:black;"
|Aquamarine ||7F FF D4||127 255 212
|- style="background:turquoise; color:black;"
|Turquoise ||40 E0 D0|| 64 224 208
|- style="background:mediumturquoise; color:white;"
|MediumTurquoise ||48 D1 CC|| 72 209 204
|- style="background:darkturquoise; color:white;"
|DarkTurquoise||00 CE D1|| 0 206 209
|- style="background:cadetblue; color:white;"
|CadetBlue ||5F 9E A0|| 95 158 160
|- style="background:steelblue; color:white;"
|SteelBlue ||46 82 B4|| 70 130 180
|- style="background:lightsteelblue; color:black;"
|LightSteelBlue ||B0 C4 DE||176 196 222
|- style="background:powderblue; color:black;"
|PowderBlue ||B0 E0 E6||176 224 230
|- style="background:lightblue; color:black;"
|LightBlue ||AD D8 E6||173 216 230
|- style="background:skyblue; color:black;"
|SkyBlue ||87 CE EB||135 206 235
|- style="background:lightskyblue; color:black;"
|LightSkyBlue||87 CE FA||135 206 250
|- style="background:deepskyblue; color:white;"
|DeepSkyBlue ||00 BF FF|| 0 191 255
|- style="background:dodgerblue; color:white;"
|DodgerBlue ||1E 90 FF|| 30 144 255
Baris 1.971 ⟶ 1.959:
|CornflowerBlue||64 95 ED||100 149 237
|- style="background:mediumslateblue; color:white;"
|MediumSlateBlue||7B 68 EE||123 104 238
|- style="background:royalblue; color:white;"
|RoyalBlue ||41 69 E1|| 65 105 225
|- style="background:blue; color:white;"
|Blue ||00 00 FF|| 0 0 255
|- style="background:mediumblue; color:white;"
|MediumBlue ||00 00 CD|| 0 0 205
|- style="background:darkblue; color:white;"
|DarkBlue ||00 00 8B|| 0 0 139
|- style="background:navy; color:white;"
|Navy ||00 00 80|| 0 0 128
|- style="background:midnightblue; color:white;"
|MidnightBlue ||19 19 70|| 25 25 112
|-
|colspan=3; style="background:whitesmoke; color:slategray; text-align:left;"|<big>'''Warna dasar Coklat'''</big>
|- style="background:cornsilk; color:black;"
|Cornsilk ||FF F8 DC||255 248 220
|- style="background:blanchedalmond; color:black;"
|BlanchedAlmond ||FF EB CD||255 235 205
|- style="background:bisque; color:black;"
|Bisque ||FF E4 C4||255 228 196
|- style="background:navajowhite; color:black;"
|NavajoWhite ||FF DE AD||255 222 173
|- style="background:wheat; color:black;"
|Wheat ||F5 DE B3||245 222 179
|- style="background:burlywood; color:white;"
|BurlyWood ||DE B8 87||222 184 135
|- style="background:tan; color:white;"
|Tan ||D2 B4 8C||210 180 140
|- style="background:rosybrown; color:white;"
|RosyBrown ||BC 8F 8F||188 143 143
|- style="background:sandybrown; color:white;"
|SandyBrown ||F4 A4 60||244 164 96
|- style="background:goldenrod; color:white;"
|Goldenrod ||DA A5 20||218 165 32
|- style="background:darkgoldenrod; color:white;"
|DarkGoldenrod ||B8 86 0B||184 134 11
|- style="background:peru; color:white;"
|Peru ||CD 85 3F||205 133 63
|- style="background:chocolate; color:white;"
|Chocolate ||D2 69 1E||210 105 30
|- style="background:saddlebrown; color:white;"
|SaddleBrown ||8B 45 13||139 69 19
|- style="background:sienna; color:white;"
|Sienna ||A0 52 2D||160 82 45
|- style="background:brown; color:white;"
|Brown ||A5 2A 2A||165 42 42
|- style="background:maroon; color:white;"
|Maroon ||80 00 00||128 0 0
Baris 2.023 ⟶ 2.011:
|colspan=3; style="background:whitesmoke; color:slategray; text-align:left;"|<big>'''Warna dasar Putih'''</big>
|- style="background:white; color:black;"
|White ||FF FF FF||255 255 255
|- style="background:snow; color:black;"
|Snow ||FF FA FA||255 250 250
|- style="background:honeydew; color:black;"
|Honeydew ||F0 FF F0||240 255 240
|- style="background:mintcream; color:black;"
|MintCream ||F5 FF FA||245 255 250
|- style="background:azure; color:black;"
|Azure ||F0 FF FF||240 255 255
|- style="background:aliceblue; color:black;"
|AliceBlue ||F0 F8 FF||240 248 255
|- style="background:ghostwhite; color:black;"
|GhostWhite ||F8 F8 FF||248 248 255
|- style="background:whitesmoke; color:black;"
|WhiteSmoke ||F5 F5 F5||245 245 245
|- style="background:seashell; color:black;"
|Seashell ||FF F5 EE||255 245 238
|- style="background:beige; color:black;"
|Beige ||F5 F5 DC||245 245 220
|- style="background:oldlace; color:black;"
|OldLace ||FD F5 E6||253 245 230
|- style="background:floralwhite; color:black;"
|FloralWhite ||FF FA F0||255 250 240
|- style="background:ivory; color:black;"
|Ivory ||FF FF F0||255 255 240
|- style="background:antiquewhite; color:black;"
|AntiqueWhite ||FA EB D7||250 235 215
|- style="background:linen; color:black;"
|Linen ||FA F0 E6||250 240 230
|- style="background:lavenderblush; color:black;"
|LavenderBlush ||FF F0 F5||255 240 245
|- style="background:mistyrose; color:black;"
|MistyRose ||FF E4 E1||255 228 225
|-
|colspan=3; style="background:whitesmoke; color:slategray; text-align:left;"|<big>'''Warna dasar Abu-abu'''</big>
|- style="background:gainsboro; color:black;"
|Gainsboro ||DC DC DC||220 220 220
|- style="background:lightgrey; color:black;"
|LightGrey ||D3 D3 D3||211 211 211
|- style="background:silver; color:black;"
|Silver ||C0 C0 C0||192 192 192
|- style="background:darkgray; color:black;"
|DarkGray ||A9 A9 A9||169 169 169
|- style="background:gray; color:white;"
|Gray ||80 80 80||128 128 128
|- style="background:dimgray; color:white;"
|DimGray ||69 69 69||105 105 105
|- style="background:lightslategray; color:white;"
|LightSlateGray ||77 88 99||119 136 153
|- style="background:slategray; color:white;"
|SlateGray ||70 80 90||112 128 144
|- style="background:darkslategray; color:white;"
|DarkSlateGray ||2F 4F 4F|| 47 79 79
|- style="background:black; color:white;"
|Black ||00 00 00|| 0 0 0
|}
|-
Baris 2.088 ⟶ 2.076:
==General information==
There are three types of magic words:
*'''Behavior switches:''' uppercase words surrounded by double underscores, e.g. <ttcode><nowiki>__NOTOC__</nowiki></ttcode>, or keywords using parser function syntax
*'''Variables:''' uppercase words surrounded by double braces, e.g. <ttcode><nowiki>{{PAGENAME}}</nowiki></ttcode> (thus resembling [[Help:Templates|templates]])
*'''Parser functions:''' keywords (some beginning #) in double braces with parameters after a colon, e.g. <ttcode><nowiki>{{#expr:2+2}}</nowiki></ttcode>
 
Some magic words are case-insensitive, but not all. Whitespace is stripped from the start and end of keywords and parameters, as in template syntax.
Baris 2.096 ⟶ 2.084:
Page-dependent magic words will affect or return data about the ''current'' page, even if the word is added through a transcluded template or included system message.
 
It is possible to [[Help:Substitution|substitute]] parser functions and variables in the same way that templates are substituted (using the <ttcode>subst:</ttcode> keyword). This causes their current value (as evaluated at the time of substitution) to be written into the wikitext.
 
==Behavior switches==
''For documentation, refer to the [[mw:Help:Magic words#Behavior switches|Behavior Switches]] section of the MediaWiki page.''
*<ttcode><nowiki>__NOTOC__</nowiki></ttcode> (can appear anywhere in the wikitext; suppresses the table of contents)
*<ttcode><nowiki>__FORCETOC__</nowiki></ttcode> (can appear anywhere in the wikitext; makes a table of contents appear in its normal position above the first header)
*<ttcode><nowiki>__TOC__</nowiki></ttcode> (places a table of contents at the word's position)
 
*<ttcode><nowiki>__NOEDITSECTION__</nowiki></ttcode> (hides the section edit links beside headings)
*<ttcode><nowiki>__NEWSECTIONLINK__</nowiki></ttcode> (adds a "+" link for adding a new section on a non-"Talk" page)
*<ttcode><nowiki>__NONEWSECTIONLINK__</nowiki></ttcode> (removes the "+" link on "Talk" pages)
 
*<ttcode><nowiki>__NOGALLERY__</nowiki></ttcode> (on a category page, replaces thumbnails with normal links)
*<ttcode><nowiki>__HIDDENCAT__</nowiki></ttcode> (on a category page, makes it a [[WP:HIDDENCAT|hidden category]])
*<ttcode><nowiki>__INDEX__</nowiki></ttcode> (tells search engines to index the page)
*<ttcode><nowiki>__NOINDEX__</nowiki></ttcode> (tells search engines not to index the page)
 
*<ttcode><nowiki>{{DISPLAYTITLE:</nowiki>''title''<nowiki>}}</nowiki></ttcode> (changes the [[WP:DISPLAYTITLE|displayed form]] of the page title)
*<ttcode><nowiki>{{DEFAULTSORT:</nowiki>''sortkey''<nowiki>}}</nowiki></ttcode> (sets a default category [[WP:SORTKEY|sort key]])
 
==Variables==
''For documentation, refer to the [[mw:Help:Magic words#Variables|Variables]] section of the MediaWiki page.''
*<ttcode><nowiki>{{FULLPAGENAME}}</nowiki></ttcode> ([[Help:Page name|page title]] including [[help:namespace|namespace]])
*<ttcode><nowiki>{{PAGENAME}}</nowiki></ttcode> (page title excluding namespace)
*<ttcode><nowiki>{{BASEPAGENAME}}</nowiki></ttcode> (page title excluding ''current'' [[Help:Subpages|subpage]] and namespace - effectively the parent page without the namespace.)
*<ttcode><nowiki>{{SUBPAGENAME}}</nowiki></ttcode> (subpage part of title)
*<ttcode><nowiki>{{SUBJECTPAGENAME}}</nowiki></ttcode> (associated non-talk page)
*<ttcode><nowiki>{{TALKPAGENAME}}</nowiki></ttcode> (associated talk page)
*<ttcode><nowiki>{{NAMESPACE}}</nowiki></ttcode> (namespace of current page)
*<ttcode><nowiki>{{SUBJECTSPACE}}, {{ARTICLESPACE}}</nowiki></ttcode> (associated non-talk namespace)
*<ttcode><nowiki>{{TALKSPACE}}</nowiki></ttcode> (associated talk namespace)
* <ttcode><nowiki>{{FULLPAGENAMEE}}, {{NAMESPACEE}}</nowiki></ttcode> etc. (equivalents encoded for use in MediaWiki URLs)
 
The above can all take a parameter, to operate on a page other than the current page.
 
*<ttcode><nowiki>{{SITENAME}}</nowiki></ttcode> ({{SITENAME}})
*<ttcode><nowiki>{{SERVER}}</nowiki></ttcode> ({{SERVER}})
*<ttcode><nowiki>{{SERVERNAME}}</nowiki></ttcode> ({{SERVERNAME}})
*<ttcode><nowiki>{{SCRIPTPATH}}</nowiki></ttcode> ({{SCRIPTPATH}})
*<ttcode><nowiki>{{CURRENTVERSION}}</nowiki></ttcode> (current MediaWiki version)
*<ttcode><nowiki>{{REVISIONID}}</nowiki></ttcode> (latest revision to current page)
*<ttcode><nowiki>{{REVISIONDAY}}, {{REVISIONDAY2}}, {{REVISIONMONTH}}, {{REVISIONYEAR}}, {{REVISIONTIMESTAMP}}, {{REVISIONUSER}}</nowiki></ttcode> (date, time, editor at last edit)
 
*<ttcode><nowiki>{{CURRENTYEAR}}, {{CURRENTMONTH}}, {{CURRENTMONTHNAME}}, {{CURRENTMONTHABBREV}}, {{CURRENTDAY}}, {{CURRENTDAY2}}, {{CURRENTDOW}}, {{CURRENTDAYNAME}}, {{CURRENTTIME}}, {{CURRENTHOUR}}, {{CURRENTWEEK}}, {{CURRENTTIMESTAMP}}</nowiki></ttcode> (current date/time variables)
*<ttcode><nowiki>{{LOCALYEAR}}</nowiki></ttcode> etc. (as above, based on site's local time)
 
*<ttcode><nowiki>{{NUMBEROFPAGES}}, {{NUMBEROFARTICLES}}, {{NUMBEROFFILES}}, {{NUMBEROFEDITS}}, {{NUMBEROFVIEWS}}, {{NUMBEROFUSERS}}, {{NUMBEROFADMINS}}, {{NUMBEROFACTIVEUSERS}}</nowiki></ttcode> (statistics on English Wikipedia; add <ttcode>:R</ttcode> to return numbers without commas)
 
==Parser functions==
Baris 2.148 ⟶ 2.136:
''These are documented at the [[mw:Help:Magic words|main documentation page]] unless otherwise stated.''
===Metadata===
*<ttcode><nowiki>{{PAGESIZE:</nowiki>''page name''<nowiki>}}</nowiki></ttcode> (size of page in bytes)
*<ttcode><nowiki>{{PROTECTIONLEVEL:</nowiki>''action''<nowiki>}}</nowiki></ttcode> (protection level for given action on the current page)
*<ttcode><nowiki>{{PAGESINCATEGORY:</nowiki>''categoryname''<nowiki>}}</nowiki></ttcode> (number of pages in the given [[Help:Categories|category]])
*<ttcode><nowiki>{{NUMBERINGROUP:</nowiki>''groupname''<nowiki>}}</nowiki></ttcode> (number of users in a specific [[Help:User rights|group]])
 
Add <ttcode>|R</ttcode> to return numbers without commas.
 
===Formatting===
*<ttcode><nowiki>{{lc:</nowiki>''string''<nowiki>}}</nowiki></ttcode> (convert to lower case)
*<ttcode><nowiki>{{lcfirst:</nowiki>''string''<nowiki>}}</nowiki></ttcode> (convert first character to lower case)
*<ttcode><nowiki>{{uc:</nowiki>''string''<nowiki>}}</nowiki></ttcode> (convert to upper case)
*<ttcode><nowiki>{{ucfirst:</nowiki>''string''<nowiki>}}</nowiki></ttcode> (convert first character to upper case)
*<ttcode><nowiki>{{formatnum:</nowiki>''unformatted&nbsp;num''<nowiki>}}</nowiki></ttcode> (format a number with comma separators; add <ttcode><nowiki>|</nowiki>R</ttcode> to unformat a number)
*<ttcode><nowiki>{{#formatdate:</nowiki>''date''|''format''<nowiki>}}</nowiki></ttcode> (formats a date according to user preferences; a default can be given as an optional case-sensitive second parameter for users without date preference; can convert a date from an existing format to any of <ttcode>dmy</ttcode>, <ttcode>mdy</ttcode>, <ttcode>ymd</ttcode> or <ttcode>ISO 8601</ttcode> formats, with the user's preference overriding the specified format)
*<ttcode><nowiki>{{padleft:xyz|</nowiki>''stringlength''<nowiki>}}</nowiki></ttcode>, <ttcode><nowiki>{{padright:xyz|</nowiki>''stringlength''<nowiki>}}</nowiki></ttcode> (pad with zeros to the right or left; an alternative padding string can be given as a third parameter; the alternative padding string may be truncated if its length does not evenly divide the required number of characters)
*<ttcode><nowiki>{{plural:</nowiki>''n''|''is''<nowiki>|</nowiki>''are''<nowiki>}}</nowiki></ttcode> (produces alternative text according to whether ''n'' is greater than 1)
*<ttcode><nowiki>{{#time:</nowiki>''format string''|''date/time object''<nowiki>}}</nowiki></ttcode> (for date/time formatting; also <ttcode>#timel</ttcode> for local time. Covered at the [[mw:Help:Extension:ParserFunctions##time|extension documentation page]].)
*<ttcode><nowiki>{{gender:</nowiki>''username''|''masculine''|''female''|''neutral''}}</ttcode> (produces alternate text according to the gender specified by the given user in his/her preferences)
 
===Paths===
*<ttcode><nowiki>{{localurl:</nowiki>''page name''<nowiki>}}</nowiki></ttcode>, <ttcode><nowiki>{{localurl:</nowiki>''page name''<nowiki>|</nowiki>''query string''<nowiki>}}</nowiki></ttcode> (relative path to the title)
*<ttcode><nowiki>{{fullurl:</nowiki>''page name''<nowiki>}}</nowiki></ttcode>, <ttcode><nowiki>{{fullurl:</nowiki>''page name''<nowiki>|</nowiki>''query_string''<nowiki>}}</nowiki></ttcode> (absolute path to the title)
*<ttcode><nowiki>{{filepath:</nowiki>''file name''<nowiki>}}</nowiki></ttcode> (absolute URL to a media file)
*<ttcode><nowiki>{{urlencode:</nowiki>''string''<nowiki>}}</nowiki></ttcode> (input encoded for use in URLs)
*<ttcode><nowiki>{{anchorencode:</nowiki>''string''<nowiki>}}</nowiki></ttcode> (input encoded for use in URL section anchors)
*<ttcode><nowiki>{{ns:</nowiki>''n''<nowiki>}}</nowiki></ttcode> (name for the [[Help:Namespace|namespace]] with index ''n''; use <ttcode><nowiki>{{nse:}}</nowiki></ttcode> for the equivalent encoded for MediaWiki URLs)
*<ttcode><nowiki>{{#rel2abs:</nowiki> ''path'' <nowiki>}}</nowiki></ttcode> (converts a relative file path to absolute; see the [[mw:Help:Extension:ParserFunctions|extension documentation]])
*<ttcode><nowiki>{{#titleparts:</nowiki> ''pagename'' | ''number of segments to return'' | ''first segment to return'' <nowiki>}}</nowiki></ttcode> (splits title into parts; see the [[mw:Help:Extension:ParserFunctions|extension documentation]])
 
===Conditional expressions===
These are covered at the [[mw:Help:Extension:ParserFunctions|extension documentation page]]. Some parameters are optional.
*<ttcode><nowiki>{{#expr:</nowiki> ''expression'' <nowiki>}}</nowiki></ttcode> (evaluates the given expression; see [[Help:Calculation]])
*<ttcode><nowiki>{{#if:</nowiki> ''test string'' | ''value if non-empty'' | ''value if empty'' <nowiki>}}</nowiki></ttcode> (selects one of two values based on whether the test string is empty)
*<ttcode><nowiki>{{#ifeq:</nowiki> ''string 1'' <nowiki>|</nowiki> ''string 2'' <nowiki>|</nowiki> ''value if equal'' <nowiki>|</nowiki> ''value if unequal'' <nowiki>}}</nowiki></ttcode> (selects one of two values based on whether the test strings are equal – numerically if applicable)
*<ttcode><nowiki>{{#iferror:</nowiki> ''test string'' <nowiki>|</nowiki> ''value if error'' <nowiki>|</nowiki> ''value if correct'' <nowiki>}}</nowiki></ttcode> (selects value based on whether the test string generates a parser error)
*<ttcode><nowiki>{{#ifexpr:</nowiki> ''expression'' <nowiki>|</nowiki> ''value if true'' <nowiki>|</nowiki> ''value if false'' <nowiki>}}</nowiki></ttcode> (selects value based on evaluation of expression)
*<ttcode><nowiki>{{#ifexist:</nowiki> ''page title'' | ''value if exists'' | ''value if doesn't exist'' <nowiki>}}</nowiki></ttcode> (selects value depending on whether a page title exists)
*<ttcode><nowiki>{{#switch:</nowiki> ''test'' | ''case1'' = ''value for case 1'' | ... | ''default'' <nowiki>}}</nowiki></ttcode> (provides alternatives based on the value of the test string)
 
For the use of these functions in tables, see [[Wikipedia:Conditional tables|Conditional tables]].
Baris 2.201 ⟶ 2.189:
=== Scroll bar ===
<pre>
<div style="height: 500px[xxx]px; width: 100[xxx]%; overflow: auto; padding: 3px[xxx]px; text-align: left[xxx]; border:1px[xxx]px solid black[color];">...</div>
</pre>
 
=== Blinking text ===
<pre>
<span style="text-decoration:blink; background:#[xxx]">...</span>
</pre>
 
=== Plain link ===
<pre>
<span class="plainlinks">...</span>
</pre>
 
</div>