变异是什么意思| 憧憬未来是什么意思| 为什么会得淋巴肿瘤| 女生的名字叫什么好听| 木瓜有什么功效| 人设是什么意思| 便秘喝什么茶润肠通便| 吃brunch是什么意思啊| 过敏喝什么药| 化妆水是干什么用的| 52年属什么| 晚上睡不着觉吃什么药| sr是什么意思| 为什么会得尿毒症| 为什么叫马路| 腹膜透析是什么意思| pm2.5是什么| 牙齿发黄是什么原因| 小孩感冒挂什么科| 闭经吃什么药| 脑彩超能检查出什么| 雪芽是什么茶| 河粉为什么叫河粉| 眼皮跳什么预兆| 孙楠留什么给你| vs是什么牌子| 七星瓢虫吃什么| 王火火念什么| 谁的尾巴有什么作用| 做梦梦见钓鱼是什么意思| 家长里短是什么意思| 高晓松为什么进监狱| 吃什么能胖起来| 45岁属什么的生肖| 无锡机场叫什么名字| 冬眠灵是什么药| 档案自由可投什么意思| 来月经拉肚子是什么原因| 肝肿大是什么原因| 突然血糖高是什么原因引起的| 心律不齐吃什么药| 4月25号是什么星座| 得理不饶人什么意思| 脾胃科主要看什么| 被动是什么意思| 蚕豆病不能吃什么药| 颌下淋巴结肿大吃什么药| 经常放屁是什么原因| 洧是什么意思| 儿童发育过早应该挂什么科| 得济是什么意思| 四叶草代表什么| 吃什么掉秤快| 银鱼是什么鱼| 孕妇吃香蕉对胎儿有什么好处| deep是什么意思| 托人办事送什么礼物较好| 口酸吃什么药| 跳跳糖为什么会跳| 肩膀痛应该挂什么科| 长期便秘是什么原因| 头晕四肢无力是什么原因| 8000年前是什么朝代| 左眼皮跳跳好事要来到是什么歌| 导管子是什么意思| 有毒是什么意思| 心慌气短是什么原因| 反射弧是什么意思| 荨麻疹抹什么药| 神经痛吃什么药| 啤酒不能和什么一起吃| 什么茶不影响睡眠| 同型半胱氨酸高吃什么| 发生什么事| animals什么意思| 脐橙是什么意思| 辟邪剑谱和葵花宝典有什么关系| 防中暑喝什么水| 简单明了是什么意思| 有什么水能代替美瞳水| 嘴唇干燥是什么原因引起的| 胰管扩张是什么意思| 霍乱时期的爱情讲的是什么| 胃寒可以吃什么水果| 渐冻症是什么| 04年属猴的是什么命| 柠檬茶喝了有什么好处| 高考早点吃什么好| 首长是什么级别| 爬行对身体有什么好处| 什么的窟窿| 为什么支气管炎咳嗽长期不好| 入职体检挂什么科| 任然什么意思| 老人流口水是什么原因| 剁椒鱼头是什么鱼头| 鸟字旁的字大多和什么有关| 外阴瘙痒用什么洗| 初检检查什么| 甘油是什么| 什么情况下会宫外孕| 白色和什么颜色搭配最好看| 钦点是什么意思| 鹿的部首是什么| 小朋友坐飞机需要什么证件| 鱼露可以用什么代替| 喉咙干咳嗽是什么原因| 真太阳时是什么意思| 覆盆子是什么东西| 塞上是什么意思| 羊后马前对是什么生肖| 坐骨神经痛吃什么药快| 梦到挖坟墓是什么意思| 肾阴虚吃什么食物最好| c是什么牌子| 男性全身皮肤瘙痒是什么原因| 身体内热是什么原因| 1004是什么星座| 红斑狼疮是什么症状| 挂彩是什么意思| 什么叫便秘| 回复是什么意思| 出类拔萃是什么意思| 煮毛豆放什么调料好吃| 什么病不能吃阿胶| 触媒是什么意思| 胖次是什么意思| 心房扑动是什么意思| 寿司醋可以用什么代替| 覆盆子有什么功效| 急性肠胃炎应该吃什么药| 女生是t是什么意思| 中堂相当于现在什么官| 刘邦为什么杀韩信| 抄手是什么| 夜半是什么时辰| 胆囊炎可以吃什么水果| 日照有什么特产| tf是什么意思| 7月8日什么星座| 吃什么可以控制血糖| 司是什么级别| 射手座和什么星座最配| 翻毛皮是什么材质| 吃什么可以拉肚子| 穿刺和活检有什么区别| 蜕膜是什么| 虾和什么蔬菜搭配最好| 温饱是什么意思| 情感细腻是什么意思| 风湿类风湿有什么区别| 发改委主任什么级别| 十月九号什么星座| l表示什么单位| 地藏菩萨的坐骑是什么| 刘备和刘邦什么关系| 以马内利什么意思| 什么人适合喝三七粉| 宫颈管短是什么意思| 盛情款待是什么意思| 喜欢闻汽油味是什么原因| 桂花是什么季节开的| 角膜炎滴什么眼药水| 飒什么意思| 属虎的幸运色是什么颜色| 缺钠是什么原因造成的| 口吃是什么意思| 血糖高吃什么水果好| 梦见和死人说话是什么意思| 网名叫什么好听| 苏麻为什么不嫁给康熙| 发烧呕吐吃什么药| 徒然是什么意思| 什么是黄色视频| 姥姥的妈妈叫什么| 梁下放床有什么禁忌| hcy是什么检查项目| 月经来了一点就没了是什么原因| 手臂内侧是什么经络| 红花和藏红花有什么区别| h1是什么意思| 鸡痘用什么药效果好| apm是什么品牌| 什么是耦合| 桃是什么生肖| 中性粒细胞偏低是什么原因| 牦牛角手串有什么作用| 五月初六是什么星座| 一国两制是什么时候提出的| doki是什么意思| 韩世忠为什么不救岳飞| 尿毒症的尿是什么颜色| 脑梗适合吃什么水果| 胆囊炎是什么原因引起的| 吃鸭蛋有什么好处和坏处| 35年属什么生肖| 什么像什么什么| 鱼龙是什么| 感觉不到饿是什么原因| 老过敏是缺什么维生素| 什么是正方形| 梦见小孩生病什么预兆| 柠檬不能和什么一起吃| 女性经常手淫有什么危害| chihiro是什么意思| 氯化钙是什么| 门第什么意思| 西洋菜是什么菜| 出来混迟早要还的什么意思| 什么样的风景| 棕色用什么颜色调出来| 流产后吃什么补身体| 高凝状态是什么意思| 天秤男喜欢什么样的女生| 87年是什么年| 寄生是什么意思| 什么药可以缩阴紧致| 刀口力念什么| 孕中期同房要注意什么| 血糖高什么东西不能吃| 深水炸弹是什么| 焦虑症吃什么中成药| 各什么各什么| 脉搏跳得快是什么原因| 菊花茶和枸杞一起泡水有什么好处| 梦见洗头是什么预兆| 房间里放什么阳气旺| 南方有什么生肖| 同房出血是什么原因| 白带发黄是什么原因| 用盐水洗脸有什么效果| 这是什么虫| 乳腺囊肿吃什么药| 发烧后头疼是什么原因| 12月有什么节日| 胡子长的快是什么原因| 摄影三要素是什么| 吸入物变应原筛查是什么| 邓超的公司叫什么名字| 糖化血红蛋白是什么意思| 舌裂纹吃什么可以恢复| 咳绿痰是什么原因| 什么时候浇花最好| hib是什么疫苗| 属龙和什么属相相冲| 梦到吃肉是什么意思周公解梦| 肠手术后吃什么恢复快| 呼和浩特有什么特产| 为什么北极没有企鹅| 喜用神是什么意思| 茶叶渣属于什么垃圾| 容易出汗是什么问题| 呼吸困难胸闷气短挂什么科| 白话文是什么意思| 经常犯困是什么原因| 夏天怕冷是什么原因| 吃什么都是苦的是怎么回事| 朱代表什么生肖| 一带一路指的是什么| 护士还能从事什么工作| 箭在弦上是什么意思| 阳痿是什么原因造成的| 33周岁属什么生肖| 紫水晶五行属什么| 百度

