Templat:Topik Amerika Serikat/doc: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
-iNu- (bicara | kontrib)
perbaharui
Taylor 49 (bicara | kontrib)
interwiki to WikiData only
 
(7 revisi perantara oleh 4 pengguna tidak ditampilkan)
Baris 1:
{{Documentation subpage}}<!--only displayed when viewed from /doc page-->
{{Intricate template}}
<!---PLEASE ADD METADATA (categories, interwikis) TO THE <includeonly> SECTION AT THE BOTTOM OF THIS PAGE. EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE--->
 
This template allows for the quick creation of a [[Wikipedia:Navigation templates|navigational template]] for any group of articles which contains the names of the [[U.S. state]]s. It uses {{tlx|Navbox}} to create the navigation box.
Baris 10:
<!--sama seperti Templat:Navbox-->
|name =
|state =
|title =
|titlestyle =
|bodystyle =
|groupstyle =
<!--khusus untuk Templat:Amerika Serikat-->
|prefix =
Baris 43:
===Optional===
; ''state''
: A navbox with <code>autocollapse</code> will start out collapsed if there are two or more tables on the same page that use <ttcode>collapsible</ttcode>. If set to <code>collapsed</code>, the navbox will always start out in a collapsed state. If set to blank or anything other than <code>autocollapse</code> or <code>collapsed</code>, the navbox will always start out in an expanded state.
: Default is: <code>autocollapse</code>.
 
; ''title''
: Text that appears centered in the titlebar (the top bar). This is optional because the use of either ''prefix'', ''suffix'' or both will automatically generate a title if the ''title'' parameter is not supplied. This parameter is not automatically [[wikitext|wiki-link]]edwikilinked. For example: <code><span style="white-space:nowrap;"><nowiki>title = [[List of rivers of the United States|Rivers in the United States]]</nowiki></span></code> generates the title '''[[List of rivers of the United States|Rivers in the United States]]'''.
 
:; ''navbar''<nowiki>*</nowiki>
Baris 85:
: Replace "Washington, D.C." in links with specified text, i.e. "District of Columbia" or "the District of Columbia".
:: <code>| DC = District of Columbia</code>
 
; ''GA''
: Replace "Georgia (U.S. state)" in links with specified text, i.e. "Georgia".
Baris 104:
:: <code>titlestyle = background: blue;</code>
:Default is: <code><span style="background: #ccccff;">background: #ccccff;</span></code>
 
; ''bodystyle''
: Specifies CSS values to apply to the entire template. This will not override the following {{tl|Navbox}} default styles:
Baris 115:
; ''belowstyle''
: Specifies CSS values to apply to the cell specified via the ''above'' and ''below'' parameters. For instance:
:: <code>belowstyle = border-top: #ccccff 1px solid;</code>
:Default is: <code><span style="background: #ddddff;">background: #ddddff;</span></code>
 
; ''groupstyle''
: Specifies CSS values to apply to the cells specified via the ''group<sub>n</sub>'' cells. This option overrides any styles that are applied to the entire table. Example:
:: <code>groupstyle = background:#6AFB92; vertical-align:top;</code>
:Default is: <code><span style="background: #ddddff;">background: #ddddff;</span> text-align:right; white-space:nowrap;</code>
 
; ''liststyle''
: Specifies CSS values to apply to the cells specified via the ''list<sub>n</sub>'' cells. This option overrides any styles that are applied to the entire table. Examples:
:: <code>liststyle = padding: 5px 10px 5px 10px;</code>
:Default is: <code>width:100%; font-size:95%;</code>
 
Baris 149:
|titlestyle = background: #64E986;
|groupstyle = background: #6AFB92; vertical-align: top;
|prefix = Daftar bandar udara di
|WA = Washington
|exclude-wdc = y
Baris 160:
|titlestyle = background: #64E986;
|groupstyle = background: #6AFB92; vertical-align: top;
|prefix = Daftar bandar udara di
|WA = Washington
|exclude-wdc = y
Baris 196:
<pre>
{{Amerika Serikat
|title = [[List of rivers of the United States|Rivers in the United States]]
|prefix = List of
|suffix = _rivers
Baris 221:
| title = [[National Guard of the United States|National Guard]] in the [[United States]]
| group5 = {{nowrap|[[Federal district]]<br/>and [[insular area|territories]]}}
| list5 = [[District of Columbia National Guard|District of Columbia]]{{·}} [[Puerto Rico National Guard|Puerto Rico]]{{·}} [[Virgin Islands National Guard|U.S.&nbsp;Virgin&nbsp;Islands]]
<!-- specific to Template: United States topic -->
| suffix = _National Guard
Baris 235:
| title = [[National Guard of the United States|National Guard]] in the [[United States]]
| group5 = {{nowrap|[[Federal district]]<br/>and [[insular area|territories]]}}
| list5 = [[District of Columbia National Guard|District of Columbia]]{{·}} [[Puerto Rico National Guard|Puerto Rico]]{{·}} [[Virgin Islands National Guard|U.S.&nbsp;Virgin&nbsp;Islands]]
<!-- specific to Template: United States topic -->
| suffix = _National Guard
Baris 251:
<!--sama seperti Templat:Navbox-->
| name = {{subst:PAGENAME}}
|title=[[Daftar rumah sakit di Amerika Serikat|Daftar rumah sakit]] di [[Amerika Serikat]]
<!--khusus untuk Templat:Amerika Serikat-->
| prefix = Daftar rumah sakit di
Baris 268:
| state = uncollapsed
| name = Amerika Serikat/doc
|title=[[Daftar rumah sakit di Amerika Serikat|Daftar rumah sakit]] di [[Amerika Serikat]]
<!--khusus untuk Templat:Amerika Serikat-->
| prefix = Daftar rumah sakit di
Baris 326:
<includeonly>
[[Kategori:Templat Amerika Serikat| ]]
[[Kategori:Templat pembagian administratif Amerika Serikat| ]]
[[Kategori:Templat menurut negara bagian di Amerika Serikat| ]]
 
[[en:Template:United States topic]]
</includeonly>