嗨,这不是问题
我找到了一种使表格看起来像MediaWiki中的过程的方法
它不能代替真实的过程,但是很容易添加到您的mediawiki中,它可以为最终用户提供简单的过程
编辑此页面:MediaWiki:Common.css
并通过此CSS
.processus
{
border-spacing:14px;
text-align:center;
empty-cells:hide;
}
.processus td
{
border:2px solid #004d00;
border-radius: 25px;
background: #e6ffe6;
padding-top: 20px;
padding-bottom:0px;
padding-right: 20px;
padding-left:20px;
width:400px;
vertical-align:bottom;
}
.processus ul
{
list-style-position:inside;
}
.processus th
{
border-radius: 25px;
background: #AAAAAA;
font-weight: normal;
padding:20px;
vertical-align: top;
width:400px;
}
.processus td:empty
{
display:none;
}
.processus td:after
{
content: "";
background: linear-gradient(180deg, red, red);
background-position: 50%;
background-repeat: repeat-y;
background-size: 3px auto;
text-align: center;
font-size: 20px;
color: red;
font-weight: bold;
width: 100%;
height: 20px;
margin: 0 auto;
border-bottom: 3px solid red;
display: block;
position: relative;
z-index: -1;
top: 25px;
}
创建表(在过程结束时使用TH) 并将类“ wikitable”更改为“ processus”
这将使您的桌子看起来像这样