【精彩回顾】政协海宁市十三届一次会议第1次全体会议

百度 这个寓言告诉我们,当涉及美貌问题,适应性会产生巨大魔力,使人们觉得自己追不到的那些吸引力非常高的人(葡萄),变得不那么吸引人了(酸了)。

A collapsible element contains a toggle a reader can use to show or hide the element's content. Elements are made collapsible by adding the mw-collapsible class, or alternatively by using the {{Collapse}} template, or its variants {{Collapse top}} and {{Collapse bottom}}.

Use of these features in article content is governed by the guidelines Wikipedia:Manual of Style § Scrolling lists and collapsible content generally, and more specifically by Wikipedia:Spoiler.

Collapsible tables

edit

The mw-collapsible class can make any element collapsible, but tables are particularly simple to make collapsible. Adding the mw-collapsible class to a table automatically positions the toggle, and selects which parts to collapse.

A common use is to make a collapsible layout table, which always displays an introduction or summary, but hides the rest of the content from immediate view. The introduction or summary is in the first row, and the content is in subsequent rows. The content is then easily accessible by using the 'show' button.

In the examples below, the use of the class wikitable is merely for appearance; it is not needed for mw-collapsible to function.

Code entered Output produced
{| role="presentation" class="wikitable mw-collapsible"
| <strong>Lorem ipsum</strong>
|-
| Lorem ipsum dolor sit amet
|}

