Template:G:修订间差异

无编辑摘要
无编辑摘要
 
(未显示同一用户的4个中间版本)
第1行: 第1行:
{{#cargo_query:
{{#cargo_query:
| tables= GLOSSARY
| tables= GLOSSARY
| where = GLOSSARY.en = "{{{1|battleships}}}" OR GLOSSARY.cn = "{{{1|1000}}}" OR GLOSSARY.id = "{{{1|1}}}"  OR GLOSSARY.alias1 = "{{{1|1000}}}"  OR GLOSSARY.alias2 = "{{{1|1000}}}"  OR GLOSSARY.alias3 = "{{{1|1000}}}"  OR GLOSSARY.alias4 = "{{{1|1000}}}" <> 0
| where = (GLOSSARY.alias1 IS NULL AND GLOSSARY.en = "{{{1|battleships}}}") OR GLOSSARY.cn = "{{{1|1000}}}" OR GLOSSARY.id = "{{{1|pm_null}}}"  OR GLOSSARY.alias1 = "{{{1|1000}}}"  OR GLOSSARY.alias2 = "{{{1|1000}}}"  OR GLOSSARY.alias3 = "{{{1|1000}}}"  OR GLOSSARY.alias4 = "{{{1|1000}}}" <> 0
| fields = CONCAT('[[File :',GLOSSARY.image,'|',GLOSSARY.cn,' ',GLOSSARY.en,'|{{{w|{{{2|x24px}}}}}}|link=',GLOSSARY.link,']] ')
| fields = IF(SUBSTRING(id,1,3)='pm_',
CONCAT('{{Planet_modifier|image=',image,'|',GLOSSARY.alias4,','|link=',link,'|w={{{w|{{{2|24px}}}}}}', '}}'),
CONCAT('[[File:',IF(GLOSSARY.image IS NOT NULL,image,CONCAT(en,'.png')),'|',IF(cn IS NOT NULL,cn,''),' ',IF(en IS NOT NULL,en,''),'|{{{w|{{{2|x24px}}}}}}|link=',IF(link IS NOT NULL,link,''),']]')
)
|default={{icon|{{{1}}}}}
}}<noinclude>[[Category:解析器模板]]{{template doc}}</noinclude>
}}<noinclude>[[Category:解析器模板]]{{template doc}}</noinclude>

2022年4月12日 (二) 22:41的最新版本

Pm unknown.pngPm frame 1.png、​ 战列舰 Battleships

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