Template:Tech:修订间差异

无编辑摘要
无编辑摘要
 
(未显示同一用户的5个中间版本)
第1行: 第1行:
<includeonly><span style="{{#Switch: {{{1}}}
<includeonly><span style="{{#Switch: {{{1}}}
| acquire = color:#CE7C00;
| danger = color:#D30000;
| rare = color:#8900CE;
| repeat = color:#0078CE;
| start = color:green;
<!-- old -->
| debris = color:#CE7C00;
| rare2 = color:#008080;
| start = color:#00CE56;
"}}>'''{{#Switch: {{#uc:{{{2}}} }}
| 起始
| Starter=起始
| 获取
| 获取
| Acquisition= 获取
| acquire = color:#CE7C00;font-weight: bold;
| 危险
| danger = color:#D30000;font-weight: bold;
| 稀有
| 稀有
| Rare= 稀有
| rare = color:#8900CE;font-weight: bold;
危险
重复
| Dangerous= 危险
| repeat = color:#0078CE;font-weight: bold;
可重复
初始
| Repeatable= 可重复
| start = color:green;font-weight: bold;
| #default={{#cargo_query:
<!-- old -->
| debris = color:#CE7C00;font-weight: bold;
| rare2 = color:#008080;font-weight: bold;
| start = color:#00CE56;font-weight: bold;
"}}>{{#cargo_query:
| tables= GLOSSARY
| tables= GLOSSARY
| where = GLOSSARY.en = "{{{2|battleships}}}" OR GLOSSARY.cn = "{{{2|1000}}}" OR GLOSSARY.id = "{{{2|1}}}"  OR GLOSSARY.alias1 = "{{{2|1000}}}"  OR GLOSSARY.alias2 = "{{{2|1000}}}"  OR GLOSSARY.alias3 = "{{{2|1000}}}"  OR GLOSSARY.alias4 = "{{{2|1000}}}" <> 0
| where = GLOSSARY.en = "{{{2|battleships}}}" OR GLOSSARY.cn = "{{{2|1000}}}" OR GLOSSARY.id = "{{{2|1}}}"  OR GLOSSARY.alias1 = "{{{2|1000}}}"  OR GLOSSARY.alias2 = "{{{2|1000}}}"  OR GLOSSARY.alias3 = "{{{2|1000}}}"  OR GLOSSARY.alias4 = "{{{2|1000}}}" <> 0
第27行: 第21行:
| named args = no
| named args = no
| template = ruby
| template = ruby
}} }}'''</span></includeonly><noinclude>{{template doc}}[[Category:模板]]</noinclude>
| default = {{{2}}}
}}</span></includeonly><noinclude>{{template doc}}[[Category: 解析器 模板]]</noinclude>

2022年3月31日 (四) 03:44的最新版本

[查看] [编辑]Template-info.png 模板文档

此模板将参数加粗并着色,以表示它与其他科技不同。

现在支持查询科技ID和中英文名称,如果没有查询结果,则直接输出第二参数。

用法[编辑源代码]

语法:
{{tech|样式|科技名}}
样式 用于 例子
acquire 科技只能通过事件或者碎片分析获取 变形虫育种计划Amoeba Breeding Program
danger 危险科技可能激怒其他帝国以及触发终末危机 灵能跃迁引擎Psi Jump Drives
rare 稀有科技 择优血脉Selected Lineages
repeat 可重复科技(最终科技) 神经抑制器Nerve Dampeners
start 开局科技 水培农业Hydroponics Farming