Plantilia:Hidden begin
Dokumentasion ti plantilia
Sintaksis
urnosen{{Hidden begin | expanded = <!--"true", "on", yes", kdpy, no saan di inayon--> | showhide = <!--"left", no saan di inayon--> | class = | style = | border = | title = | titlestyle = | bg1 = | ta1 = | contentstyle = | bg2 = | ta2 = <!--nadadaan, dagiti semi-nasukatan a parametro:--> | header = | extra1 = | extra2 = }} <!----[ikabil ti mailemmengto a linaon ditoy]----> {{Hidden end}}
Dagiti parametro
urnosenParameter | Description |
---|---|
showhide | Set to "left" (without speechmarks) to switch the [show/hide] link's position from the righthand end of the titlebar (default) to the left. |
expanded | Set to anything ("true", "yes", etc.) to switch the hidden section's initial state from collapsed (hidden) to expanded (visible). |
class | Class attribute affecting entire area. |
style | CSS styling affecting entire area (titlebar and hidden/hideable content). |
border | CSS styling for border around entire area. Will be overridden by any border styles in style. |
title | Text shown in titlebar. |
titlestyle | CSS styles to apply to the titlebar (e.g. |titlestyle=border:1px solid lightgrey; to produce a border around it; |titlestyle=background:color; to set its background color to color ; |titlestyle=text-align:[center/right]; to switch its text (title)'s alignment from left to center or right; etc.).
|
bg1 | Background color for titlebar; defaults to transparent. May be overridden if titlestyle includes anything changes the background. |
ta1 | Text alignment for titlebar; defaults to left. May be overridden if titlestyle includes anything that changes the text alignment. |
contentstyle | CSS styling to apply to the hidden/hideable content (e.g. background and text-align, per titlestyle). |
bg2 | Background color for content; defaults to transparent. May be overridden if contentstyle includes anything changes the background. |
ta2 | Text alignment for content; defaults to left. May be overridden if contentstyle includes anything that changes the text alignment. |
Dagiti pagarigan
urnosenPagarigan 1
urnosen{{Hidden begin |title=Kasisigud a pagarigan}} * def * ghi {{Hidden end}}
Kasisigud a pagarigan
- def
- ghi
Pagarigan 2
urnosen{{Hidden begin | titlestyle = background:pink; | title = ''titlestyle'' ket "background:pink;" }} * def * ghi {{Hidden end}}
titlestyle ket "background:pink;"
- def
- ghi
Pagarigan 3
urnosen{{Hidden begin | titlestyle = background:pink; text-align:center; | title = nanayonan ti "text-align:center;" }} * def * ghi {{Hidden end}}
nanayonan ti "text-align:center;"
- def
- ghi
Pagarigan 4
urnosen{{Hidden begin | titlestyle = background:pink; text-align:right; padding-right:3.0em; | title = ''title'' iti kanawan nga agraman iti 3.0em padding }} * binaliwan ti kaakaba ti tawa ken * kitaen ti pannakailinia ti titulo {{Hidden end}}
title iti kanawan nga agraman iti 3.0em padding
- binaliwan ti kaakaba ti tawa ken
- kitaen ti pannakailinia ti titulo
Pagarigan 5
urnosen{{Hidden begin |showhide=left |expanded=true | titlestyle = background:palegreen; | title = naisaad ti ''showhide'' iti "left" ke naisaad ti ''expanded'' iti "true" }} * def * ghi {{Hidden end}}
naisaad ti showhide iti "left" ke naisaad ti expanded iti "true"
- def
- ghi
Pagarigan 6
urnosen{{Hidden begin |showhide=left | titlestyle = background:palegreen; | title = <code style="background:transparent;">showhide=left</code>, ti kadakkel ti nailemmeng a linaon ket 150% ken napuskol (''contentstyle'') | contentstyle = font-size:150%; font-weight:bold; }} * def * ghi {{Hidden end}}
showhide=left
, ti kadakkel ti nailemmeng a linaon ket 150% ken napuskol (contentstyle)- def
- ghi
Pagarigan 7
urnosen{{Hidden begin | header = [''header'' (nasukatanen)] | titlestyle = font-style:italic; padding-right:3.0em; | title = [ti ''title'' ket naisaad iti daytoy a teksto] | border = 1px solid grey | bg1 = palegreen | ta1 = right | extra1 = font-size:120%; <!--semicolon required since titlestyle is used--> | extra2 = font-size:150% <!--semicolon optional when contentstyle not used--> }} * aramiden nga ak-akikid iti tawa ken * agbalkot ti titulo {{Hidden end}}
[header (nasukatanen)][ti title ket naisaad iti daytoy a teksto]
- aramiden nga ak-akikid iti tawa ken
- agbalkot ti titulo
Pagarigan 8
urnosen{{Hidden begin | titlestyle = | title = title with non-breaking spaces | border = 1px solid red | bg1 = cyan | bg2 = yellow | ta1 = right | ta2 = left | extra1 = font-size:120%; padding-right:2.5em; | extra2 = font-size:150%; padding-left:3.0em; }} * def ... dagitoy ket nasken nga addaan iti left padding * ghi {{Hidden end}}
title with non-breaking spaces
- def ... dagitoy ket nasken nga addaan iti left padding
- ghi
Kitaen pay
urnosen- Dagiti baw-ing − no adda, dagiti sabali a nagan daytoy a plantilia a mabalin a mausar
- {{Hidden}}