打开/关闭菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:StationInfo:修订间差异

来自CitiZons Wiki
创建页面,内容为“<table style="float: right; clear: right; width: 22em; margin: 0 0 1em 1em; border: 1px solid #a2a9b1; background-color: #f9f9f9; border-collapse: collapse; font-size: 90%; text-align: left;"> <!-- 1. 车站名称 --> <tr> <td colspan="2" style="text-align: center; font-size: 115%; font-weight: bold; padding: 4px;">{{{车站名称|{{PAGENAME}}}}}</td> </tr> <!-- 2. 车站英文名 --> {{#if:{{{车站英文名|}}}| <tr> <td colspan="2"…”
 
修正格式
第20行: 第20行:
   }}
   }}
    
    
   <!-- 4. 线路颜色横线 (支持填入颜色代码如 #abcdef,如果有多条线,可以用 CSS 渐变色,例如:linear-gradient(to right, #c83838 50%, #004b87 50%)) -->
   <!-- 4. 线路颜色横线 (两侧留白) 如果有多条线,可以用 CSS 渐变色,例如:linear-gradient(to right, #c83838 50%, #004b87 50%) -->
   {{#if:{{{线路颜色|}}}|
   {{#if:{{{线路颜色|}}}|
   <tr>
   <tr>
     <td colspan="2" style="height: 6px; background: {{{线路颜色}}}; padding: 0;"></td>
     <td colspan="2" style="padding: 0 5px;">
      <div style="height: 6px; background: {{{线路颜色}}}; width: 100%;"></div>
    </td>
   </tr>
   </tr>
   }}
   }}
第40行: 第42行:
   {{#if:{{{位置|}}}|
   {{#if:{{{位置|}}}|
   <tr>
   <tr>
     <th style="padding: 4px 8px; width: 35%; text-align: left; vertical-align: top; font-weight: normal;">位置</th>
     <th style="padding: 4px 8px; width: 35%; text-align: left; vertical-align: top; font-weight: bold;">位置</th>
     <td style="padding: 4px 8px; vertical-align: top;">{{{位置}}}</td>
     <td style="padding: 4px 8px; vertical-align: top;">{{{位置}}}</td>
   </tr>
   </tr>
第46行: 第48行:
   {{#if:{{{运营者|}}}|
   {{#if:{{{运营者|}}}|
   <tr>
   <tr>
     <th style="padding: 4px 8px; text-align: left; vertical-align: top; font-weight: normal;">运营者</th>
     <th style="padding: 4px 8px; text-align: left; vertical-align: top; font-weight: bold;">运营者</th>
     <td style="padding: 4px 8px; vertical-align: top;">{{{运营者}}}</td>
     <td style="padding: 4px 8px; vertical-align: top;">{{{运营者}}}</td>
   </tr>
   </tr>
第52行: 第54行:
   {{#if:{{{途经线路|}}}|
   {{#if:{{{途经线路|}}}|
   <tr>
   <tr>
     <th style="padding: 4px 8px; text-align: left; vertical-align: top; font-weight: normal;">途经线路</th>
     <th style="padding: 4px 8px; text-align: left; vertical-align: top; font-weight: bold;">途经线路</th>
     <td style="padding: 4px 8px; vertical-align: top;">{{{途经线路}}}</td>
     <td style="padding: 4px 8px; vertical-align: top;">{{{途经线路}}}</td>
   </tr>
   </tr>
第60行: 第62行:
   {{#if:{{{站体类型|}}}{{{出口数目|}}}{{{站台|}}}{{{股道|}}}|
   {{#if:{{{站体类型|}}}{{{出口数目|}}}{{{站台|}}}{{{股道|}}}|
   <tr>
   <tr>
     <td colspan="2" style="background-color: #e5e5e5; text-align: center; font-weight: bold; padding: 4px; border-top: 1px solid #c8ccd1;">车站构造</td>
     <td colspan="2" style="padding: 0 5px;">
      <div style="background-color: #e5e5e5; text-align: center; font-weight: bold; padding: 4px; border-top: 1px solid #c8ccd1;">车站构造</div>
    </td>
   </tr>
   </tr>
   }}
   }}
   {{#if:{{{站体类型|}}}|
   {{#if:{{{站体类型|}}}|
   <tr>
   <tr>
     <th style="padding: 4px 8px; text-align: left; vertical-align: top; font-weight: normal;">站体类型</th>
     <th style="padding: 4px 8px; text-align: left; vertical-align: top; font-weight: bold;">站体类型</th>
     <td style="padding: 4px 8px; vertical-align: top;">{{{站体类型}}}</td>
     <td style="padding: 4px 8px; vertical-align: top;">{{{站体类型}}}</td>
   </tr>
   </tr>
第71行: 第75行:
   {{#if:{{{出口数目|}}}|
   {{#if:{{{出口数目|}}}|
   <tr>
   <tr>
     <th style="padding: 4px 8px; text-align: left; vertical-align: top; font-weight: normal;">出口数目</th>
     <th style="padding: 4px 8px; text-align: left; vertical-align: top; font-weight: bold;">出口数目</th>
     <td style="padding: 4px 8px; vertical-align: top;">{{{出口数目}}}</td>
     <td style="padding: 4px 8px; vertical-align: top;">{{{出口数目}}}</td>
   </tr>
   </tr>
第77行: 第81行:
   {{#if:{{{站台|}}}|
   {{#if:{{{站台|}}}|
   <tr>
   <tr>
     <th style="padding: 4px 8px; text-align: left; vertical-align: top; font-weight: normal;">站台</th>
     <th style="padding: 4px 8px; text-align: left; vertical-align: top; font-weight: bold;">站台</th>
     <td style="padding: 4px 8px; vertical-align: top;">{{{站台}}}</td>
     <td style="padding: 4px 8px; vertical-align: top;">{{{站台}}}</td>
   </tr>
   </tr>
第83行: 第87行:
   {{#if:{{{股道|}}}|
   {{#if:{{{股道|}}}|
   <tr>
   <tr>
     <th style="padding: 4px 8px; text-align: left; vertical-align: top; font-weight: normal;">股道</th>
     <th style="padding: 4px 8px; text-align: left; vertical-align: top; font-weight: bold;">股道</th>
     <td style="padding: 4px 8px; vertical-align: top;">{{{股道}}}</td>
     <td style="padding: 4px 8px; vertical-align: top;">{{{股道}}}</td>
   </tr>
   </tr>
第91行: 第95行:
   {{#if:{{{建设状态|}}}|
   {{#if:{{{建设状态|}}}|
   <tr>
   <tr>
     <td colspan="2" style="background-color: #e5e5e5; text-align: center; font-weight: bold; padding: 4px; border-top: 1px solid #c8ccd1;">其他信息</td>
     <td colspan="2" style="padding: 0 5px;">
      <div style="background-color: #e5e5e5; text-align: center; font-weight: bold; padding: 4px; border-top: 1px solid #c8ccd1;">其他信息</div>
    </td>
   </tr>
   </tr>
   <tr>
   <tr>
     <th style="padding: 4px 8px; text-align: left; vertical-align: top; font-weight: normal;">建设状态</th>
     <th style="padding: 4px 8px; text-align: left; vertical-align: top; font-weight: bold;">建设状态</th>
     <td style="padding: 4px 8px; vertical-align: top;">{{{建设状态}}}</td>
     <td style="padding: 4px 8px; vertical-align: top;">{{{建设状态}}}</td>
   </tr>
   </tr>
第102行: 第108行:
   {{#if:{{{启用日期|}}}|
   {{#if:{{{启用日期|}}}|
   <tr>
   <tr>
     <td colspan="2" style="background-color: #e5e5e5; text-align: center; font-weight: bold; padding: 4px; border-top: 1px solid #c8ccd1;">历史</td>
     <td colspan="2" style="padding: 0 5px;">
      <div style="background-color: #e5e5e5; text-align: center; font-weight: bold; padding: 4px; border-top: 1px solid #c8ccd1;">历史</div>
    </td>
   </tr>
   </tr>
   <tr>
   <tr>
     <th style="padding: 4px 8px; text-align: left; vertical-align: top; font-weight: normal;">启用日期</th>
     <th style="padding: 4px 8px; text-align: left; vertical-align: top; font-weight: bold;">启用日期</th>
     <td style="padding: 4px 8px; vertical-align: top;">{{{启用日期}}}</td>
     <td style="padding: 4px 8px; vertical-align: top;">{{{启用日期}}}</td>
   </tr>
   </tr>
第113行: 第121行:
   {{#if:{{{上一站|}}}{{{下一站|}}}|
   {{#if:{{{上一站|}}}{{{下一站|}}}|
   <tr>
   <tr>
     <td colspan="2" style="background-color: #e5e5e5; text-align: center; font-weight: bold; padding: 4px; border-top: 1px solid #c8ccd1;">相邻车站</td>
     <td colspan="2" style="padding: 0 5px;">
      <div style="background-color: #e5e5e5; text-align: center; font-weight: bold; padding: 4px; border-top: 1px solid #c8ccd1;">相邻车站</div>
    </td>
   </tr>
   </tr>
   <tr>
   <tr>
     <td colspan="2" style="padding: 4px;">
     <td colspan="2" style="padding: 4px 5px;">
       <table style="width: 100%; text-align: center; border-collapse: collapse; background: transparent; font-size: 95%;">
       <table style="width: 100%; text-align: center; border-collapse: collapse; background: transparent; font-size: 95%;">
         <tr style="background-color: #f2f2f2;">
         <tr style="background-color: #f2f2f2;">
           <th style="width: 33%; font-weight: normal; color: #555;">上一站</th>
           <th style="width: 33%; font-weight: normal; color: #555;">上一站</th>
           <th style="width: 33%; font-weight: normal; color: #555;">路线</th>
          <!-- 这里将“路线”改为可修改的参数,默认显示“路线” -->
           <th style="width: 33%; font-weight: normal; color: #555;">{{{系统或路线名称|路线}}}</th>
           <th style="width: 33%; font-weight: normal; color: #555;">下一站</th>
           <th style="width: 33%; font-weight: normal; color: #555;">下一站</th>
         </tr>
         </tr>
第136行: 第147行:
   {{#if:{{{站线配置图|}}}|
   {{#if:{{{站线配置图|}}}|
   <tr>
   <tr>
     <td colspan="2" style="padding: 0; border-top: 1px solid #c8ccd1;">
     <td colspan="2" style="padding: 0 5px; border-top: 1px solid #c8ccd1;">
       <div class="mw-collapsible mw-collapsed" style="width: 100%;">
       <div class="mw-collapsible mw-collapsed" style="width: 100%;">
         <div style="background-color: #e5e5e5; text-align: center; font-weight: bold; padding: 4px;">站线配置图</div>
         <div style="background-color: #e5e5e5; text-align: center; font-weight: bold; padding: 4px;">站线配置图</div>

2026年9月18日 (五) 17:25的版本

StationInfo