More complex data tables can also be collapsible.

Code entered Output produced
{| class="wikitable mw-collapsible"
|+ class="nowrap" | Winter Olympic Games
|-
|
! scope="col" | City
! scope="col" | Country
|-
! scope="row" | 1994
| Lillehammer || Norway
|-
! scope="row" | 1998
| Nagano || Japan
|}
Winter Olympic Games
City Country
1994 Lillehammer Norway
1998 Nagano Japan

Collapsing by default

edit

Just using the mw-collapsible class leaves the element expanded by default, but it can be collapsed by the reader. It is also possible to make the element collapsed by default, and optionally expanded by adding other classes along with mw-collapsible. There are several methods for doing this, depending on the situations in which you want the element to collapse. However, content should not be collapsed by default per MOS:DONTHIDE.

"mw-collapsed"

edit

Adding the mw-collapsed class will cause the element to always be initially collapsed, no matter what happens around it. It is the simplest method for doing so. Using the examples above:

Code entered Output produced
{| role="presentation" class="wikitable mw-collapsible mw-collapsed"
| <strong>Lorem ipsum</strong>
|-
| Lorem ipsum dolor sit amet
|}
{| class="wikitable mw-collapsible mw-collapsed"
|+ class="nowrap" | Winter Olympic Games
|-
|
! scope="col" | City
! scope="col" | Country
|-
! scope="row" | 1994
| Lillehammer || Norway
|-
! scope="row" | 1998
| Nagano || Japan
|}
Winter Olympic Games
City Country
1994 Lillehammer Norway
1998 Nagano Japan

"autocollapse"

edit

Adding the autocollapse class causes an element to collapse if there are 2 or more collapsible elements on the page. The example below, therefore, collapses because there are numerous collapsible elements on this page.

Code entered Output produced
{| role="presentation" class="wikitable mw-collapsible autocollapse"
| <strong>Lorem ipsum</strong>
|-
| Lorem ipsum dolor sit amet
|}

"innercollapse" and "outercollapse"

edit

Using this pair of classes, it is possible to make an element collapsed by default only when it is contained within a particular outer element. An element with the mw-collapsible and innercollapse classes is collapsed by default if it is contained within an element with the outercollapse class; otherwise, it is uncollapsed by default. This is mainly useful for templates, which are often nested.

Code entered Output produced
{| role="presentation" class="wikitable mw-collapsible innercollapse"
| This <code>innercollapse</code> element is
|-
| <em>uncollapsed</em> by default
|}

