无编辑摘要 |
小无编辑摘要 |
||
(未显示同一用户的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| | | 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,'|', | | 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> |