搜索
切换搜索
切换菜单
切换个人菜单
查看“模板:道路信息”的源代码
来自临东市服务器Wiki
阅读
查看源代码
查看历史
模板
讨论
更多操作
←
模板:道路信息
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
<includeonly> <div class="infobox"> <div class="infobox__pic"> <div style="width:300px;height: 75px;border-radius: 7px;overflow: hidden;background-color:white"> <div style="background-color:{{#switch:{{{Type}}}|street=#1e892c|scenery=#5d390b|#004796}};height:48px;display:flex;justify-content:space-between;align-items:center;"><div style="width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2em; font-weight: bold; position: relative;"><div style="position: absolute; top: 0; left:0; width: 0; height: 0; border-top: 20px solid transparent; border-bottom: 20px solid transparent; border-right: 10px solid white; margin-left: 10px;"></div><span style="height:20px;display:flex;align-items:center;padding-right:2px;margin-left:2px;z-index: 1;font-size:10px;background-color:white;color:{{#switch:{{{Type}}}|street=#1e892c|scenery=#5d390b|#004796}}">'''{{#switch:{{{Type}}}|street=北|西}}'''</span></div><span style="width:210px;color:white;font-size:32px;text-align-last:justify;letter-spacing:-2.5px;">''' {{{Name|{{PAGENAME}}}}} '''</span><div style="width:40px;height:40px;display:flex;align-items:center; justify-content:center;color:white;font-size:1.2em;font-weight:bold;position: relative;"><span style="height:20px;display:flex;align-items:center;padding-left:2px;z-index: 1;font-size:10px;background-color:white;color:{{#switch:{{{Type}}}|street=#1e892c|scenery=#5d390b|#004796}}">{{#switch:{{{Type}}}|street=南|东}}</span><div style="position: absolute; top: 0; left: 12px; width: 0; height: 0; border-top: 20px solid transparent; border-bottom: 20px solid transparent; border-left: 10px solid white; margin-left: 10px;"></div> </div></div> <div style="height:24px;color:{{#switch:{{{Type}}}|street=#1e892c|scenery=#5d390b|#004796}};display:flex;justify-content:space-between;align-items:center;font-size:18px;line-height:1"><span style="width: 28px;text-align: right;">'''{{#switch:{{{Type}}}|street=N|W}}'''</span><span style="letter-spacing:-0.6px">'''{{{EngName|}}}'''</span><span style="width: 24px;text-align: left;margin-left:4px">'''{{#switch:{{{Type}}}|street=S|E}}'''</span></div> </div> </div> {{#if:{{{Pic|}}}|<div class="infobox__pic">[[File:{{{Pic}}}]]</div>}} <div class="infobox-table"> {{#if:{{{OldName|}}}|<div class="infobox-col-1 infobox-table__box"><div class="infobox__title">旧名</div><div class="infobox__label">{{{OldName}}}</div></div>}} <div class="infobox-col-2 infobox-table__box"><div class="infobox__title">全长</div><div class="infobox__label">{{{Length|}}}</div></div> <div class="infobox-col-2 infobox-table__box"><div class="infobox__title">车道数</div><div class="infobox__label">{{{Lane|}}}</div></div> <div class="infobox-col-2 infobox-table__box"><div class="infobox__title">设计时速</div><div class="infobox__label">{{{Spd|}}}</div></div> <div class="infobox-col-2 infobox-table__box"><div class="infobox__title">通车时间</div><div class="infobox__label">{{{Time|}}}</div></div> </div></div><templatestyles src="模板:企业信息/style.css" />[[Category:交通]][[Category:道路]]</includeonly> <noinclude> ==用法示例== 代码示例: <nowiki>{{道路信息</nowiki> <nowiki>|Pic = Nav-文化.png <!--相关图片,无需添加中括号和File:前缀,如没有图需要移除此行--></nowiki> <nowiki>|Name = 道路信息<!--道路名称,移除此行默认显示条目标题--></nowiki> <nowiki>|EngName = DAOLU XINXI <!--路名拼音--></nowiki> <nowiki>|Type = street <!--道路种类,用来决定标识牌配色:street对应绿色,scenery对应棕色,其余对应蓝色--></nowiki> <nowiki>|OldName = OldName <!--道路旧称--></nowiki> <nowiki>|Length = 2.5km <!--道路全长--></nowiki> <nowiki>|Lane = 双向8车道 <!--车道数--></nowiki> <nowiki>|Spd = 60km/h <!--设计时速--></nowiki> <nowiki>|Time = 2024年8月 <!--通车时间--></nowiki> <nowiki>}}</nowiki> 对应效果: {{道路信息 |Pic = Nav-文化.png |Type = street |EngName = DAOLU XINXI |OldName = OldName |Length = 2.5km |Lane = 双向8车道 |Spd = 60km/h |Time = 2024年8月 }} </noinclude>
本页使用的模板:
模板:企业信息/style.css
(
查看源代码
)
模板:道路信息
(
查看源代码
)
返回
模板:道路信息
。