<div class="wikitable outercollapse" style="padding:1em; background:#ccc;">
This is an element with the <code>outercollapse</code> class.

{| role="presentation" class="wikitable mw-collapsible innercollapse"
| This <code>innercollapse</code> element is
|-
| <em>collapsed</em> by default
|}
</div>

This is an element with the outercollapse class.

Other notes

edit

Tables with captions

edit

A table without a caption will collapse to its first row. A table with a caption will collapse to its caption, with no rows, therefore no width. Use class="nowrap" or {{nowrap}} to keep the caption from being squeezed into a vertical column when the table is collapsed.

Code entered Output produced
{|class="wikitable sortable mw-collapsible" 
|+ class="nowrap" | Somewhat long table caption
! Name !! Score
|-
| John || 59
|-
| Bob || 72
|}
Somewhat long table caption
Name Score
John 59
Bob 72

Next example uses {{nowrap}} where the end brackets become the wrap point. <style=max-width:Xem; will not work.

Code entered Output produced
{|class="wikitable sortable mw-collapsible" 
|+ {{nowrap|A longer table caption needs to wrap}} for cell phones, etc.
! Name !! Score
|-
| John || 59
|-
| Bob || 72
|}
A longer table caption needs to wrap for cell phones, etc.
Name Score
John 59
Bob 72

Sortable tables

edit

Collapsible tables can be combined with the sortable tables functionality without difficulty. However, because the hide/show button is placed with mw-collapsible in the right header cell, its positioning can look a bit peculiar if the cell is not wide enough:

Code entered Output produced
{|class="wikitable mw-collapsible sortable" style="width:5em"
<!--table width too narrow, on purpose here-->
|-
! Name !! Score
|-
| John || 59
|-
| Bob || 72
|}
Name Score
John 59
Bob 72

A possible alternative is to add a caption over the table. See the following example.

Code entered Output produced
{|class="wikitable sortable mw-collapsible" 
|+ class="nowrap" | Caption 
! Name !! Score
|-
| John || 59
|-
| Bob || 72
|}
Caption
Name Score
John 59
Bob 72

Limitations

edit
  • This functionality requires the end-user's browser to have JavaScript enabled. If JavaScript is disabled, the default behavior is to show the content.

See also

edit

Documentation:

Templates:

edit
奶奶的妈妈应该叫什么 男人下面有异味什么原因 qa和qc有什么区别 沾花惹草是什么生肖 保胎吃什么食物好
腺肌症吃什么药效果好 儿童口腔溃疡吃什么药 吊丝是什么意思 汽车abs是什么意思 躁郁症是什么
榴莲树长什么样 血脂高不能吃什么 建档是什么意思 什么原因导致高血压 困是什么意思
双鱼配什么星座 同房是什么意思 福肖指什么生肖 herry是什么意思 唐氏是什么意思
头晕应该挂什么科hcv8jop8ns9r.cn 云南白药有什么功效hcv9jop0ns7r.cn 什么蔬菜含维生素c最多hcv9jop2ns0r.cn 夏天为什么热hcv9jop4ns6r.cn 血压低压高是什么原因hcv9jop4ns0r.cn
经期吃榴莲有什么好处和坏处hcv7jop9ns4r.cn 甲状腺用什么药hcv8jop2ns5r.cn 4月7号是什么星座hcv8jop1ns9r.cn 转铁蛋白阳性什么意思hcv8jop7ns5r.cn 蟹粉是什么hcv8jop9ns3r.cn
糖尿病有什么症状hcv9jop4ns5r.cn 腺样体增生是什么意思hcv9jop2ns6r.cn 老是想吐是什么原因jasonfriends.com 作是什么意思hcv8jop7ns0r.cn 肾精亏虚是什么意思bfb118.com
拉郎配是什么意思hcv9jop5ns3r.cn 贵州有什么好玩的creativexi.com 血糖高能吃什么主食mmeoe.com 荞麦和苦荞有什么区别hcv9jop6ns8r.cn 登对是什么意思xinjiangjialails.com
百度